Home
last modified time | relevance | path

Searched defs:nlh (Results 1 – 25 of 102) sorted by relevance

12345

/Linux-v4.19/net/dcb/
Ddcbnl.c198 struct nlmsghdr *nlh; in dcbnl_newmsg() local
218 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate()
229 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg()
273 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getperm_hwaddr()
287 static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getcap()
331 static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getnumtcs()
377 static int dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setnumtcs()
410 static int dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfcstate()
420 static int dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setpfcstate()
438 static int dcbnl_getapp(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getapp()
[all …]
/Linux-v4.19/drivers/staging/gdm724x/
Dnetlink_k.c20 #define ND_NLMSG_DATA(nlh) ((void *)((char *)NLMSG_DATA(nlh) + \ argument
23 #define ND_NLMSG_R_LEN(nlh) (nlh->nlmsg_len - ND_IFINDEX_LEN) argument
24 #define ND_NLMSG_IFIDX(nlh) NLMSG_DATA(nlh) argument
31 struct nlmsghdr *nlh; in netlink_rcv_cb() local
96 struct nlmsghdr *nlh; in netlink_send() local
/Linux-v4.19/net/netfilter/
Dnfnetlink_cttimeout.c79 const struct nlmsghdr *nlh, in cttimeout_new_timeout()
166 struct nlmsghdr *nlh; in ctnl_timeout_fill_info() local
252 const struct nlmsghdr *nlh, in cttimeout_get_timeout()
324 const struct nlmsghdr *nlh, in cttimeout_del_timeout()
356 const struct nlmsghdr *nlh, in cttimeout_default_set()
397 struct nlmsghdr *nlh; in cttimeout_default_fill_info() local
442 const struct nlmsghdr *nlh, in cttimeout_default_get()
Dnfnetlink.c159 static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_msg()
243 struct nlmsghdr *nlh; member
248 static int nfnl_err_add(struct list_head *list, struct nlmsghdr *nlh, int err, in nfnl_err_add()
296 static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_batch()
505 static void nfnetlink_rcv_skb_batch(struct sk_buff *skb, struct nlmsghdr *nlh) in nfnetlink_rcv_skb_batch()
545 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nfnetlink_rcv() local
Dnf_conntrack_netlink.c513 struct nlmsghdr *nlh; in ctnetlink_fill_info() local
680 struct nlmsghdr *nlh; in ctnetlink_conntrack_event() local
1235 const struct nlmsghdr *nlh, in ctnetlink_del_conntrack()
1293 const struct nlmsghdr *nlh, in ctnetlink_get_conntrack()
1448 const struct nlmsghdr *nlh, in ctnetlink_get_ct_dying()
1471 const struct nlmsghdr *nlh, in ctnetlink_get_ct_unconfirmed()
2062 const struct nlmsghdr *nlh, in ctnetlink_new_conntrack()
2165 struct nlmsghdr *nlh; in ctnetlink_ct_stat_cpu_fill_info() local
2231 const struct nlmsghdr *nlh, in ctnetlink_stat_ct_cpu()
2249 struct nlmsghdr *nlh; in ctnetlink_stat_ct_fill_info() local
[all …]
Dnfnetlink_acct.c51 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfnl_acct_new()
137 struct nlmsghdr *nlh; in nfnl_acct_fill_info() local
271 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfnl_acct_get()
344 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfnl_acct_del()
/Linux-v4.19/net/wimax/
Dop-msg.c186 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_data_len() local
208 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_data() local
229 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_len() local
337 struct nlmsghdr *nlh = info->nlhdr; in wimax_gnl_doit_msg_from_user() local
/Linux-v4.19/net/xfrm/
Dxfrm_user.c650 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_add_sa()
729 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_del_sa()
958 struct nlmsghdr *nlh; in dump_one_state() local
1090 struct nlmsghdr *nlh; in build_spdinfo() local
1136 static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_set_spdinfo()
1181 static int xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_spdinfo()
1213 struct nlmsghdr *nlh; in build_sadinfo() local
1240 static int xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sadinfo()
1260 static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sa()
1284 static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_alloc_userspi()
[all …]
/Linux-v4.19/include/net/
Dnetlink.h234 struct nlmsghdr *nlh; member
313 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data()
322 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
332 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata()
344 static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen()
354 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok()
370 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next()
390 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse()
410 static inline struct nlattr *nlmsg_find_attr(const struct nlmsghdr *nlh, in nlmsg_find_attr()
425 static inline int nlmsg_validate(const struct nlmsghdr *nlh, in nlmsg_validate()
[all …]
/Linux-v4.19/net/netfilter/ipset/
Dip_set_core.c779 flag_exist(const struct nlmsghdr *nlh) in flag_exist()
788 struct nlmsghdr *nlh; in start_msg() local
868 const struct nlmsghdr *nlh, in ip_set_none()
876 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_create()
1018 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_destroy()
1097 const struct nlmsghdr *nlh, in ip_set_flush()
1137 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_rename()
1187 const struct nlmsghdr *nlh, in ip_set_swap()
1266 dump_attrs(struct nlmsghdr *nlh) in dump_attrs()
1280 struct nlmsghdr *nlh = nlmsg_hdr(cb->skb); in dump_init() local
[all …]
/Linux-v4.19/crypto/
Dcrypto_user.c232 struct nlmsghdr *nlh; in crypto_report_alg() local
327 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg()
363 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg()
400 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg()
448 static int crypto_del_rng(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_rng()
486 static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_user_rcv_msg()
/Linux-v4.19/net/phonet/
Dpn_netlink.c64 static int addr_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in addr_doit()
112 struct nlmsghdr *nlh; in fill_addr() local
177 struct nlmsghdr *nlh; in fill_route() local
231 static int route_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in route_doit()
/Linux-v4.19/drivers/infiniband/core/
Dnetlink.c136 void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq, in ibnl_put_msg()
146 int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_put_attr()
157 static int rdma_nl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in rdma_nl_rcv_msg()
211 struct nlmsghdr *nlh; in rdma_nl_rcv_skb() local
Dnldev.c602 static int nldev_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_get_doit()
654 struct nlmsghdr *nlh; in _nldev_get_dumpit() local
685 static int nldev_port_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_port_get_doit()
745 struct nlmsghdr *nlh; in nldev_port_get_dumpit() local
797 static int nldev_res_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_res_get_doit()
847 struct nlmsghdr *nlh; in _nldev_res_get_dumpit() local
922 struct nlmsghdr *nlh; in res_get_common_dumpit() local
Diwpm_msg.c60 struct nlmsghdr *nlh; in iwpm_register_pid() local
138 struct nlmsghdr *nlh; in iwpm_add_mapping() local
209 struct nlmsghdr *nlh; in iwpm_add_and_query_mapping() local
284 struct nlmsghdr *nlh; in iwpm_remove_mapping() local
/Linux-v4.19/net/core/
Dsock_diag.c163 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat()
171 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat()
211 static int __sock_diag_cmd(struct sk_buff *skb, struct nlmsghdr *nlh) in __sock_diag_cmd()
242 static int sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in sock_diag_rcv_msg()
/Linux-v4.19/drivers/connector/
Dconnector.c80 struct nlmsghdr *nlh; in cn_netlink_send_mult() local
146 struct nlmsghdr *nlh; in cn_call_callback() local
185 struct nlmsghdr *nlh; in cn_rx_skb() local
/Linux-v4.19/security/selinux/
Dnetlink.c46 static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data) in selnl_add_payload()
75 struct nlmsghdr *nlh; in selnl_notify() local
/Linux-v4.19/net/ieee802154/
Dnetlink.c55 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_mcast() local
84 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_reply() local
/Linux-v4.19/net/bridge/
Dbr_mdb.c169 struct nlmsghdr *nlh = NULL; in br_mdb_dump() local
220 struct nlmsghdr *nlh; in nlmsg_populate_mdb_fill() local
419 struct nlmsghdr *nlh; in nlmsg_populate_rtr_fill() local
505 static int br_mdb_parse(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_parse()
620 static int br_mdb_add(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_add()
715 static int br_mdb_del(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_del()
/Linux-v4.19/net/decnet/netfilter/
Ddn_rtmsg.c38 struct nlmsghdr *nlh; in dnrmg_build_message() local
103 struct nlmsghdr *nlh = nlmsg_hdr(skb); in dnrmg_receive_user_skb() local
/Linux-v4.19/net/ipv4/
Dudp_diag.c35 const struct nlmsghdr *nlh, in udp_dump_one()
157 static int udp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udp_diag_dump_one()
261 static int udplite_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udplite_diag_dump_one()
Dinet_diag.c173 struct nlmsghdr *nlh; in inet_sk_diag_fill() local
330 struct nlmsghdr *nlh; in inet_twsk_diag_fill() local
366 struct nlmsghdr *nlh; in inet_req_diag_fill() local
462 const struct nlmsghdr *nlh, in inet_diag_dump_one_icsk()
504 const struct nlmsghdr *nlh, in inet_diag_cmd_exact()
1101 const struct nlmsghdr *nlh) in inet_diag_get_exact_compat()
1115 static int inet_diag_rcv_msg_compat(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_diag_rcv_msg_compat()
1181 struct nlmsghdr *nlh; in inet_diag_handler_get_info() local
/Linux-v4.19/net/sctp/
Ddiag.c149 struct nlmsghdr *nlh; in inet_sctp_diag_fill() local
240 const struct nlmsghdr *nlh; member
273 const struct nlmsghdr *nlh = commp->nlh; in sctp_tsp_dump_one() local
450 const struct nlmsghdr *nlh, in sctp_diag_dump_one()
/Linux-v4.19/tools/lib/bpf/
Dnlattr.c94 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
150 int nla_dump_errormsg(struct nlmsghdr *nlh) in nla_dump_errormsg()

12345