Lines Matching refs:nf_sock
22 static struct nl_sock *nf_sock; variable
61 nfnl_queue_msg_send_verdict(nf_sock, lost_msg); in obj_input()
71 nfnl_queue_msg_send_verdict(nf_sock, msg); in obj_input()
93 nf_sock = nfnl_queue_socket_alloc(); in main()
94 if (nf_sock == NULL) in main()
97 nl_socket_disable_seq_check(nf_sock); in main()
98 nl_socket_modify_cb(nf_sock, NL_CB_VALID, NL_CB_CUSTOM, event_input, NULL); in main()
109 nl_cli_connect(nf_sock, NETLINK_NETFILTER); in main()
114 nfnl_queue_pf_unbind(nf_sock, family); in main()
115 if ((err = nfnl_queue_pf_bind(nf_sock, family)) < 0) in main()
137 if ((err = nfnl_queue_create(nf_sock, queue)) < 0) in main()
144 nl_socket_set_buffer_size(nf_sock, 1024*127, 1024*127); in main()
152 maxfd = nffd = nl_socket_get_fd(nf_sock); in main()
165 nl_recvmsgs_default(nf_sock); in main()