Home
last modified time | relevance | path

Searched refs:state_fd (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/external/bsd/ipf/dist/tools/
H A Dipfstat.c97 int state_fd = -1; variable
280 if ((state_fd = open(IPSTATE_NAME, O_RDONLY)) == -1) {
504 if ((ioctl(state_fd, SIOCGETFS, &ipfo) == -1)) {
505 ipferror(state_fd, "ioctl(state:SIOCGETFS)");
508 if (ioctl(state_fd, SIOCGETLG, &state_logging) == -1) {
509 ipferror(state_fd, "ioctl(state:SIOCGETLG)");
1147 if (ioctl(state_fd, SIOCGTABL, &obj) != 0) {
1277 showtqtable_live(state_fd);
1345 if ((ioctl(state_fd, SIOCGETFS, &ipfo) == -1)) {
1452 (void) ioctl(state_fd, SIOCIPFDELTOK, &token_type);
[all …]