crypto/crypto_user.c
140
struct nlmsghdr *nlh;
crypto/crypto_user.c
165
static int crypto_report(struct sk_buff *in_skb, struct nlmsghdr *in_nlh,
crypto/crypto_user.c
241
static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh,
crypto/crypto_user.c
277
static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh,
crypto/crypto_user.c
315
static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh,
crypto/crypto_user.c
363
static int crypto_del_rng(struct sk_buff *skb, struct nlmsghdr *nlh,
crypto/crypto_user.c
371
static int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh,
crypto/crypto_user.c
396
int (*doit)(struct sk_buff *, struct nlmsghdr *, struct nlattr **);
crypto/crypto_user.c
410
static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/block/drbd/drbd_nl.c
3314
static struct nlattr *find_cfg_context_attr(const struct nlmsghdr *nlh, int attr)
drivers/connector/connector.c
136
struct nlmsghdr *nlh;
drivers/connector/connector.c
200
struct nlmsghdr *nlh;
drivers/connector/connector.c
68
struct nlmsghdr *nlh;
drivers/infiniband/core/addr.c
120
struct nlmsghdr *nlh,
drivers/infiniband/core/addr.c
137
struct nlmsghdr *nlh;
drivers/infiniband/core/addr.c
82
static void ib_nl_process_ip_rsep(const struct nlmsghdr *nlh)
drivers/infiniband/core/core_priv.h
209
struct nlmsghdr *nlh,
drivers/infiniband/core/core_priv.h
212
struct nlmsghdr *nlh,
drivers/infiniband/core/core_priv.h
215
struct nlmsghdr *nlh,
drivers/infiniband/core/iwpm_msg.c
147
struct nlmsghdr *nlh;
drivers/infiniband/core/iwpm_msg.c
230
struct nlmsghdr *nlh;
drivers/infiniband/core/iwpm_msg.c
317
struct nlmsghdr *nlh;
drivers/infiniband/core/iwpm_msg.c
67
struct nlmsghdr *nlh;
drivers/infiniband/core/iwpm_util.c
438
struct sk_buff *iwpm_create_nlmsg(u32 nl_op, struct nlmsghdr **nlh,
drivers/infiniband/core/iwpm_util.c
581
struct nlmsghdr *nlh;
drivers/infiniband/core/iwpm_util.c
620
struct nlmsghdr *nlh = NULL;
drivers/infiniband/core/iwpm_util.c
642
struct nlmsghdr *nlh;
drivers/infiniband/core/iwpm_util.c
764
struct nlmsghdr *nlh;
drivers/infiniband/core/iwpm_util.h
230
struct sk_buff *iwpm_create_nlmsg(u32 nl_op, struct nlmsghdr **nlh,
drivers/infiniband/core/netlink.c
131
void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq,
drivers/infiniband/core/netlink.c
141
int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/netlink.c
152
static int rdma_nl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/netlink.c
208
struct nlmsghdr *,
drivers/infiniband/core/netlink.c
212
struct nlmsghdr *nlh;
drivers/infiniband/core/nldev.c
1089
static int nldev_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
1139
static int nldev_set_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
1198
struct nlmsghdr *nlh;
drivers/infiniband/core/nldev.c
1229
static int nldev_port_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
1293
struct nlmsghdr *nlh;
drivers/infiniband/core/nldev.c
1345
static int nldev_res_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
1403
struct nlmsghdr *nlh;
drivers/infiniband/core/nldev.c
1492
res_get_common_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
1589
struct nlmsghdr *nlh;
drivers/infiniband/core/nldev.c
1721
struct nlmsghdr *nlh, \
drivers/infiniband/core/nldev.c
1776
static int nldev_newlink(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
1823
static int nldev_dellink(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
1864
static int nldev_get_chardev(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
1952
static int nldev_sys_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
2039
static int nldev_set_sys_set_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
2160
static int nldev_stat_set_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
2230
static int nldev_stat_del_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
2301
stat_get_doit_default_counter(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
2394
stat_get_doit_qp(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
2473
static int nldev_stat_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
2531
struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
2623
static int nldev_newdev(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
2652
static int nldev_deldev(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/nldev.c
2801
struct nlmsghdr *nlh;
drivers/infiniband/core/nldev.c
2891
static int nldev_frmr_pools_set_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/infiniband/core/sa_query.c
1050
struct nlmsghdr *nlh,
drivers/infiniband/core/sa_query.c
1111
static inline int ib_nl_is_good_resolve_resp(const struct nlmsghdr *nlh)
drivers/infiniband/core/sa_query.c
1128
struct nlmsghdr *nlh,
drivers/infiniband/core/sa_query.c
847
struct nlmsghdr *nlh;
drivers/infiniband/core/sa_query.c
932
const struct nlmsghdr *nlh)
drivers/net/ethernet/broadcom/bnxt/bnxt.c
16007
static int bnxt_bridge_setlink(struct net_device *dev, struct nlmsghdr *nlh,
drivers/net/ethernet/emulex/benet/be_main.c
4968
static int be_ndo_bridge_setlink(struct net_device *dev, struct nlmsghdr *nlh,
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
835
struct nlmsghdr *nlh;
drivers/net/ethernet/intel/i40e/i40e_main.c
13091
struct nlmsghdr *nlh,
drivers/net/ethernet/intel/ice/ice_main.c
8162
ice_bridge_setlink(struct net_device *dev, struct nlmsghdr *nlh,
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
10699
struct nlmsghdr *nlh, u16 flags,
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
5292
static int mlx5e_bridge_setlink(struct net_device *dev, struct nlmsghdr *nlh,
drivers/net/ethernet/mscc/ocelot_net.c
801
struct nlmsghdr *nlh;
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
2275
static int nfp_net_bridge_setlink(struct net_device *dev, struct nlmsghdr *nlh,
drivers/net/nlmon.c
81
dev->min_mtu = sizeof(struct nlmsghdr);
drivers/net/team/team_core.c
2618
struct nlmsghdr *nlh;
drivers/net/team/team_core.c
2907
struct nlmsghdr *nlh;
drivers/net/vrf.c
1463
struct nlmsghdr *nlh;
drivers/net/vxlan/vxlan_core.c
163
struct nlmsghdr *nlh;
drivers/net/vxlan/vxlan_core.c
3124
static int vxlan_fdb_delete_bulk(struct nlmsghdr *nlh, struct net_device *dev,
drivers/net/vxlan/vxlan_mdb.c
1009
struct nlmsghdr *nlh;
drivers/net/vxlan/vxlan_mdb.c
1535
struct nlmsghdr *nlh;
drivers/net/vxlan/vxlan_mdb.c
283
struct nlmsghdr *nlh;
drivers/net/vxlan/vxlan_vnifilter.c
301
struct nlmsghdr *nlh;
drivers/net/vxlan/vxlan_vnifilter.c
341
struct nlmsghdr *nlh;
drivers/net/vxlan/vxlan_vnifilter.c
941
static int vxlan_vnifilter_process(struct sk_buff *skb, struct nlmsghdr *nlh,
drivers/net/wireless/virtual/mac80211_hwsim_main.c
7245
struct nlmsghdr *nlh;
drivers/net/wwan/wwan_core.c
1243
struct nlmsghdr *nlh;
drivers/s390/net/qeth_l2_main.c
968
static int qeth_l2_bridge_setlink(struct net_device *dev, struct nlmsghdr *nlh,
drivers/scsi/scsi_netlink.c
34
struct nlmsghdr *nlh;
drivers/scsi/scsi_transport_fc.c
534
struct nlmsghdr *nlh;
drivers/scsi/scsi_transport_iscsi.c
2546
struct nlmsghdr *nlh;
drivers/scsi/scsi_transport_iscsi.c
2585
struct nlmsghdr *nlh;
drivers/scsi/scsi_transport_iscsi.c
2618
struct nlmsghdr *nlh;
drivers/scsi/scsi_transport_iscsi.c
2679
struct nlmsghdr *nlh;
drivers/scsi/scsi_transport_iscsi.c
2714
struct nlmsghdr *nlh;
drivers/scsi/scsi_transport_iscsi.c
2745
struct nlmsghdr *nlh;
drivers/scsi/scsi_transport_iscsi.c
2774
struct nlmsghdr *nlh;
drivers/scsi/scsi_transport_iscsi.c
2789
iscsi_if_get_stats(struct iscsi_transport *transport, struct nlmsghdr *nlh)
drivers/scsi/scsi_transport_iscsi.c
2795
struct nlmsghdr *nlhstat;
drivers/scsi/scsi_transport_iscsi.c
2865
struct nlmsghdr *nlh;
drivers/scsi/scsi_transport_iscsi.c
3298
iscsi_get_chap(struct iscsi_transport *transport, struct nlmsghdr *nlh)
drivers/scsi/scsi_transport_iscsi.c
3305
struct nlmsghdr *nlhchap;
drivers/scsi/scsi_transport_iscsi.c
3703
iscsi_get_host_stats(struct iscsi_transport *transport, struct nlmsghdr *nlh)
drivers/scsi/scsi_transport_iscsi.c
3709
struct nlmsghdr *nlhhost_stats;
drivers/scsi/scsi_transport_iscsi.c
3773
struct nlmsghdr *nlh, u32 pdu_len)
drivers/scsi/scsi_transport_iscsi.c
3883
iscsi_if_recv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, uint32_t *group)
drivers/scsi/scsi_transport_iscsi.c
4061
struct nlmsghdr *nlh;
include/linux/netdevice.h
1611
int (*ndo_fdb_del_bulk)(struct nlmsghdr *nlh,
include/linux/netdevice.h
1643
struct nlmsghdr *nlh,
include/linux/netdevice.h
1652
struct nlmsghdr *nlh,
include/linux/netfilter/nfnetlink.h
13
const struct nlmsghdr *nlh;
include/linux/netfilter/nfnetlink.h
67
static inline void nfnl_fill_hdr(struct nlmsghdr *nlh, u8 family, u8 version,
include/linux/netfilter/nfnetlink.h
78
static inline struct nlmsghdr *nfnl_msg_put(struct sk_buff *skb, u32 portid,
include/linux/netfilter/nfnetlink.h
83
struct nlmsghdr *nlh;
include/linux/netlink.h
16
static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb)
include/linux/netlink.h
18
return (struct nlmsghdr *)skb->data;
include/linux/netlink.h
224
void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err,
include/linux/netlink.h
283
const struct nlmsghdr *nlh;
include/linux/netlink.h
317
struct nlmsghdr *
include/linux/netlink.h
332
const struct nlmsghdr *nlh,
include/linux/netlink.h
335
const struct nlmsghdr *nlh,
include/linux/rtnetlink.h
22
u32 group, const struct nlmsghdr *nlh, gfp_t flags);
include/linux/rtnetlink.h
29
u32 portid, const struct nlmsghdr *nlh);
include/linux/rtnetlink.h
36
const struct nlmsghdr *nlh);
include/linux/rtnetlink.h
38
gfp_t flags, u32 portid, const struct nlmsghdr *nlh);
include/linux/sock_diag.h
12
struct nlmsghdr;
include/linux/sock_diag.h
18
int (*dump)(struct sk_buff *skb, struct nlmsghdr *nlh);
include/linux/sock_diag.h
20
int (*destroy)(struct sk_buff *skb, struct nlmsghdr *nlh);
include/linux/sock_diag.h
28
int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh);
include/net/fib_rules.h
207
int fib_newrule(struct net *net, struct sk_buff *skb, struct nlmsghdr *nlh,
include/net/fib_rules.h
209
int fib_delrule(struct net *net, struct sk_buff *skb, struct nlmsghdr *nlh,
include/net/genetlink.h
135
const struct nlmsghdr * nlhdr;
include/net/genetlink.h
371
static inline struct nlmsghdr *genlmsg_nlhdr(void *user_hdr)
include/net/genetlink.h
373
return (struct nlmsghdr *)((char *)user_hdr -
include/net/genetlink.h
387
static inline int genlmsg_parse_deprecated(const struct nlmsghdr *nlh,
include/net/genetlink.h
406
static inline int genlmsg_parse(const struct nlmsghdr *nlh,
include/net/genetlink.h
583
struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh -
include/net/ip_fib.h
656
int ip_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh,
include/net/netlink.h
1036
static inline struct nlmsghdr *nlmsg_put_answer(struct sk_buff *skb,
include/net/netlink.h
1081
static inline void nlmsg_end(struct sk_buff *skb, struct nlmsghdr *nlh)
include/net/netlink.h
1120
static inline void nlmsg_cancel(struct sk_buff *skb, struct nlmsghdr *nlh)
include/net/netlink.h
1234
struct nlmsghdr *nlh)
include/net/netlink.h
494
struct nlmsghdr *nlh;
include/net/netlink.h
536
int (*cb)(struct sk_buff *, struct nlmsghdr *,
include/net/netlink.h
608
static inline void *nlmsg_data(const struct nlmsghdr *nlh)
include/net/netlink.h
617
static inline int nlmsg_len(const struct nlmsghdr *nlh)
include/net/netlink.h
630
static inline void *nlmsg_payload(const struct nlmsghdr *nlh, size_t len)
include/net/netlink.h
643
static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh,
include/net/netlink.h
655
static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen)
include/net/netlink.h
665
static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining)
include/net/netlink.h
667
return (remaining >= (int) sizeof(struct nlmsghdr) &&
include/net/netlink.h
668
nlh->nlmsg_len >= sizeof(struct nlmsghdr) &&
include/net/netlink.h
680
static inline struct nlmsghdr *
include/net/netlink.h
681
nlmsg_next(const struct nlmsghdr *nlh, int *remaining)
include/net/netlink.h
687
return (struct nlmsghdr *) ((unsigned char *) nlh + totlen);
include/net/netlink.h
778
static inline int __nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen,
include/net/netlink.h
805
static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen,
include/net/netlink.h
825
static inline int nlmsg_parse_deprecated(const struct nlmsghdr *nlh, int hdrlen,
include/net/netlink.h
846
nlmsg_parse_deprecated_strict(const struct nlmsghdr *nlh, int hdrlen,
include/net/netlink.h
863
static inline struct nlattr *nlmsg_find_attr(const struct nlmsghdr *nlh,
include/net/netlink.h
923
static inline int nlmsg_validate_deprecated(const struct nlmsghdr *nlh,
include/net/netlink.h
944
static inline int nlmsg_report(const struct nlmsghdr *nlh)
include/net/netlink.h
955
static inline u32 nlmsg_seq(const struct nlmsghdr *nlh)
include/net/netlink.h
995
static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq,
include/net/rtnetlink.h
252
int rtnl_delete_link(struct net_device *dev, u32 portid, const struct nlmsghdr *nlh);
include/net/rtnetlink.h
254
u32 portid, const struct nlmsghdr *nlh);
include/net/rtnetlink.h
64
static inline int rtnl_msg_family(const struct nlmsghdr *nlh)
include/net/rtnetlink.h
9
typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *,
include/net/xfrm.h
2302
int (*alloc_compat)(struct sk_buff *skb, const struct nlmsghdr *src);
include/net/xfrm.h
2305
struct nlmsghdr *(*rcv_msg_compat)(const struct nlmsghdr *nlh,
include/rdma/rdma_netlink.h
19
int (*doit)(struct sk_buff *skb, struct nlmsghdr *nlh,
include/rdma/rdma_netlink.h
66
void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq,
include/rdma/rdma_netlink.h
77
int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh,
include/uapi/linux/netlink.h
100
#define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
include/uapi/linux/netlink.h
105
(struct nlmsghdr *)(((char *)(nlh)) + \
include/uapi/linux/netlink.h
107
#define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
include/uapi/linux/netlink.h
108
(nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
include/uapi/linux/netlink.h
121
struct nlmsghdr msg;
kernel/audit.c
1255
static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
kernel/audit.c
1603
struct nlmsghdr *nlh;
kernel/audit.c
2788
struct nlmsghdr *nlh;
kernel/audit.c
544
struct nlmsghdr *nlh;
kernel/audit.c
584
struct nlmsghdr *nlh = nlmsg_hdr(skb);
kernel/audit.c
852
struct nlmsghdr *nlh;
kernel/audit.c
983
struct nlmsghdr *nlh;
lib/kobject_uevent.c
743
static int uevent_net_rcv_skb(struct sk_buff *skb, struct nlmsghdr *nlh,
net/batman-adv/netlink.c
160
static int batadv_netlink_get_ifindex(const struct nlmsghdr *nlh, int attrtype)
net/bridge/br_fdb.c
795
int br_fdb_delete_bulk(struct nlmsghdr *nlh, struct net_device *dev,
net/bridge/br_fdb.c
96
struct nlmsghdr *nlh;
net/bridge/br_mdb.c
1629
struct nlmsghdr *nlh;
net/bridge/br_mdb.c
387
struct nlmsghdr *nlh;
net/bridge/br_mdb.c
421
struct nlmsghdr *nlh;
net/bridge/br_mdb.c
572
struct nlmsghdr *nlh;
net/bridge/br_netlink.c
1111
int br_setlink(struct net_device *dev, struct nlmsghdr *nlh, u16 flags,
net/bridge/br_netlink.c
1168
int br_dellink(struct net_device *dev, struct nlmsghdr *nlh, u16 flags)
net/bridge/br_netlink.c
469
struct nlmsghdr *nlh;
net/bridge/br_private.h
2167
int br_setlink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags,
net/bridge/br_private.h
2169
int br_dellink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags);
net/bridge/br_private.h
870
int br_fdb_delete_bulk(struct nlmsghdr *nlh, struct net_device *dev,
net/bridge/br_vlan.c
1920
struct nlmsghdr *nlh;
net/bridge/br_vlan.c
2004
struct nlmsghdr *nlh = NULL;
net/bridge/br_vlan.c
2289
static int br_vlan_rtm_process(struct sk_buff *skb, struct nlmsghdr *nlh,
net/bridge/br_vlan_options.c
513
struct nlmsghdr *nlh;
net/can/gw.c
1077
static int cgw_create_job(struct sk_buff *skb, struct nlmsghdr *nlh,
net/can/gw.c
1209
static int cgw_remove_job(struct sk_buff *skb, struct nlmsghdr *nlh,
net/can/gw.c
637
struct nlmsghdr *nlh;
net/can/gw.c
821
static int cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod,
net/core/dev.c
12371
u32 portid, const struct nlmsghdr *nlh)
net/core/dev.c
9790
const struct nlmsghdr *nlh)
net/core/dev.h
185
const struct nlmsghdr *nlh);
net/core/dev.h
188
u32 portid, const struct nlmsghdr *nlh);
net/core/drop_monitor.c
177
struct nlmsghdr *nlh = (struct nlmsghdr *)skb->data;
net/core/drop_monitor.c
220
struct nlmsghdr *nlh;
net/core/drop_monitor.c
235
nlh = (struct nlmsghdr *)dskb->data;
net/core/fib_rules.c
1000
static int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/fib_rules.c
1006
int fib_delrule(struct net *net, struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/fib_rules.c
101
struct fib_rules_ops *ops, struct nlmsghdr *nlh,
net/core/fib_rules.c
1119
static int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/fib_rules.c
1156
struct nlmsghdr *nlh;
net/core/fib_rules.c
1264
static int fib_valid_dumprule_req(const struct nlmsghdr *nlh,
net/core/fib_rules.c
1292
const struct nlmsghdr *nlh = cb->nlh;
net/core/fib_rules.c
1335
struct fib_rules_ops *ops, struct nlmsghdr *nlh,
net/core/fib_rules.c
573
static int fib_nl2rule(struct net *net, struct nlmsghdr *nlh,
net/core/fib_rules.c
877
int fib_newrule(struct net *net, struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/neighbour.c
1945
static int neigh_delete(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/neighbour.c
2010
static int neigh_add(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/neighbour.c
2243
struct nlmsghdr *nlh;
net/core/neighbour.c
2331
struct nlmsghdr *nlh;
net/core/neighbour.c
2381
static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/neighbour.c
2554
static int neightbl_valid_dump_info(const struct nlmsghdr *nlh,
net/core/neighbour.c
2580
const struct nlmsghdr *nlh = cb->nlh;
net/core/neighbour.c
2649
struct nlmsghdr *nlh;
net/core/neighbour.c
2720
struct nlmsghdr *nlh;
net/core/neighbour.c
2873
static int neigh_valid_dump_req(const struct nlmsghdr *nlh,
net/core/neighbour.c
2936
const struct nlmsghdr *nlh = cb->nlh;
net/core/neighbour.c
2983
static struct ndmsg *neigh_valid_get_req(const struct nlmsghdr *nlh,
net/core/neighbour.c
3056
static int neigh_get(struct sk_buff *in_skb, struct nlmsghdr *nlh,
net/core/net_namespace.c
1104
static int rtnl_valid_dump_net_req(const struct nlmsghdr *nlh, struct sock *sk,
net/core/net_namespace.c
1180
struct nlmsghdr *nlh, gfp_t gfp)
net/core/net_namespace.c
310
struct nlmsghdr *nlh, gfp_t gfp);
net/core/net_namespace.c
852
static int rtnl_net_newid(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/net_namespace.c
933
struct nlmsghdr *nlh;
net/core/net_namespace.c
960
const struct nlmsghdr *nlh,
net/core/net_namespace.c
996
static int rtnl_net_getid(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
2068
struct nlmsghdr *nlh;
net/core/rtnetlink.c
2449
static int rtnl_valid_dump_ifinfo_req(const struct nlmsghdr *nlh,
net/core/rtnetlink.c
2497
const struct nlmsghdr *nlh = cb->nlh;
net/core/rtnetlink.c
3505
static int rtnl_setlink(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
3591
int rtnl_delete_link(struct net_device *dev, u32 portid, const struct nlmsghdr *nlh)
net/core/rtnetlink.c
3607
static int rtnl_dellink(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
3660
u32 portid, const struct nlmsghdr *nlh)
net/core/rtnetlink.c
3787
static int rtnl_changelink(const struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
3876
const struct nlmsghdr *nlh,
net/core/rtnetlink.c
3986
static int __rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
4048
static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
4173
const struct nlmsghdr *nlh,
net/core/rtnetlink.c
4220
static int rtnl_getlink(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
4366
static int rtnl_linkprop(int cmd, struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
4414
static int rtnl_newlinkprop(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
4420
static int rtnl_dellinkprop(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
4427
struct nlmsghdr *nlh)
net/core/rtnetlink.c
4517
const struct nlmsghdr *nlh)
net/core/rtnetlink.c
4549
u32 portid, const struct nlmsghdr *nlh)
net/core/rtnetlink.c
4559
u32 portid, const struct nlmsghdr *nlh)
net/core/rtnetlink.c
4573
gfp_t flags, u32 portid, const struct nlmsghdr *nlh)
net/core/rtnetlink.c
4592
struct nlmsghdr *nlh;
net/core/rtnetlink.c
4718
static int rtnl_fdb_add(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
4829
static int rtnl_fdb_del(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
4999
static int valid_fdb_dump_strict(const struct nlmsghdr *nlh,
net/core/rtnetlink.c
5053
static int valid_fdb_dump_legacy(const struct nlmsghdr *nlh,
net/core/rtnetlink.c
5167
static int valid_fdb_get_strict(const struct nlmsghdr *nlh,
net/core/rtnetlink.c
5230
static int rtnl_fdb_get(struct sk_buff *in_skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
5342
struct nlmsghdr *nlh;
net/core/rtnetlink.c
5437
static int valid_bridge_getlink_req(const struct nlmsghdr *nlh,
net/core/rtnetlink.c
5493
const struct nlmsghdr *nlh = cb->nlh;
net/core/rtnetlink.c
5602
static int rtnl_bridge_setlink(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
5682
static int rtnl_bridge_dellink(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
6039
struct nlmsghdr *nlh;
net/core/rtnetlink.c
6311
static int rtnl_stats_get_parse(const struct nlmsghdr *nlh,
net/core/rtnetlink.c
6339
static int rtnl_valid_stats_req(const struct nlmsghdr *nlh, bool strict_check,
net/core/rtnetlink.c
6368
static int rtnl_stats_get(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
6510
static int rtnl_stats_set(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
6576
static int rtnl_mdb_valid_dump_req(const struct nlmsghdr *nlh,
net/core/rtnetlink.c
6693
static int rtnl_mdb_get(struct sk_buff *in_skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
6796
static int rtnl_mdb_add(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
6876
static int rtnl_mdb_del(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
6964
const struct nlmsghdr *nlh,
net/core/rtnetlink.c
6977
static int rtnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
net/core/rtnetlink.c
959
const struct nlmsghdr *nlh, gfp_t flags)
net/core/sock_diag.c
227
static int __sock_diag_cmd(struct sk_buff *skb, struct nlmsghdr *nlh)
net/core/sock_diag.c
258
static int sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
1510
struct nlmsghdr *nlh;
net/dcb/dcbnl.c
1559
static int dcbnl_ieee_set(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
1695
static int dcbnl_ieee_get(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
1706
static int dcbnl_ieee_del(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
1749
static int dcbnl_getdcbx(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
1759
static int dcbnl_setdcbx(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
1776
static int dcbnl_getfeatcfg(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
1822
static int dcbnl_setfeatcfg(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
1860
static int dcbnl_cee_get(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
1876
int (*cb)(struct net_device *, struct nlmsghdr *, u32,
net/dcb/dcbnl.c
1910
static int dcb_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
1920
struct nlmsghdr *reply_nlh = NULL;
net/dcb/dcbnl.c
217
u32 flags, struct nlmsghdr **nlhp)
net/dcb/dcbnl.c
221
struct nlmsghdr *nlh;
net/dcb/dcbnl.c
241
static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
252
static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
297
static int dcbnl_getperm_hwaddr(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
311
static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
356
static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
403
static int dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
437
static int dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
447
static int dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
465
static int dcbnl_getapp(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
535
static int dcbnl_setapp(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
585
static int __dcbnl_pg_getcfg(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
721
static int dcbnl_pgtx_getcfg(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
727
static int dcbnl_pgrx_getcfg(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
733
static int dcbnl_setstate(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
750
static int dcbnl_setpfccfg(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
781
static int dcbnl_setall(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
799
static int __dcbnl_pg_setcfg(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
892
static int dcbnl_pgtx_setcfg(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
898
static int dcbnl_pgrx_setcfg(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
904
static int dcbnl_bcn_getcfg(struct net_device *netdev, struct nlmsghdr *nlh,
net/dcb/dcbnl.c
966
static int dcbnl_bcn_setcfg(struct net_device *netdev, struct nlmsghdr *nlh,
net/devlink/dpipe.c
220
struct nlmsghdr *nlh;
net/devlink/dpipe.c
538
struct nlmsghdr *nlh;
net/devlink/dpipe.c
656
struct nlmsghdr *nlh;
net/devlink/health.c
1071
struct nlmsghdr *nlh;
net/devlink/resource.c
260
struct nlmsghdr *nlh;
net/dsa/user.c
521
struct nlmsghdr *nlh;
net/ethtool/netlink.c
345
struct nlmsghdr *nlh = nlmsg_hdr(skb);
net/ethtool/rss.c
985
struct nlmsghdr *nlh;
net/handshake/handshake.h
77
struct nlmsghdr *handshake_genl_put(struct sk_buff *msg,
net/handshake/netlink.c
82
struct nlmsghdr *handshake_genl_put(struct sk_buff *msg,
net/handshake/tlshd.c
200
struct nlmsghdr *hdr;
net/ieee802154/netlink.c
47
struct nlmsghdr *nlh = nlmsg_hdr(msg);
net/ieee802154/netlink.c
76
struct nlmsghdr *nlh = nlmsg_hdr(msg);
net/ipv4/devinet.c
1710
struct nlmsghdr *nlh;
net/ipv4/devinet.c
1784
static int inet_valid_dump_ifaddr_req(const struct nlmsghdr *nlh,
net/ipv4/devinet.c
186
static void rtmsg_ifa(int event, struct in_ifaddr *, struct nlmsghdr *, u32);
net/ipv4/devinet.c
1931
const struct nlmsghdr *nlh = cb->nlh;
net/ipv4/devinet.c
1999
static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh,
net/ipv4/devinet.c
2247
struct nlmsghdr *nlh;
net/ipv4/devinet.c
2336
const struct nlmsghdr *nlh,
net/ipv4/devinet.c
2375
struct nlmsghdr *nlh,
net/ipv4/devinet.c
2439
const struct nlmsghdr *nlh = cb->nlh;
net/ipv4/devinet.c
372
int destroy, struct nlmsghdr *nlh, u32 portid)
net/ipv4/devinet.c
490
static int __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh,
net/ipv4/devinet.c
652
static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh,
net/ipv4/devinet.c
844
static int inet_validate_rtm(struct nlmsghdr *nlh, struct nlattr **tb,
net/ipv4/devinet.c
882
static struct in_ifaddr *inet_rtm_to_ifa(struct net *net, struct nlmsghdr *nlh,
net/ipv4/devinet.c
960
static int inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh,
net/ipv4/fib_frontend.c
1016
const struct nlmsghdr *nlh = cb->nlh;
net/ipv4/fib_frontend.c
1402
struct nlmsghdr *nlh;
net/ipv4/fib_frontend.c
736
struct nlmsghdr *nlh, struct fib_config *cfg,
net/ipv4/fib_frontend.c
877
static int inet_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh,
net/ipv4/fib_frontend.c
911
static int inet_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh,
net/ipv4/fib_frontend.c
941
int ip_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh,
net/ipv4/fib_semantics.c
1723
struct nlmsghdr *nlh;
net/ipv4/igmp.c
1470
struct nlmsghdr *nlh;
net/ipv4/inet_diag.c
181
static int inet_diag_parse_attrs(const struct nlmsghdr *nlh, int hdrlen,
net/ipv4/inet_diag.c
219
struct nlmsghdr *nlh;
net/ipv4/inet_diag.c
403
const struct nlmsghdr *nlh,
net/ipv4/inet_diag.c
847
const struct nlmsghdr *nlh = cb->nlh;
net/ipv4/inet_diag.c
931
const struct nlmsghdr *nlh)
net/ipv4/inet_diag.c
947
static int inet_diag_rcv_msg_compat(struct sk_buff *skb, struct nlmsghdr *nlh)
net/ipv4/inet_diag.c
968
static int inet_diag_handler_cmd(struct sk_buff *skb, struct nlmsghdr *h)
net/ipv4/inet_diag.c
994
struct nlmsghdr *nlh;
net/ipv4/ipmr.c
1028
struct nlmsghdr *nlh = skb_pull(skb,
net/ipv4/ipmr.c
2510
struct nlmsghdr *nlh;
net/ipv4/ipmr.c
2622
struct nlmsghdr *nlh;
net/ipv4/ipmr.c
2669
const struct nlmsghdr *nlh,
net/ipv4/ipmr.c
2723
static int ipmr_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh,
net/ipv4/ipmr.c
2858
static int rtm_to_ipmr_mfcc(struct net *net, struct nlmsghdr *nlh,
net/ipv4/ipmr.c
2940
static int ipmr_rtm_route(struct sk_buff *skb, struct nlmsghdr *nlh,
net/ipv4/ipmr.c
3021
static int ipmr_valid_dumplink(const struct nlmsghdr *nlh,
net/ipv4/ipmr.c
3049
struct nlmsghdr *nlh = NULL;
net/ipv4/ipmr.c
769
struct nlmsghdr *nlh = skb_pull(skb,
net/ipv4/nexthop.c
1161
struct nlmsghdr *nlh;
net/ipv4/nexthop.c
3103
struct nlmsghdr *nlh, struct nlattr **tb,
net/ipv4/nexthop.c
3301
static int rtm_new_nexthop(struct sk_buff *skb, struct nlmsghdr *nlh,
net/ipv4/nexthop.c
3342
static int nh_valid_get_del_req(const struct nlmsghdr *nlh,
net/ipv4/nexthop.c
3371
static int rtm_del_nexthop(struct sk_buff *skb, struct nlmsghdr *nlh,
net/ipv4/nexthop.c
3409
static int rtm_get_nexthop(struct sk_buff *in_skb, struct nlmsghdr *nlh,
net/ipv4/nexthop.c
3502
static int __nh_valid_dump_req(const struct nlmsghdr *nlh, struct nlattr **tb,
net/ipv4/nexthop.c
3537
static int nh_valid_dump_req(const struct nlmsghdr *nlh,
net/ipv4/nexthop.c
3707
static int nh_valid_dump_bucket_req(const struct nlmsghdr *nlh,
net/ipv4/nexthop.c
3877
static int nh_valid_get_bucket_req(const struct nlmsghdr *nlh,
net/ipv4/nexthop.c
3908
static int rtm_get_nexthop_bucket(struct sk_buff *in_skb, struct nlmsghdr *nlh,
net/ipv4/nexthop.c
920
struct nlmsghdr *nlh;
net/ipv4/route.c
2950
struct nlmsghdr *nlh;
net/ipv4/route.c
3217
const struct nlmsghdr *nlh,
net/ipv4/route.c
3285
static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh,
net/ipv4/tcp_diag.c
199
struct nlmsghdr *nlh;
net/ipv4/tcp_diag.c
239
struct nlmsghdr *nlh;
net/ipv6/addrconf.c
4809
inet6_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh,
net/ipv6/addrconf.c
4984
inet6_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh,
net/ipv6/addrconf.c
5115
static void put_ifaddrmsg(struct nlmsghdr *nlh, u8 prefixlen, u32 flags,
net/ipv6/addrconf.c
5168
struct nlmsghdr *nlh;
net/ipv6/addrconf.c
5248
struct nlmsghdr *nlh;
net/ipv6/addrconf.c
5284
struct nlmsghdr *nlh;
net/ipv6/addrconf.c
537
struct nlmsghdr *nlh;
net/ipv6/addrconf.c
5373
static int inet6_valid_dump_ifaddr_req(const struct nlmsghdr *nlh,
net/ipv6/addrconf.c
5433
const struct nlmsghdr *nlh = cb->nlh;
net/ipv6/addrconf.c
5514
const struct nlmsghdr *nlh,
net/ipv6/addrconf.c
5559
static int inet6_rtm_getaddr(struct sk_buff *in_skb, struct nlmsghdr *nlh,
net/ipv6/addrconf.c
6102
struct nlmsghdr *nlh;
net/ipv6/addrconf.c
6145
static int inet6_valid_dump_ifinfo(const struct nlmsghdr *nlh,
net/ipv6/addrconf.c
619
const struct nlmsghdr *nlh,
net/ipv6/addrconf.c
6243
struct nlmsghdr *nlh;
net/ipv6/addrconf.c
658
struct nlmsghdr *nlh,
net/ipv6/addrconf.c
738
const struct nlmsghdr *nlh = cb->nlh;
net/ipv6/addrlabel.c
375
static int ip6addrlbl_newdel(struct sk_buff *skb, struct nlmsghdr *nlh,
net/ipv6/addrlabel.c
426
static void ip6addrlbl_putmsg(struct nlmsghdr *nlh,
net/ipv6/addrlabel.c
444
struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event,
net/ipv6/addrlabel.c
461
static int ip6addrlbl_valid_dump_req(const struct nlmsghdr *nlh,
net/ipv6/addrlabel.c
488
const struct nlmsghdr *nlh = cb->nlh;
net/ipv6/addrlabel.c
529
const struct nlmsghdr *nlh,
net/ipv6/addrlabel.c
572
static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh,
net/ipv6/ioam6.c
638
struct nlmsghdr *nlh;
net/ipv6/ip6_fib.c
637
const struct nlmsghdr *nlh = cb->nlh;
net/ipv6/ip6mr.c
1062
struct nlmsghdr *nlh = skb_pull(skb,
net/ipv6/ip6mr.c
2537
struct nlmsghdr *nlh;
net/ipv6/ip6mr.c
2649
struct nlmsghdr *nlh;
net/ipv6/ip6mr.c
2701
const struct nlmsghdr *nlh,
net/ipv6/ip6mr.c
2732
static int ip6mr_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh,
net/ipv6/ip6mr.c
2791
const struct nlmsghdr *nlh = cb->nlh;
net/ipv6/ip6mr.c
825
struct nlmsghdr *nlh = skb_pull(skb,
net/ipv6/ip6mr.c
99
static int ip6mr_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh,
net/ipv6/ndisc.c
1186
struct nlmsghdr *nlh;
net/ipv6/route.c
5181
static int rtm_to_fib6_config(struct sk_buff *skb, struct nlmsghdr *nlh,
net/ipv6/route.c
5632
static int inet6_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh,
net/ipv6/route.c
5661
static int inet6_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh,
net/ipv6/route.c
5784
struct nlmsghdr *nlh;
net/ipv6/route.c
6139
const struct nlmsghdr *nlh,
net/ipv6/route.c
6213
static int inet6_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh,
net/mctp/device.c
153
struct sk_buff *req_skb, struct nlmsghdr *req_nlh)
net/mctp/device.c
183
static int mctp_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh,
net/mctp/device.c
246
static int mctp_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh,
net/mctp/device.c
65
struct nlmsghdr *nlh;
net/mctp/neigh.c
115
static int mctp_rtm_newneigh(struct sk_buff *skb, struct nlmsghdr *nlh,
net/mctp/neigh.c
173
static int mctp_rtm_delneigh(struct sk_buff *skb, struct nlmsghdr *nlh,
net/mctp/neigh.c
213
struct nlmsghdr *nlh;
net/mctp/route.c
1409
static int mctp_route_nlparse_common(struct net *net, struct nlmsghdr *nlh,
net/mctp/route.c
1490
static int mctp_route_nlparse_lookup(struct net *net, struct nlmsghdr *nlh,
net/mctp/route.c
1526
static int mctp_route_nlparse_populate(struct net *net, struct nlmsghdr *nlh,
net/mctp/route.c
1580
static int mctp_newroute(struct sk_buff *skb, struct nlmsghdr *nlh,
net/mctp/route.c
1611
static int mctp_delroute(struct sk_buff *skb, struct nlmsghdr *nlh,
net/mctp/route.c
1636
struct nlmsghdr *nlh;
net/mpls/af_mpls.c
1167
struct nlmsghdr *nlh;
net/mpls/af_mpls.c
1242
const struct nlmsghdr *nlh,
net/mpls/af_mpls.c
1282
struct nlmsghdr *nlh,
net/mpls/af_mpls.c
1349
const struct nlmsghdr *nlh = cb->nlh;
net/mpls/af_mpls.c
1849
struct nlmsghdr *nlh,
net/mpls/af_mpls.c
1987
static int mpls_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh,
net/mpls/af_mpls.c
2012
static int mpls_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh,
net/mpls/af_mpls.c
2040
struct nlmsghdr *nlh;
net/mpls/af_mpls.c
2147
static int mpls_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh,
net/mpls/af_mpls.c
2154
static int mpls_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh,
net/mpls/af_mpls.c
2230
const struct nlmsghdr *nlh = cb->nlh;
net/mpls/af_mpls.c
2328
struct nlmsghdr *nlh, struct net *net, u32 portid,
net/mpls/af_mpls.c
2354
const struct nlmsghdr *nlh,
net/mpls/af_mpls.c
2411
static int mpls_getroute(struct sk_buff *in_skb, struct nlmsghdr *in_nlh,
net/mpls/af_mpls.c
2425
struct nlmsghdr *nlh;
net/mpls/af_mpls.c
579
struct nlmsghdr *nlh = info ? info->nlh : NULL;
net/mpls/af_mpls.c
74
struct nlmsghdr *nlh, struct net *net, u32 portid,
net/mptcp/pm_netlink.c
437
struct nlmsghdr *nlh;
net/mptcp/pm_netlink.c
471
struct nlmsghdr *nlh;
net/mptcp/pm_netlink.c
527
struct nlmsghdr *nlh;
net/mptcp/pm_netlink.c
576
struct nlmsghdr *nlh;
net/ncsi/internal.h
271
struct nlmsghdr nlhdr; /* netlink message header */
net/ncsi/ncsi-netlink.c
566
const struct nlmsghdr *nlhdr,
net/ncsi/ncsi-netlink.c
569
struct nlmsghdr *nlh;
net/ncsi/ncsi-netlink.h
22
const struct nlmsghdr *nlhdr,
net/netfilter/ipset/ip_set_core.c
1498
dump_attrs(struct nlmsghdr *nlh)
net/netfilter/ipset/ip_set_core.c
1520
struct nlmsghdr *nlh = nlmsg_hdr(cb->skb);
net/netfilter/ipset/ip_set_core.c
1575
struct nlmsghdr *nlh = NULL;
net/netfilter/ipset/ip_set_core.c
1770
struct nlmsghdr *rep, *nlh = nlmsg_hdr(skb);
net/netfilter/ipset/ip_set_core.c
1815
const struct nlmsghdr *nlh,
net/netfilter/ipset/ip_set_core.c
1923
struct nlmsghdr *nlh2;
net/netfilter/ipset/ip_set_core.c
1971
struct nlmsghdr *nlh2;
net/netfilter/ipset/ip_set_core.c
2024
struct nlmsghdr *nlh2;
net/netfilter/ipset/ip_set_core.c
2059
struct nlmsghdr *nlh2;
net/netfilter/ipset/ip_set_core.c
2104
struct nlmsghdr *nlh2;
net/netfilter/ipset/ip_set_core.c
966
flag_exist(const struct nlmsghdr *nlh)
net/netfilter/ipset/ip_set_core.c
971
static struct nlmsghdr *
net/netfilter/nf_conntrack_netlink.c
2487
struct nlmsghdr *nlh;
net/netfilter/nf_conntrack_netlink.c
2569
struct nlmsghdr *nlh;
net/netfilter/nf_conntrack_netlink.c
3069
struct nlmsghdr *nlh;
net/netfilter/nf_conntrack_netlink.c
3096
struct nlmsghdr *nlh;
net/netfilter/nf_conntrack_netlink.c
3264
const struct nlmsghdr *nlh,
net/netfilter/nf_conntrack_netlink.c
3687
struct nlmsghdr *nlh;
net/netfilter/nf_conntrack_netlink.c
592
struct nlmsghdr *nlh;
net/netfilter/nf_conntrack_netlink.c
748
struct nlmsghdr *nlh;
net/netfilter/nf_tables_api.c
10884
const struct nlmsghdr *nlh = nlmsg_hdr(skb);
net/netfilter/nf_tables_api.c
1161
struct nlmsghdr *nlh;
net/netfilter/nf_tables_api.c
1289
const struct nlmsghdr *nlh,
net/netfilter/nf_tables_api.c
156
const struct nlmsghdr *nlh,
net/netfilter/nf_tables_api.c
2098
struct nlmsghdr *nlh;
net/netfilter/nf_tables_api.c
3776
struct nlmsghdr *nlh;
net/netfilter/nf_tables_api.c
4984
struct nlmsghdr *nlh;
net/netfilter/nf_tables_api.c
6310
struct nlmsghdr *nlh;
net/netfilter/nf_tables_api.c
6408
struct nlmsghdr *nlh;
net/netfilter/nf_tables_api.c
8423
struct nlmsghdr *nlh;
net/netfilter/nf_tables_api.c
9101
static int nft_flowtable_update(struct nft_ctx *ctx, const struct nlmsghdr *nlh,
net/netfilter/nf_tables_api.c
9454
struct nlmsghdr *nlh;
net/netfilter/nf_tables_api.c
9717
struct nlmsghdr *nlh;
net/netfilter/nf_tables_api.c
9874
struct nlmsghdr *nlh = nlmsg_hdr(skb);
net/netfilter/nf_tables_trace.c
244
struct nlmsghdr *nlh;
net/netfilter/nfnetlink.c
214
static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
net/netfilter/nfnetlink.c
316
struct nlmsghdr *nlh;
net/netfilter/nfnetlink.c
321
static int nfnl_err_add(struct list_head *list, struct nlmsghdr *nlh, int err,
net/netfilter/nfnetlink.c
369
static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh,
net/netfilter/nfnetlink.c
377
struct nlmsghdr *onlh = nlh;
net/netfilter/nfnetlink.c
612
static void nfnetlink_rcv_skb_batch(struct sk_buff *skb, struct nlmsghdr *nlh)
net/netfilter/nfnetlink.c
652
struct nlmsghdr *nlh = nlmsg_hdr(skb);
net/netfilter/nfnetlink_acct.c
145
struct nlmsghdr *nlh;
net/netfilter/nfnetlink_cthelper.c
545
struct nlmsghdr *nlh;
net/netfilter/nfnetlink_cttimeout.c
192
struct nlmsghdr *nlh;
net/netfilter/nfnetlink_cttimeout.c
395
struct nlmsghdr *nlh;
net/netfilter/nfnetlink_hook.c
198
struct nlmsghdr *nlh;
net/netfilter/nfnetlink_hook.c
39
const struct nlmsghdr *nlh,
net/netfilter/nfnetlink_log.c
364
struct nlmsghdr *nlh = nfnl_msg_put(inst->skb, 0, 0,
net/netfilter/nfnetlink_log.c
487
struct nlmsghdr *nlh;
net/netfilter/nfnetlink_queue.c
1659
const struct nlmsghdr *nlh,
net/netfilter/nfnetlink_queue.c
715
struct nlmsghdr *nlh;
net/netfilter/nft_compat.c
699
struct nlmsghdr *nlh;
net/netlink/af_netlink.c
2144
struct nlmsghdr *
net/netlink/af_netlink.c
2147
struct nlmsghdr *nlh;
net/netlink/af_netlink.c
2193
static bool nlmsg_check_in_payload(const struct nlmsghdr *nlh, const void *addr)
net/netlink/af_netlink.c
2200
netlink_ack_tlv_fill(struct sk_buff *skb, const struct nlmsghdr *nlh, int err,
net/netlink/af_netlink.c
2235
struct nlmsghdr *nlh;
net/netlink/af_netlink.c
2393
const struct nlmsghdr *nlh,
net/netlink/af_netlink.c
2469
void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err,
net/netlink/af_netlink.c
2473
struct nlmsghdr *rep;
net/netlink/af_netlink.c
2531
struct nlmsghdr *,
net/netlink/af_netlink.c
2535
struct nlmsghdr *nlh;
net/netlink/diag.c
225
static int netlink_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h)
net/netlink/diag.c
48
struct nlmsghdr *nlh;
net/netlink/genetlink.c
1052
struct nlmsghdr *nlh,
net/netlink/genetlink.c
1083
struct nlmsghdr *nlh,
net/netlink/genetlink.c
1126
struct nlmsghdr *nlh, struct genlmsghdr *hdr,
net/netlink/genetlink.c
1157
struct nlmsghdr *nlh,
net/netlink/genetlink.c
1198
static int genl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
net/netlink/genetlink.c
891
struct nlmsghdr *nlh;
net/netlink/genetlink.c
920
struct nlmsghdr *nlh,
net/netlink/genetlink.c
960
struct nlmsghdr *nlh;
net/openvswitch/datapath.c
599
((struct nlmsghdr *) user_skb->data)->nlmsg_len = user_skb->len;
net/packet/diag.c
135
struct nlmsghdr *nlh;
net/packet/diag.c
224
static int packet_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h)
net/phonet/pn_netlink.c
106
struct nlmsghdr *nlh;
net/phonet/pn_netlink.c
177
struct nlmsghdr *nlh;
net/phonet/pn_netlink.c
231
static int route_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
net/phonet/pn_netlink.c
52
static int addr_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
net/psp/psp_nl.c
37
nlmsg_end(rsp, (struct nlmsghdr *)rsp->data);
net/psp/psp_nl.c
486
nlmsg_end(ntf, (struct nlmsghdr *)ntf->data);
net/sched/act_api.c
1652
struct nlmsghdr *nlh;
net/sched/act_api.c
1687
tcf_get_notify(struct net *net, u32 portid, struct nlmsghdr *n,
net/sched/act_api.c
1707
struct nlmsghdr *n, u32 portid,
net/sched/act_api.c
1751
struct nlmsghdr *n, u32 portid,
net/sched/act_api.c
1756
struct nlmsghdr *nlh;
net/sched/act_api.c
1959
static struct sk_buff *tcf_del_notify_msg(struct net *net, struct nlmsghdr *n,
net/sched/act_api.c
1980
static int tcf_del_notify(struct net *net, struct nlmsghdr *n,
net/sched/act_api.c
2009
tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n,
net/sched/act_api.c
2056
static struct sk_buff *tcf_add_notify_msg(struct net *net, struct nlmsghdr *n,
net/sched/act_api.c
2077
static int tcf_add_notify(struct net *net, struct nlmsghdr *n,
net/sched/act_api.c
2097
struct nlmsghdr *n, u32 portid, u32 flags,
net/sched/act_api.c
2129
static int tc_ctl_action(struct sk_buff *skb, struct nlmsghdr *n,
net/sched/act_api.c
2206
struct nlmsghdr *nlh;
net/sched/cls_api.c
2058
struct nlmsghdr *nlh;
net/sched/cls_api.c
2115
struct nlmsghdr *n,
net/sched/cls_api.c
2147
struct nlmsghdr *n, struct tcf_proto *tp,
net/sched/cls_api.c
2173
struct nlmsghdr *n, struct tcf_proto *tp,
net/sched/cls_api.c
2208
u32 parent, struct nlmsghdr *n,
net/sched/cls_api.c
2236
static int tc_new_tfilter(struct sk_buff *skb, struct nlmsghdr *n,
net/sched/cls_api.c
2472
static int tc_del_tfilter(struct sk_buff *skb, struct nlmsghdr *n,
net/sched/cls_api.c
2631
static int tc_get_tfilter(struct sk_buff *skb, struct nlmsghdr *n,
net/sched/cls_api.c
2957
struct nlmsghdr *nlh;
net/sched/cls_api.c
3113
static int tc_ctl_chain(struct sk_buff *skb, struct nlmsghdr *n,
net/sched/sch_api.c
1011
struct nlmsghdr *n, u32 clid, struct Qdisc *q,
net/sched/sch_api.c
1037
struct nlmsghdr *n, u32 clid,
net/sched/sch_api.c
1072
struct nlmsghdr *n, u32 clid,
net/sched/sch_api.c
1106
struct sk_buff *skb, struct nlmsghdr *n, u32 classid,
net/sched/sch_api.c
1485
static int __tc_get_qdisc(struct sk_buff *skb, struct nlmsghdr *n,
net/sched/sch_api.c
1555
static int tc_get_qdisc(struct sk_buff *skb, struct nlmsghdr *n,
net/sched/sch_api.c
1580
static bool req_create_or_replace(struct nlmsghdr *n)
net/sched/sch_api.c
1586
static bool req_create_exclusive(struct nlmsghdr *n)
net/sched/sch_api.c
1592
static bool req_change(struct nlmsghdr *n)
net/sched/sch_api.c
1599
static int __tc_modify_qdisc(struct sk_buff *skb, struct nlmsghdr *n,
net/sched/sch_api.c
1813
static int tc_modify_qdisc(struct sk_buff *skb, struct nlmsghdr *n,
net/sched/sch_api.c
1846
const struct nlmsghdr *nlh = cb->nlh;
net/sched/sch_api.c
1901
const struct nlmsghdr *nlh = cb->nlh;
net/sched/sch_api.c
1972
struct nlmsghdr *nlh;
net/sched/sch_api.c
2019
struct nlmsghdr *n, struct Qdisc *q,
net/sched/sch_api.c
2044
struct nlmsghdr *n, struct Qdisc *q,
net/sched/sch_api.c
2068
struct sk_buff *oskb, struct nlmsghdr *n,
net/sched/sch_api.c
2188
static int __tc_ctl_tclass(struct sk_buff *skb, struct nlmsghdr *n,
net/sched/sch_api.c
2318
static int tc_ctl_tclass(struct sk_buff *skb, struct nlmsghdr *n,
net/sched/sch_api.c
919
struct nlmsghdr *nlh;
net/sctp/diag.c
132
const struct nlmsghdr *unlh,
net/sctp/diag.c
138
struct nlmsghdr *nlh;
net/sctp/diag.c
230
const struct nlmsghdr *nlh;
net/sctp/diag.c
435
const struct nlmsghdr *nlh = cb->nlh;
net/smc/smc_diag.c
240
static int smc_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h)
net/smc/smc_diag.c
81
struct nlmsghdr *nlh;
net/tipc/diag.c
54
struct nlmsghdr *nlh;
net/tipc/diag.c
77
struct nlmsghdr *h)
net/tipc/netlink_compat.c
1297
struct nlmsghdr *req_nlh;
net/tipc/netlink_compat.c
1298
struct nlmsghdr *rep_nlh;
net/tipc/netlink_compat.c
1303
req_nlh = (struct nlmsghdr *)skb->data;
net/tipc/netlink_compat.c
186
struct nlmsghdr *nlmsg;
net/tipc/netlink_compat.c
191
cb.nlh = (struct nlmsghdr *)arg->data;
net/tipc/netlink_compat.c
281
struct nlmsghdr *nlh;
net/unix/diag.c
122
struct nlmsghdr *nlh;
net/unix/diag.c
245
const struct nlmsghdr *nlh,
net/unix/diag.c
294
static int unix_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h)
net/vmw_vsock/diag.c
141
static int vsock_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h)
net/vmw_vsock/diag.c
19
struct nlmsghdr *nlh;
net/wireless/nl80211.c
13663
struct nlmsghdr *nlhdr = nlmsg_hdr(skb);
net/wireless/nl80211.c
19420
struct nlmsghdr *nlh = nlmsg_hdr(skb);
net/wireless/wext-core.c
418
static struct nlmsghdr *rtnetlink_ifinfo_prep(struct net_device *dev,
net/wireless/wext-core.c
422
struct nlmsghdr *nlh;
net/wireless/wext-core.c
465
struct nlmsghdr *nlh;
net/xdp/xsk_diag.c
181
static int xsk_diag_handler_dump(struct sk_buff *nlskb, struct nlmsghdr *hdr)
net/xdp/xsk_diag.c
99
struct nlmsghdr *nlh;
net/xfrm/xfrm_compat.c
139
static struct nlmsghdr *xfrm_nlmsg_put_compat(struct sk_buff *skb,
net/xfrm/xfrm_compat.c
140
const struct nlmsghdr *nlh_src, u16 type)
net/xfrm/xfrm_compat.c
144
struct nlmsghdr *nlh_dst;
net/xfrm/xfrm_compat.c
304
static int xfrm_xlate64(struct sk_buff *dst, const struct nlmsghdr *nlh_src)
net/xfrm/xfrm_compat.c
308
struct nlmsghdr *nlh_dst;
net/xfrm/xfrm_compat.c
338
static int xfrm_alloc_compat(struct sk_buff *skb, const struct nlmsghdr *nlh_src)
net/xfrm/xfrm_compat.c
369
static size_t xfrm_user_rcv_calculate_len64(const struct nlmsghdr *src,
net/xfrm/xfrm_compat.c
417
struct nlmsghdr *nlmsg = dst;
net/xfrm/xfrm_compat.c
479
static int xfrm_xlate32(struct nlmsghdr *dst, const struct nlmsghdr *src,
net/xfrm/xfrm_compat.c
599
static struct nlmsghdr *xfrm_user_rcv_msg_compat(const struct nlmsghdr *h32,
net/xfrm/xfrm_compat.c
606
struct nlmsghdr *h64;
net/xfrm/xfrm_user.c
1039
static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
1118
static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
1504
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
1668
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
1714
static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
1768
static int xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
1801
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
1828
static int xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
1849
static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
1873
static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
2284
static int xfrm_add_policy(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
2412
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
2518
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
2552
static int xfrm_set_default(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
2573
static int xfrm_get_default(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
2577
struct nlmsghdr *r_nlh;
net/xfrm/xfrm_user.c
2603
static int xfrm_get_policy(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
2687
static int xfrm_flush_sa(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
2732
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
2802
static int xfrm_get_ae(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
2851
static int xfrm_new_ae(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
2908
static int xfrm_flush_policy(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
2937
static int xfrm_add_pol_expire(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
3004
static int xfrm_add_sa_expire(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
3042
static int xfrm_add_acquire(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
3183
static int xfrm_do_migrate(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
3247
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
3343
static int xfrm_do_migrate_state(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
3525
static int xfrm_do_migrate_state(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
3532
static int xfrm_do_migrate(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
3588
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
3741
int (*doit)(struct sk_buff *, struct nlmsghdr *, struct nlattr **,
net/xfrm/xfrm_user.c
3837
static int xfrm_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
net/xfrm/xfrm_user.c
3843
struct nlmsghdr *nlh64 = NULL;
net/xfrm/xfrm_user.c
3944
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
4017
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
4102
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
4196
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
4326
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
4380
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
4448
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
4503
struct nlmsghdr *nlh;
net/xfrm/xfrm_user.c
4550
struct nlmsghdr *nlh;
samples/bpf/xdp_router_ipv4_user.c
254
struct nlmsghdr *nh;
samples/bpf/xdp_router_ipv4_user.c
262
struct nlmsghdr nl;
samples/bpf/xdp_router_ipv4_user.c
306
nh = (struct nlmsghdr *)buf;
samples/bpf/xdp_router_ipv4_user.c
316
static void read_arp(struct nlmsghdr *nh, int nll)
samples/bpf/xdp_router_ipv4_user.c
391
struct nlmsghdr *nh;
samples/bpf/xdp_router_ipv4_user.c
398
struct nlmsghdr nl;
samples/bpf/xdp_router_ipv4_user.c
441
nh = (struct nlmsghdr *)buf;
samples/bpf/xdp_router_ipv4_user.c
456
struct nlmsghdr *nh;
samples/bpf/xdp_router_ipv4_user.c
517
nh = (struct nlmsghdr *)buf;
samples/bpf/xdp_router_ipv4_user.c
530
nh = (struct nlmsghdr *)buf;
samples/bpf/xdp_router_ipv4_user.c
63
struct nlmsghdr *nh;
samples/bpf/xdp_router_ipv4_user.c
73
nh = (struct nlmsghdr *)buf_ptr;
samples/bpf/xdp_router_ipv4_user.c
91
static void read_route(struct nlmsghdr *nh, int nll)
samples/connector/cn_test.c
46
struct nlmsghdr *nlh;
samples/connector/ucon.c
102
struct nlmsghdr *reply;
samples/connector/ucon.c
214
reply = (struct nlmsghdr *)buf;
samples/connector/ucon.c
48
struct nlmsghdr *nlh;
samples/connector/ucon.c
56
nlh = (struct nlmsghdr *)buf;
security/selinux/hooks.c
6270
struct nlmsghdr *nlh;
security/selinux/hooks.c
6276
nlh = (struct nlmsghdr *)data;
security/selinux/netlink.c
44
static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data)
security/selinux/netlink.c
73
struct nlmsghdr *nlh;
tools/accounting/delaytop.c
429
struct nlmsghdr n;
tools/accounting/delaytop.c
466
struct nlmsghdr n;
tools/accounting/delaytop.c
659
struct nlmsghdr n;
tools/accounting/delaytop.c
809
struct nlmsghdr n;
tools/accounting/getdelays.c
192
struct nlmsghdr n;
tools/accounting/getdelays.c
677
sizeof(struct nlmsghdr), msg.n.nlmsg_len, rep_len);
tools/accounting/getdelays.c
68
struct nlmsghdr n;
tools/accounting/procacct.c
198
struct nlmsghdr n;
tools/accounting/procacct.c
400
sizeof(struct nlmsghdr), msg.n.nlmsg_len, rep_len);
tools/accounting/procacct.c
79
struct nlmsghdr n;
tools/bpf/bpftool/net.c
107
typedef int (*__dump_nlmsg_t)(struct nlmsghdr *nlmsg, dump_nlmsg_t, void *cookie);
tools/bpf/bpftool/net.c
158
struct nlmsghdr *nh;
tools/bpf/bpftool/net.c
173
for (nh = (struct nlmsghdr *)buf; NLMSG_OK(nh, (unsigned int)len);
tools/bpf/bpftool/net.c
213
static int __dump_class_nlmsg(struct nlmsghdr *nlh,
tools/bpf/bpftool/net.c
233
struct nlmsghdr nlh;
tools/bpf/bpftool/net.c
252
static int __dump_qdisc_nlmsg(struct nlmsghdr *nlh,
tools/bpf/bpftool/net.c
272
struct nlmsghdr nlh;
tools/bpf/bpftool/net.c
291
static int __dump_filter_nlmsg(struct nlmsghdr *nlh,
tools/bpf/bpftool/net.c
311
struct nlmsghdr nlh;
tools/bpf/bpftool/net.c
331
static int __dump_link_nlmsg(struct nlmsghdr *nlh,
tools/bpf/bpftool/net.c
350
struct nlmsghdr nlh;
tools/include/uapi/linux/netlink.h
111
struct nlmsghdr msg;
tools/include/uapi/linux/netlink.h
91
#define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
tools/include/uapi/linux/netlink.h
96
(struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
tools/include/uapi/linux/netlink.h
97
#define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
tools/include/uapi/linux/netlink.h
98
(nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
tools/lib/bpf/netlink.c
143
struct nlmsghdr *nh;
tools/lib/bpf/netlink.c
174
for (nh = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(nh, len);
tools/lib/bpf/netlink.c
251
static int parse_genl_family_id(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn,
tools/lib/bpf/netlink.c
28
typedef int (*__dump_nlmsg_t)(struct nlmsghdr *nlmsg, libbpf_dump_nlmsg_t,
tools/lib/bpf/netlink.c
346
static int __dump_link_nlmsg(struct nlmsghdr *nlh,
tools/lib/bpf/netlink.c
407
static int parse_xdp_features(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn,
tools/lib/bpf/netlink.c
697
static int get_tc_info(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn,
tools/lib/bpf/nlattr.c
157
int libbpf_nla_dump_errormsg(struct nlmsghdr *nlh)
tools/lib/bpf/nlattr.c
81
static inline int nlmsg_len(const struct nlmsghdr *nlh)
tools/lib/bpf/nlattr.h
129
int libbpf_nla_dump_errormsg(struct nlmsghdr *nlh);
tools/lib/bpf/nlattr.h
58
struct nlmsghdr nh;
tools/lib/thermal/events.c
23
struct nlmsghdr *nlh = nlmsg_hdr(n);
tools/lib/thermal/sampling.c
13
struct nlmsghdr *nlh = nlmsg_hdr(n);
tools/net/ynl/lib/ynl-priv.h
101
struct nlmsghdr *ynl_msg_start_req(struct ynl_sock *ys, __u32 id, __u16 flags);
tools/net/ynl/lib/ynl-priv.h
102
struct nlmsghdr *ynl_msg_start_dump(struct ynl_sock *ys, __u32 id);
tools/net/ynl/lib/ynl-priv.h
104
struct nlmsghdr *
tools/net/ynl/lib/ynl-priv.h
106
struct nlmsghdr *
tools/net/ynl/lib/ynl-priv.h
136
int ynl_exec(struct ynl_sock *ys, struct nlmsghdr *req_nlh,
tools/net/ynl/lib/ynl-priv.h
138
int ynl_exec_dump(struct ynl_sock *ys, struct nlmsghdr *req_nlh,
tools/net/ynl/lib/ynl-priv.h
148
static inline struct nlmsghdr *ynl_nlmsg_put_header(void *buf)
tools/net/ynl/lib/ynl-priv.h
150
struct nlmsghdr *nlh = (struct nlmsghdr *)buf;
tools/net/ynl/lib/ynl-priv.h
158
static inline unsigned int ynl_nlmsg_data_len(const struct nlmsghdr *nlh)
tools/net/ynl/lib/ynl-priv.h
163
static inline void *ynl_nlmsg_data(const struct nlmsghdr *nlh)
tools/net/ynl/lib/ynl-priv.h
169
ynl_nlmsg_data_offset(const struct nlmsghdr *nlh, unsigned int offset)
tools/net/ynl/lib/ynl-priv.h
174
static inline void *ynl_nlmsg_end_addr(const struct nlmsghdr *nlh)
tools/net/ynl/lib/ynl-priv.h
180
ynl_nlmsg_put_extra_header(struct nlmsghdr *nlh, unsigned int size)
tools/net/ynl/lib/ynl-priv.h
257
__ynl_attr_put_overflow(struct nlmsghdr *nlh, size_t size)
tools/net/ynl/lib/ynl-priv.h
272
ynl_attr_nest_start(struct nlmsghdr *nlh, unsigned int attr_type)
tools/net/ynl/lib/ynl-priv.h
287
ynl_attr_nest_end(struct nlmsghdr *nlh, struct nlattr *attr)
tools/net/ynl/lib/ynl-priv.h
293
ynl_attr_put(struct nlmsghdr *nlh, unsigned int attr_type,
tools/net/ynl/lib/ynl-priv.h
311
ynl_attr_put_str(struct nlmsghdr *nlh, unsigned int attr_type, const char *str)
tools/net/ynl/lib/ynl-priv.h
381
ynl_attr_put_s8(struct nlmsghdr *nlh, unsigned int attr_type, __s8 value)
tools/net/ynl/lib/ynl-priv.h
387
ynl_attr_put_s16(struct nlmsghdr *nlh, unsigned int attr_type, __s16 value)
tools/net/ynl/lib/ynl-priv.h
393
ynl_attr_put_s32(struct nlmsghdr *nlh, unsigned int attr_type, __s32 value)
tools/net/ynl/lib/ynl-priv.h
399
ynl_attr_put_s64(struct nlmsghdr *nlh, unsigned int attr_type, __s64 value)
tools/net/ynl/lib/ynl-priv.h
405
ynl_attr_put_u8(struct nlmsghdr *nlh, unsigned int attr_type, __u8 value)
tools/net/ynl/lib/ynl-priv.h
411
ynl_attr_put_u16(struct nlmsghdr *nlh, unsigned int attr_type, __u16 value)
tools/net/ynl/lib/ynl-priv.h
417
ynl_attr_put_u32(struct nlmsghdr *nlh, unsigned int attr_type, __u32 value)
tools/net/ynl/lib/ynl-priv.h
42
typedef int (*ynl_parse_cb_t)(const struct nlmsghdr *nlh,
tools/net/ynl/lib/ynl-priv.h
423
ynl_attr_put_u64(struct nlmsghdr *nlh, unsigned int attr_type, __u64 value)
tools/net/ynl/lib/ynl-priv.h
453
ynl_attr_put_uint(struct nlmsghdr *nlh, __u16 type, __u64 data)
tools/net/ynl/lib/ynl-priv.h
462
ynl_attr_put_sint(struct nlmsghdr *nlh, __u16 type, __s64 data)
tools/net/ynl/lib/ynl.c
1007
ynl_dump_trampoline(const struct nlmsghdr *nlh, struct ynl_parse_arg *data)
tools/net/ynl/lib/ynl.c
1043
int ynl_exec_dump(struct ynl_sock *ys, struct nlmsghdr *req_nlh,
tools/net/ynl/lib/ynl.c
206
ynl_ext_ack_check(struct ynl_sock *ys, const struct nlmsghdr *nlh,
tools/net/ynl/lib/ynl.c
264
off -= sizeof(struct nlmsghdr);
tools/net/ynl/lib/ynl.c
291
off -= sizeof(struct nlmsghdr);
tools/net/ynl/lib/ynl.c
326
ynl_cb_error(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg)
tools/net/ynl/lib/ynl.c
345
static int ynl_cb_done(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg)
tools/net/ynl/lib/ynl.c
471
struct nlmsghdr *ynl_msg_start(struct ynl_sock *ys, __u32 id, __u16 flags)
tools/net/ynl/lib/ynl.c
473
struct nlmsghdr *nlh;
tools/net/ynl/lib/ynl.c
491
static int ynl_msg_end(struct ynl_sock *ys, struct nlmsghdr *nlh)
tools/net/ynl/lib/ynl.c
509
struct nlmsghdr *
tools/net/ynl/lib/ynl.c
514
struct nlmsghdr *nlh;
tools/net/ynl/lib/ynl.c
529
struct nlmsghdr *ynl_msg_start_req(struct ynl_sock *ys, __u32 id, __u16 flags)
tools/net/ynl/lib/ynl.c
534
struct nlmsghdr *ynl_msg_start_dump(struct ynl_sock *ys, __u32 id)
tools/net/ynl/lib/ynl.c
539
struct nlmsghdr *
tools/net/ynl/lib/ynl.c
545
struct nlmsghdr *
tools/net/ynl/lib/ynl.c
552
static int ynl_cb_null(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg)
tools/net/ynl/lib/ynl.c
564
const struct nlmsghdr *nlh;
tools/net/ynl/lib/ynl.c
577
nlh = (struct nlmsghdr *)&ys->rx_buf[len - rem];
tools/net/ynl/lib/ynl.c
670
ynl_get_family_info_cb(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg)
tools/net/ynl/lib/ynl.c
703
struct nlmsghdr *nlh;
tools/net/ynl/lib/ynl.c
868
static int ynl_ntf_parse(struct ynl_sock *ys, const struct nlmsghdr *nlh)
tools/net/ynl/lib/ynl.c
914
ynl_ntf_trampoline(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg)
tools/net/ynl/lib/ynl.c
951
ynl_check_alien(struct ynl_sock *ys, const struct nlmsghdr *nlh, __u32 rsp_cmd)
tools/net/ynl/lib/ynl.c
974
int ynl_req_trampoline(const struct nlmsghdr *nlh, struct ynl_parse_arg *yarg)
tools/net/ynl/lib/ynl.c
986
int ynl_exec(struct ynl_sock *ys, struct nlmsghdr *req_nlh,
tools/net/ynl/lib/ynl.h
82
struct nlmsghdr *nlh;
tools/power/x86/intel-speed-select/hfi-events.c
192
struct nlmsghdr *nlh = nlmsg_hdr(n);
tools/testing/selftests/acct/taskstats_fill_stats_tgid.c
124
struct nlmsghdr nlh;
tools/testing/selftests/acct/taskstats_fill_stats_tgid.c
129
struct nlmsghdr *nlh;
tools/testing/selftests/acct/taskstats_fill_stats_tgid.c
159
for (nlh = (struct nlmsghdr *)resp; NLMSG_OK(nlh, len);
tools/testing/selftests/acct/taskstats_fill_stats_tgid.c
184
struct nlmsghdr nlh;
tools/testing/selftests/acct/taskstats_fill_stats_tgid.c
189
struct nlmsghdr *nlh;
tools/testing/selftests/acct/taskstats_fill_stats_tgid.c
223
for (nlh = (struct nlmsghdr *)resp; NLMSG_OK(nlh, len);
tools/testing/selftests/bpf/netlink_helpers.c
141
static void rtnl_talk_error(struct nlmsghdr *h, struct nlmsgerr *err,
tools/testing/selftests/bpf/netlink_helpers.c
149
size_t iovlen, struct nlmsghdr **answer,
tools/testing/selftests/bpf/netlink_helpers.c
161
struct nlmsghdr *h;
tools/testing/selftests/bpf/netlink_helpers.c
192
for (h = (struct nlmsghdr *)buf; status >= sizeof(*h); ) {
tools/testing/selftests/bpf/netlink_helpers.c
212
h = (struct nlmsghdr *)((char *)h + NLMSG_ALIGN(len));
tools/testing/selftests/bpf/netlink_helpers.c
239
*answer = (struct nlmsghdr *)buf;
tools/testing/selftests/bpf/netlink_helpers.c
245
*answer = (struct nlmsghdr *)buf;
tools/testing/selftests/bpf/netlink_helpers.c
250
h = (struct nlmsghdr *)((char *)h + NLMSG_ALIGN(len));
tools/testing/selftests/bpf/netlink_helpers.c
264
static int __rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n,
tools/testing/selftests/bpf/netlink_helpers.c
265
struct nlmsghdr **answer, bool show_rtnl_err,
tools/testing/selftests/bpf/netlink_helpers.c
276
int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n,
tools/testing/selftests/bpf/netlink_helpers.c
277
struct nlmsghdr **answer)
tools/testing/selftests/bpf/netlink_helpers.c
282
int addattr(struct nlmsghdr *n, int maxlen, int type)
tools/testing/selftests/bpf/netlink_helpers.c
287
int addattr8(struct nlmsghdr *n, int maxlen, int type, __u8 data)
tools/testing/selftests/bpf/netlink_helpers.c
292
int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data)
tools/testing/selftests/bpf/netlink_helpers.c
297
int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data)
tools/testing/selftests/bpf/netlink_helpers.c
302
int addattr64(struct nlmsghdr *n, int maxlen, int type, __u64 data)
tools/testing/selftests/bpf/netlink_helpers.c
307
int addattrstrz(struct nlmsghdr *n, int maxlen, int type, const char *str)
tools/testing/selftests/bpf/netlink_helpers.c
312
int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data,
tools/testing/selftests/bpf/netlink_helpers.c
332
int addraw_l(struct nlmsghdr *n, int maxlen, const void *data, int len)
tools/testing/selftests/bpf/netlink_helpers.c
346
struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type)
tools/testing/selftests/bpf/netlink_helpers.c
354
int addattr_nest_end(struct nlmsghdr *n, struct rtattr *nest)
tools/testing/selftests/bpf/netlink_helpers.h
27
const struct nlmsghdr *inner_nlh);
tools/testing/selftests/bpf/netlink_helpers.h
32
int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n,
tools/testing/selftests/bpf/netlink_helpers.h
33
struct nlmsghdr **answer)
tools/testing/selftests/bpf/netlink_helpers.h
36
int addattr(struct nlmsghdr *n, int maxlen, int type);
tools/testing/selftests/bpf/netlink_helpers.h
37
int addattr8(struct nlmsghdr *n, int maxlen, int type, __u8 data);
tools/testing/selftests/bpf/netlink_helpers.h
38
int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data);
tools/testing/selftests/bpf/netlink_helpers.h
39
int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data);
tools/testing/selftests/bpf/netlink_helpers.h
40
int addattr64(struct nlmsghdr *n, int maxlen, int type, __u64 data);
tools/testing/selftests/bpf/netlink_helpers.h
41
int addattrstrz(struct nlmsghdr *n, int maxlen, int type, const char *data);
tools/testing/selftests/bpf/netlink_helpers.h
42
int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data, int alen);
tools/testing/selftests/bpf/netlink_helpers.h
43
int addraw_l(struct nlmsghdr *n, int maxlen, const void *data, int len);
tools/testing/selftests/bpf/netlink_helpers.h
44
struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type);
tools/testing/selftests/bpf/netlink_helpers.h
45
int addattr_nest_end(struct nlmsghdr *n, struct rtattr *nest);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1793
struct nlmsghdr n;
tools/testing/selftests/bpf/prog_tests/tc_netkit.c
38
struct nlmsghdr n;
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
170
struct nlmsghdr n;
tools/testing/selftests/bpf/prog_tests/test_bpf_smc.c
48
struct nlmsghdr n;
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
171
static struct rtattr *rtattr_add(struct nlmsghdr *nh, unsigned short type,
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
182
static struct rtattr *rtattr_add_str(struct nlmsghdr *nh, unsigned short type,
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
191
static struct rtattr *rtattr_begin(struct nlmsghdr *nh, unsigned short type)
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
196
static void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr)
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
206
struct nlmsghdr nh;
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
213
struct nlmsghdr *nh;
tools/testing/selftests/bpf/xsk.c
338
struct nlmsghdr *nh;
tools/testing/selftests/bpf/xsk.c
368
for (nh = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(nh, len);
tools/testing/selftests/bpf/xsk.c
87
struct nlmsghdr nh;
tools/testing/selftests/connector/proc_filter.c
136
struct nlmsghdr *hdr;
tools/testing/selftests/connector/proc_filter.c
138
hdr = (struct nlmsghdr *)buff;
tools/testing/selftests/connector/proc_filter.c
21
#define NL_MESSAGE_SIZE (sizeof(struct nlmsghdr) + sizeof(struct cn_msg) + \
tools/testing/selftests/connector/proc_filter.c
23
#define NL_MESSAGE_SIZE_NF (sizeof(struct nlmsghdr) + sizeof(struct cn_msg) + \
tools/testing/selftests/connector/proc_filter.c
43
struct nlmsghdr *hdr;
tools/testing/selftests/connector/proc_filter.c
46
hdr = (struct nlmsghdr *)buff;
tools/testing/selftests/landlock/audit.h
38
struct nlmsghdr header;
tools/testing/selftests/nci/nci_dev.c
179
struct nlmsghdr n;
tools/testing/selftests/nci/nci_dev.c
641
struct nlmsghdr n;
tools/testing/selftests/nci/nci_dev.c
733
genlhdr = (struct genlmsghdr *)((struct nlmsghdr *)evt_data + 1);
tools/testing/selftests/nci/nci_dev.c
85
struct nlmsghdr n;
tools/testing/selftests/net/af_unix/diag_uid.c
151
struct nlmsghdr *nlh;
tools/testing/selftests/net/af_unix/diag_uid.c
157
nlh = (struct nlmsghdr *)buf;
tools/testing/selftests/net/af_unix/diag_uid.c
81
struct nlmsghdr nlh;
tools/testing/selftests/net/forwarding/ipmr.c
116
static struct rtattr *nl_add_rtattr(struct nlmsghdr *nlmsg, struct rtattr *rta,
tools/testing/selftests/net/forwarding/ipmr.c
136
struct nlmsghdr nlmsg;
tools/testing/selftests/net/forwarding/ipmr.c
155
struct nlmsghdr *nlmsg = &req.nlmsg;
tools/testing/selftests/net/ipsec.c
1013
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
1017
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
1106
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
1181
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
1231
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
1282
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
1286
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
1372
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
1443
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
1515
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
1596
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
1653
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
211
static inline struct rtattr *rtattr_hdr(struct nlmsghdr *nh)
tools/testing/selftests/net/ipsec.c
216
static int rtattr_pack(struct nlmsghdr *nh, size_t req_sz,
tools/testing/selftests/net/ipsec.c
237
static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz,
tools/testing/selftests/net/ipsec.c
248
static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz,
tools/testing/selftests/net/ipsec.c
254
static inline void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr)
tools/testing/selftests/net/ipsec.c
261
static int veth_pack_peerb(struct nlmsghdr *nh, size_t req_sz,
tools/testing/selftests/net/ipsec.c
289
struct nlmsghdr hdr;
tools/testing/selftests/net/ipsec.c
291
struct nlmsghdr orig_msg;
tools/testing/selftests/net/ipsec.c
314
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
364
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
404
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
431
struct nlmsghdr nh;
tools/testing/selftests/net/ipsec.c
828
static int xfrm_state_pack_algo(struct nlmsghdr *nh, size_t req_sz,
tools/testing/selftests/net/ipsec.c
924
struct nlmsghdr nh;
tools/testing/selftests/net/mptcp/mptcp_diag.c
114
struct nlmsghdr nlh;
tools/testing/selftests/net/mptcp/mptcp_diag.c
265
static void parse_nlmsg(struct nlmsghdr *nlh, __u32 proto)
tools/testing/selftests/net/mptcp/mptcp_diag.c
309
struct nlmsghdr *nlh = (struct nlmsghdr *)rcv_buff;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
104
u_int8_t buffer[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
108
struct nlmsghdr *nh;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1082
static void print_addrs(struct nlmsghdr *nh, int pm_family, int total_len)
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1111
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1115
struct nlmsghdr *nh;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1163
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1167
struct nlmsghdr *nh;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1202
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1205
struct nlmsghdr *nh;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1217
static void print_limits(struct nlmsghdr *nh, int pm_family, int total_len)
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
123
res_len = NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1254
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1259
struct nlmsghdr *nh;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
135
nh = (struct nlmsghdr *)buffer;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1350
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1354
struct nlmsghdr *nh;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
218
static int do_nl_req(int fd, struct nlmsghdr *nh, int len, int max)
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
253
static int genl_parse_getfamily(struct nlmsghdr *nlh, int *pm_family,
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
324
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
327
struct nlmsghdr *nh;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
349
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
354
struct nlmsghdr *nh;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
461
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
466
struct nlmsghdr *nh;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
50
struct nlmsghdr *nh = (void *)data;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
595
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
598
struct nlmsghdr *nh;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
644
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
651
struct nlmsghdr *nh;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
66
static int nl_error(struct nlmsghdr *nh)
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
771
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
775
struct nlmsghdr *nh;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
906
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
910
struct nlmsghdr *nh;
tools/testing/selftests/net/netfilter/audit_logread.c
21
struct nlmsghdr nlh;
tools/testing/selftests/net/netfilter/conntrack_dump_flush.c
101
static int conntrack_data_insert(struct mnl_socket *sock, struct nlmsghdr *nlh,
tools/testing/selftests/net/netfilter/conntrack_dump_flush.c
105
struct nlmsghdr *rplnlh;
tools/testing/selftests/net/netfilter/conntrack_dump_flush.c
149
struct nlmsghdr *nlh;
tools/testing/selftests/net/netfilter/conntrack_dump_flush.c
183
struct nlmsghdr *nlh;
tools/testing/selftests/net/netfilter/conntrack_dump_flush.c
20
static int build_cta_tuple_v4(struct nlmsghdr *nlh, int type,
tools/testing/selftests/net/netfilter/conntrack_dump_flush.c
213
static int count_entries(const struct nlmsghdr *nlh, void *data)
tools/testing/selftests/net/netfilter/conntrack_dump_flush.c
222
struct nlmsghdr *nlh, *rplnlh;
tools/testing/selftests/net/netfilter/conntrack_dump_flush.c
269
struct nlmsghdr *nlh, *rplnlh;
tools/testing/selftests/net/netfilter/conntrack_dump_flush.c
50
static int build_cta_tuple_v6(struct nlmsghdr *nlh, int type,
tools/testing/selftests/net/netfilter/conntrack_dump_flush.c
80
static int build_cta_proto(struct nlmsghdr *nlh)
tools/testing/selftests/net/netfilter/nf_queue.c
123
static struct nlmsghdr *
tools/testing/selftests/net/netfilter/nf_queue.c
126
struct nlmsghdr *nlh = mnl_nlmsg_put_header(buf);
tools/testing/selftests/net/netfilter/nf_queue.c
147
static struct nlmsghdr *
tools/testing/selftests/net/netfilter/nf_queue.c
150
struct nlmsghdr *nlh = mnl_nlmsg_put_header(buf);
tools/testing/selftests/net/netfilter/nf_queue.c
170
static struct nlmsghdr *
tools/testing/selftests/net/netfilter/nf_queue.c
177
struct nlmsghdr *nlh;
tools/testing/selftests/net/netfilter/nf_queue.c
215
struct nlmsghdr *nlh;
tools/testing/selftests/net/netfilter/nf_queue.c
279
struct nlmsghdr *nlh;
tools/testing/selftests/net/netfilter/nf_queue.c
80
static int queue_cb(const struct nlmsghdr *nlh, void *data)
tools/testing/selftests/net/netlink-dumps.c
155
ASSERT_GE(n, (ssize_t)sizeof(struct nlmsghdr));
tools/testing/selftests/net/netlink-dumps.c
167
sizeof(struct nlmsghdr) + sizeof(struct ndmsg));
tools/testing/selftests/net/netlink-dumps.c
174
struct nlmsghdr nlhdr;
tools/testing/selftests/net/netlink-dumps.c
212
ASSERT_GE(n, (ssize_t)sizeof(struct nlmsghdr));
tools/testing/selftests/net/netlink-dumps.c
215
ASSERT_GE(n, (ssize_t)sizeof(struct nlmsghdr));
tools/testing/selftests/net/netlink-dumps.c
46
const struct nlmsghdr *nlh;
tools/testing/selftests/net/netlink-dumps.c
51
nlh = (struct nlmsghdr *)&buf[n - rem];
tools/testing/selftests/net/netlink-dumps.c
91
struct nlmsghdr nlhdr;
tools/testing/selftests/net/ovpn/ovpn-cli.c
1081
static int ovpn_addattr(struct nlmsghdr *n, int maxlen, int type,
tools/testing/selftests/net/ovpn/ovpn-cli.c
1107
static struct rtattr *ovpn_nest_start(struct nlmsghdr *msg, size_t max_size,
tools/testing/selftests/net/ovpn/ovpn-cli.c
1118
static void ovpn_nest_end(struct nlmsghdr *msg, struct rtattr *nest)
tools/testing/selftests/net/ovpn/ovpn-cli.c
1191
typedef int (*ovpn_parse_reply_cb)(struct nlmsghdr *msg, void *arg);
tools/testing/selftests/net/ovpn/ovpn-cli.c
1194
static int ovpn_rt_send(struct nlmsghdr *payload, pid_t peer,
tools/testing/selftests/net/ovpn/ovpn-cli.c
1201
struct nlmsghdr *h;
tools/testing/selftests/net/ovpn/ovpn-cli.c
1283
h = (struct nlmsghdr *)buf;
tools/testing/selftests/net/ovpn/ovpn-cli.c
1346
h = (struct nlmsghdr *)((uint8_t *)h +
tools/testing/selftests/net/ovpn/ovpn-cli.c
1369
struct nlmsghdr n;
tools/testing/selftests/net/ovpn/ovpn-cli.c
1502
struct nlmsghdr *nlh = nlmsg_hdr(msg);
tools/testing/selftests/net/ovpn/ovpn-cli.c
257
struct nlmsghdr *nlh = (struct nlmsghdr *)err - 1;
tools/testing/selftests/net/tap.c
140
struct nlmsghdr nh;
tools/testing/selftests/net/tap.c
171
static int macvtap_fill_rtattr(struct nlmsghdr *nh)
tools/testing/selftests/net/tap.c
33
static struct rtattr *rtattr_add(struct nlmsghdr *nh, unsigned short type,
tools/testing/selftests/net/tap.c
44
static struct rtattr *rtattr_begin(struct nlmsghdr *nh, unsigned short type)
tools/testing/selftests/net/tap.c
49
static void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr)
tools/testing/selftests/net/tap.c
56
static struct rtattr *rtattr_add_str(struct nlmsghdr *nh, unsigned short type,
tools/testing/selftests/net/tap.c
68
static struct rtattr *rtattr_add_any(struct nlmsghdr *nh, unsigned short type,
tools/testing/selftests/net/tap.c
78
int (*fill_rtattr)(struct nlmsghdr *nh),
tools/testing/selftests/net/tap.c
79
int (*fill_info_data)(struct nlmsghdr *nh))
tools/testing/selftests/net/tap.c
82
struct nlmsghdr nh;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
102
static inline void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr)
tools/testing/selftests/net/tcp_ao/lib/netlink.c
109
static int veth_pack_peerb(struct nlmsghdr *nh, size_t req_sz,
tools/testing/selftests/net/tcp_ao/lib/netlink.c
139
struct nlmsghdr nh;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
202
struct nlmsghdr nh;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
249
struct nlmsghdr nh;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
311
struct nlmsghdr nh;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
353
struct nlmsghdr nh;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
37
struct nlmsghdr hdr;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
39
struct nlmsghdr orig_msg;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
60
static inline struct rtattr *rtattr_hdr(struct nlmsghdr *nh)
tools/testing/selftests/net/tcp_ao/lib/netlink.c
65
static int rtattr_pack(struct nlmsghdr *nh, size_t req_sz,
tools/testing/selftests/net/tcp_ao/lib/netlink.c
85
static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz,
tools/testing/selftests/net/tcp_ao/lib/netlink.c
96
static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz,
tools/testing/vsock/vsock_diag_test.c
172
struct nlmsghdr nlh;
tools/testing/vsock/vsock_diag_test.c
270
const struct nlmsghdr *h;
tools/testing/vsock/vsock_diag_test.c
281
h = (struct nlmsghdr *)buf;