• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/conntrack-tools/conntrack-tools-1.4.0/src/nfct-extensions/

Lines Matching defs:nl

110 	struct mnl_socket *nl;
125 nl = mnl_socket_open(NETLINK_NETFILTER);
126 if (nl == NULL) {
131 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) {
135 portid = mnl_socket_get_portid(nl);
137 if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) {
142 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
147 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
153 mnl_socket_close(nl);
172 struct mnl_socket *nl;
273 nl = mnl_socket_open(NETLINK_NETFILTER);
274 if (nl == NULL) {
279 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) {
283 portid = mnl_socket_get_portid(nl);
285 if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) {
290 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
295 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
301 mnl_socket_close(nl);
308 struct mnl_socket *nl;
338 nl = mnl_socket_open(NETLINK_NETFILTER);
339 if (nl == NULL) {
344 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) {
348 portid = mnl_socket_get_portid(nl);
350 if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) {
355 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
360 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
367 mnl_socket_close(nl);
374 struct mnl_socket *nl;
404 nl = mnl_socket_open(NETLINK_NETFILTER);
405 if (nl == NULL) {
410 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) {
414 portid = mnl_socket_get_portid(nl);
416 if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) {
421 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
426 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
432 mnl_socket_close(nl);
439 struct mnl_socket *nl;
454 nl = mnl_socket_open(NETLINK_NETFILTER);
455 if (nl == NULL) {
460 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) {
464 portid = mnl_socket_get_portid(nl);
466 if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) {
471 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
476 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
483 mnl_socket_close(nl);