Lines Matching refs:nl
10 struct mnl_socket *nl;
60 if (mnl_socket_sendto(cbargs->nl, nlh, nlh->nlmsg_len) < 0)
105 struct mnl_socket *nl;
107 nl = mnl_socket_open(NETLINK_NETFILTER);
108 if (nl == NULL) {
113 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) {
118 return nl;
123 struct mnl_socket *nl;
148 nl = sock_nl_create();
149 portid = mnl_socket_get_portid(nl);
162 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len);
168 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
171 cbargs.nl = sock_nl_create();
178 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
187 mnl_socket_close(nl);