Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/ipfilter/tools/
H A Dipfstat.c62 int state_fd = -1; variable
245 if ((state_fd = open(IPSTATE_NAME, O_RDONLY)) == -1) {
469 if ((ioctl(state_fd, SIOCGETFS, &ipfo) == -1)) {
470 ipferror(state_fd, "ioctl(state:SIOCGETFS)");
473 if (ioctl(state_fd, SIOCGETLG, &state_logging) == -1) {
474 ipferror(state_fd, "ioctl(state:SIOCGETLG)");
1124 if (ioctl(state_fd, SIOCGTABL, &obj) != 0) {
1254 showtqtable_live(state_fd);
1322 if ((ioctl(state_fd, SIOCGETFS, &ipfo) == -1)) {
1429 (void) ioctl(state_fd, SIOCIPFDELTOK, &token_type);
[all …]