Searched refs:nfgenmsg (Results 1 – 11 of 11) sorted by relevance
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | conntrack_dump_flush.c | 149 struct nfgenmsg *nfh; in conntrack_data_generate_v4() 158 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in conntrack_data_generate_v4() 183 struct nfgenmsg *nfh; in conntrack_data_generate_v6() 192 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in conntrack_data_generate_v6() 222 struct nfgenmsg *nfh; in conntrack_count_zone() 233 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in conntrack_count_zone() 268 struct nfgenmsg *nfh; in conntrack_flush_zone() 279 nfh = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in conntrack_flush_zone()
|
| H A D | nf_queue.c | 88 mnl_attr_parse(nlh, sizeof(struct nfgenmsg), parse_attr_cb, tb); in queue_cb() 131 struct nfgenmsg *nfg; in nfq_build_cfg_request() 155 struct nfgenmsg *nfg; in nfq_build_cfg_params() 178 struct nfgenmsg *nfg; in nfq_build_verdict()
|
| /linux/include/linux/netfilter/ |
| H A D | nfnetlink.h | 14 const struct nfgenmsg *nfmsg; 70 struct nfgenmsg *nfmsg; in nfnl_fill_hdr() 85 nlh = nlmsg_put(skb, portid, seq, type, sizeof(struct nfgenmsg), flags); in nfnl_msg_put()
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | nfnetlink_compat.h | 60 + NLMSG_ALIGN(sizeof(struct nfgenmsg)))) 61 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
|
| H A D | nfnetlink.h | 34 struct nfgenmsg { struct
|
| /linux/net/netfilter/ |
| H A D | nfnetlink_hook.c | 367 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nfnl_hook_dump() 412 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nfnl_hook_dump_start()
|
| H A D | nfnetlink_log.c | 753 size = nlmsg_total_size(sizeof(struct nfgenmsg)) in nfulnl_log_packet() 767 + nlmsg_total_size(sizeof(struct nfgenmsg)); /* NLMSG_DONE */ in nfulnl_log_packet()
|
| H A D | nf_conntrack_netlink.c | 711 return NLMSG_ALIGN(sizeof(struct nfgenmsg)) in ctnetlink_nlmsg_size() 1070 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_start() 1737 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_one_entry() 3155 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_exp_dump_table() 3201 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_exp_ct_dump_table() 3269 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_dump_exp_ct()
|
| H A D | nfnetlink_queue.c | 734 size = nlmsg_total_size(sizeof(struct nfgenmsg)) in nfqnl_build_packet_message()
|
| H A D | nf_tables_api.c | 1254 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_tables() 2202 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_chains() 3944 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_rules() 8481 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_obj() 9535 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_flowtable()
|
| /linux/net/netfilter/ipset/ |
| H A D | ip_set_core.c | 1517 nlmsg_for_each_attr(attr, nlh, sizeof(struct nfgenmsg), rem) { in dump_attrs() 1534 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in ip_set_dump_start() 1788 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in call_ad()
|