/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nfnetlink.c | 190 /* All the messages must at least contain nfgenmsg */ in nfnetlink_rcv_msg() 191 if (nlmsg_len(nlh) < sizeof(struct nfgenmsg)) in nfnetlink_rcv_msg() 219 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_msg() 395 nlmsg_len(nlh) < sizeof(struct nfgenmsg)) { in nfnetlink_rcv_batch() 436 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_batch() 546 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_skb_batch() 550 struct nfgenmsg *nfgenmsg; in nfnetlink_rcv_skb_batch() local 559 if (skb->len < NLMSG_HDRLEN + sizeof(struct nfgenmsg)) in nfnetlink_rcv_skb_batch() 571 nfgenmsg in nfnetlink_rcv_skb_batch() [all...] |
H A D | nf_conntrack_netlink.c | 680 return NLMSG_ALIGN(sizeof(struct nfgenmsg)) in ctnetlink_nlmsg_size() 993 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_start() 1530 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_del_conntrack() 1586 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_get_conntrack() 1663 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_list() 2378 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_new_conntrack() 3152 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_exp_dump_table() 3200 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_exp_ct_dump_table() 3249 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_dump_exp_ct() 3296 struct nfgenmsg *nfms in ctnetlink_get_expect() [all...] |
H A D | nfnetlink_log.c | 351 sizeof(struct nfgenmsg), in __nfulnl_send() 704 size = nlmsg_total_size(sizeof(struct nfgenmsg)) in nfulnl_log_packet() 718 + nla_total_size(sizeof(struct nfgenmsg)); /* NLMSG_DONE */ in nfulnl_log_packet() 872 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfulnl_recv_config()
|
H A D | nf_tables_api.c | 930 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_tables() 992 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_gettable() 1220 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_newtable() 1410 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_deltable() 1732 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_chains() 1782 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_getchain() 2519 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_newchain() 2616 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_delchain() 3142 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_rules() 3246 const struct nfgenmsg *nfms in nf_tables_getrule() [all...] |
H A D | nf_tables_trace.c | 194 size = nlmsg_total_size(sizeof(struct nfgenmsg)) + in nft_trace_notify()
|
H A D | nfnetlink_queue.c | 398 size = nlmsg_total_size(sizeof(struct nfgenmsg)) in nfqnl_build_packet_message() 1067 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_verdict_batch() 1175 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_verdict() 1261 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_config()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nfnetlink.c | 224 /* All the messages must at least contain nfgenmsg */ in nfnetlink_rcv_msg() 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 in nfnetlink_rcv_skb_batch() [all...] |
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 | nf_tables_trace.c | 206 size = nlmsg_total_size(sizeof(struct nfgenmsg)) + in nft_trace_notify()
|
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_conntrack_netlink.c | 696 return NLMSG_ALIGN(sizeof(struct nfgenmsg)) in ctnetlink_nlmsg_size() 1052 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_start() 1723 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_one_entry() 3156 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_exp_dump_table() 3204 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_exp_ct_dump_table() 3253 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_dump_exp_ct()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-6.6/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
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/netfilter/ |
H A D | nfnetlink_compat.h | 48 #define NFM_NFA(n) ((struct nfattr *) (((char *) (n)) + NLMSG_ALIGN(sizeof(struct nfgenmsg)))) 49 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
|
H A D | nfnetlink.h | 47 struct nfgenmsg { struct
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/ |
H A D | nfnetlink_compat.h | 48 #define NFM_NFA(n) ((struct nfattr *) (((char *) (n)) + NLMSG_ALIGN(sizeof(struct nfgenmsg)))) 49 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
|
H A D | nfnetlink.h | 47 struct nfgenmsg { struct
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/ |
H A D | nfnetlink_compat.h | 44 + NLMSG_ALIGN(sizeof(struct nfgenmsg)))) 45 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
|
H A D | nfnetlink.h | 34 struct nfgenmsg { struct
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/include/linux/netfilter/ |
H A D | nfnetlink.h | 62 struct nfgenmsg *nfmsg; in nfnl_fill_hdr() 77 nlh = nlmsg_put(skb, portid, seq, type, sizeof(struct nfgenmsg), flags); in nfnl_msg_put()
|