Searched refs:nfgenmsg (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/net/netfilter/ |
H A D | nfnetlink.c | 225 if (nlmsg_len(nlh) < sizeof(struct nfgenmsg)) in nfnetlink_rcv_msg() 254 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_msg() 446 nlmsg_len(nlh) < sizeof(struct nfgenmsg)) { in nfnetlink_rcv_batch() 492 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_batch() 606 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_skb_batch() 610 struct nfgenmsg *nfgenmsg; in nfnetlink_rcv_skb_batch() local 619 if (skb->len < NLMSG_HDRLEN + sizeof(struct nfgenmsg)) in nfnetlink_rcv_skb_batch() 631 nfgenmsg = nlmsg_data(nlh); in nfnetlink_rcv_skb_batch() 634 if (nfgenmsg->res_id == (__force __be16)NFNL_SUBSYS_NFTABLES) in nfnetlink_rcv_skb_batch() 637 res_id = ntohs(nfgenmsg->res_id); in nfnetlink_rcv_skb_batch()
|
H A D | nfnetlink_hook.c | 305 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nfnl_hook_dump() 345 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nfnl_hook_dump_start()
|
H A D | nfnetlink_log.c | 366 sizeof(struct nfgenmsg), in __nfulnl_send() 719 size = nlmsg_total_size(sizeof(struct nfgenmsg)) in nfulnl_log_packet() 733 + nla_total_size(sizeof(struct nfgenmsg)); /* NLMSG_DONE */ in nfulnl_log_packet()
|
H A D | nf_tables_trace.c | 206 size = nlmsg_total_size(sizeof(struct nfgenmsg)) + in nft_trace_notify()
|
H A D | nf_conntrack_netlink.c | 693 return NLMSG_ALIGN(sizeof(struct nfgenmsg)) in ctnetlink_nlmsg_size() 1049 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_start() 1720 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_one_entry() 3153 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() 3250 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_dump_exp_ct()
|
H A D | nfnetlink_queue.c | 414 size = nlmsg_total_size(sizeof(struct nfgenmsg)) in nfqnl_build_packet_message()
|
H A D | nf_tables_api.c | 1055 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_tables() 1911 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_chains() 3575 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_rules() 7873 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_obj() 8900 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_flowtable()
|
/openbmc/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()
|
/openbmc/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
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | nf-queue.c | 85 mnl_attr_parse(nlh, sizeof(struct nfgenmsg), parse_attr_cb, tb); in queue_cb() 128 struct nfgenmsg *nfg; in nfq_build_cfg_request() 152 struct nfgenmsg *nfg; in nfq_build_cfg_params() 175 struct nfgenmsg *nfg; in nfq_build_verdict()
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_core.c | 1500 nlmsg_for_each_attr(attr, nlh, sizeof(struct nfgenmsg), rem) { in dump_attrs() 1517 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in ip_set_dump_start() 1768 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in call_ad()
|