Home
last modified time | relevance | path

Searched refs:nfgenmsg (Results 1 – 25 of 40) sorted by relevance

12

/external/libnl/lib/netfilter/
Dnfnl.c110 struct nfgenmsg hdr = { in nfnl_send_simple()
151 struct nfgenmsg *nfg = nlmsg_data(nlh); in nfnlmsg_family()
162 struct nfgenmsg *nfg = nlmsg_data(nlh); in nfnlmsg_res_id()
176 struct nfgenmsg *nfg; in nfnlmsg_append()
/external/libnetfilter_conntrack/examples/
Dnfct-mnl-set-label.c21 struct nfgenmsg *nfh; in set_label()
53 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in set_label()
125 struct nfgenmsg *nfh; in main()
156 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in main()
Dnfct-mnl-flush.c16 struct nfgenmsg *nfh; in main()
38 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in main()
Dnfexp-mnl-dump.c38 struct nfgenmsg *nfh; in main()
60 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in main()
Dnfct-mnl-dump.c33 struct nfgenmsg *nfh; in main()
55 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in main()
Dnfct-mnl-del.c16 struct nfgenmsg *nfh; in main()
39 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in main()
Dnfct-mnl-create.c16 struct nfgenmsg *nfh; in main()
39 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in main()
Dnfct-mnl-get.c35 struct nfgenmsg *nfh; in main()
58 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in main()
Dnfct-mnl-dump-labels.c48 struct nfgenmsg *nfh; in main()
71 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in main()
/external/libnfnetlink/include/libnfnetlink/
Dlinux_nfnetlink_compat.h57 + NLMSG_ALIGN(sizeof(struct nfgenmsg))))
58 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
Dlibnfnetlink.h43 +NLMSG_ALIGN(sizeof(struct nfgenmsg)))
53 struct nfgenmsg nfmsg;
120 struct nfgenmsg **genmsg);
Dlinux_nfnetlink.h27 struct nfgenmsg { struct
/external/libnl/include/linux-private/linux/netfilter/
Dnfnetlink_compat.h59 + NLMSG_ALIGN(sizeof(struct nfgenmsg))))
60 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
Dnfnetlink.h41 struct nfgenmsg { struct
/external/kernel-headers/original/uapi/linux/netfilter/
Dnfnetlink_compat.h60 + NLMSG_ALIGN(sizeof(struct nfgenmsg))))
61 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
Dnfnetlink.h34 struct nfgenmsg { struct
/external/libnfnetlink/src/
Dlibnfnetlink.c528 struct nfgenmsg *nfg = (void *)nlh + sizeof(*nlh); in nfnl_fill_hdr()
553 struct nfgenmsg **genmsg) in nfnl_parse_hdr()
555 if (nlh->nlmsg_len < NLMSG_LENGTH(sizeof(struct nfgenmsg))) in nfnl_parse_hdr()
558 if (nlh->nlmsg_len == NLMSG_LENGTH(sizeof(struct nfgenmsg))) { in nfnl_parse_hdr()
567 return (void *)nlh + NLMSG_LENGTH(sizeof(struct nfgenmsg)); in nfnl_parse_hdr()
1262 min_len = NLMSG_SPACE(sizeof(struct nfgenmsg)); in nfnl_check_attributes()
1305 if (nlh->nlmsg_len < NLMSG_LENGTH(NLMSG_ALIGN(sizeof(struct nfgenmsg)))) in __nfnl_handle_msg()
1382 if (nlh->nlmsg_len < NLMSG_SPACE(sizeof(struct nfgenmsg))) { in nfnl_step()
1407 int min_len = NLMSG_SPACE(sizeof(struct nfgenmsg)); in nfnl_step()
/external/libnetfilter_conntrack/src/expect/
Dparse_mnl.c53 struct nfgenmsg *nfg = mnl_nlmsg_get_payload(nlh); in nfexp_nlmsg_parse()
55 mnl_attr_parse(nlh, sizeof(struct nfgenmsg), in nfexp_nlmsg_parse()
/external/syzkaller/sys/linux/
Dsocket_netlink_netfilter.txt39 hdr nfgenmsg
44 nfgenmsg {
/external/libpcap/
Dpcap-netfilter-linux.c70 #define HDR_LENGTH (NLMSG_LENGTH(NLMSG_ALIGN(sizeof(struct nfgenmsg))))
186 const struct nfgenmsg *nfg = NULL; in netfilter_read_linux()
320 struct nfgenmsg *nfg = (struct nfgenmsg *) (buf + sizeof(struct nlmsghdr)); in netfilter_send_config_msg()
329 nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nfgenmsg)); in netfilter_send_config_msg()
/external/libnl/include/netlink/netfilter/
Dnfnl.h23 #define NFNL_HDRLEN NLMSG_ALIGN(sizeof(struct nfgenmsg))
/external/iptables/include/linux/netfilter/
Dnfnetlink.h29 struct nfgenmsg { struct
/external/libnetfilter_conntrack/src/conntrack/
Dfilter_dump.c44 struct nfgenmsg *nfg = NLMSG_DATA(&req->nlh); in __build_filter_dump()
/external/strace/
Dnetlink_netfilter.c54 struct nfgenmsg nfmsg; in decode_netlink_netfilter()
/external/libnetfilter_conntrack/src/
Dcallback.c41 if (nlh->nlmsg_len < NLMSG_LENGTH(sizeof(struct nfgenmsg))) { in __callback()

12