Home
last modified time | relevance | path

Searched refs:nlmsghdr (Results 1 – 25 of 73) sorted by relevance

123

/net/dcb/
Ddcbnl.c183 u32 flags, struct nlmsghdr **nlhp) in dcbnl_newmsg()
187 struct nlmsghdr *nlh; in dcbnl_newmsg()
207 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate()
218 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg()
263 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getperm_hwaddr()
277 static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getcap()
322 static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getnumtcs()
369 static int dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setnumtcs()
403 static int dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfcstate()
413 static int dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setpfcstate()
[all …]
/net/xfrm/
Dxfrm_compat.c134 static struct nlmsghdr *xfrm_nlmsg_put_compat(struct sk_buff *skb, in xfrm_nlmsg_put_compat()
135 const struct nlmsghdr *nlh_src, u16 type) in xfrm_nlmsg_put_compat()
139 struct nlmsghdr *nlh_dst; in xfrm_nlmsg_put_compat()
289 static int xfrm_xlate64(struct sk_buff *dst, const struct nlmsghdr *nlh_src) in xfrm_xlate64()
293 struct nlmsghdr *nlh_dst; in xfrm_xlate64()
323 static int xfrm_alloc_compat(struct sk_buff *skb, const struct nlmsghdr *nlh_src) in xfrm_alloc_compat()
354 static size_t xfrm_user_rcv_calculate_len64(const struct nlmsghdr *src, in xfrm_user_rcv_calculate_len64()
402 struct nlmsghdr *nlmsg = dst; in xfrm_attr_cpy32()
464 static int xfrm_xlate32(struct nlmsghdr *dst, const struct nlmsghdr *src, in xfrm_xlate32()
583 static struct nlmsghdr *xfrm_user_rcv_msg_compat(const struct nlmsghdr *h32, in xfrm_user_rcv_msg_compat()
[all …]
Dxfrm_user.c679 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_add_sa()
758 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_del_sa()
1090 struct nlmsghdr *nlh; in dump_one_state()
1254 struct nlmsghdr *nlh; in build_spdinfo()
1300 static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_set_spdinfo()
1345 static int xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_spdinfo()
1377 struct nlmsghdr *nlh; in build_sadinfo()
1404 static int xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sadinfo()
1424 static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sa()
1448 static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_alloc_userspi()
[all …]
/net/core/
Dsock_diag.c19 static int (*inet_rcv_compat)(struct sk_buff *skb, struct nlmsghdr *nlh);
165 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat()
173 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat()
213 static int __sock_diag_cmd(struct sk_buff *skb, struct nlmsghdr *nlh) in __sock_diag_cmd()
244 static int sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in sock_diag_rcv_msg()
Dfib_rules.c101 struct fib_rules_ops *ops, struct nlmsghdr *nlh,
516 static int fib_nl2rule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl2rule()
753 int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl_newrule()
861 int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl_delrule()
991 struct nlmsghdr *nlh; in fib_nl_fill_rule()
1095 static int fib_valid_dumprule_req(const struct nlmsghdr *nlh, in fib_valid_dumprule_req()
1123 const struct nlmsghdr *nlh = cb->nlh; in fib_nl_dumprule()
1166 struct fib_rules_ops *ops, struct nlmsghdr *nlh, in notify_rule_change()
Drtnetlink.c726 struct nlmsghdr *nlh, gfp_t flags) in rtnl_notify()
1706 struct nlmsghdr *nlh; in rtnl_fill_ifinfo()
2030 static int rtnl_valid_dump_ifinfo_req(const struct nlmsghdr *nlh, in rtnl_valid_dump_ifinfo_req()
2077 const struct nlmsghdr *nlh = cb->nlh; in rtnl_dump_ifinfo()
2996 static int rtnl_setlink(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_setlink()
3091 static int rtnl_dellink(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_dellink()
3279 static int __rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, in __rtnl_newlink()
3539 static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_newlink()
3555 const struct nlmsghdr *nlh, in rtnl_valid_getlink_req()
3602 static int rtnl_getlink(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_getlink()
[all …]
Dnet_namespace.c228 struct nlmsghdr *nlh, gfp_t gfp);
729 static int rtnl_net_newid(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_net_newid()
810 struct nlmsghdr *nlh; in rtnl_net_fill()
837 const struct nlmsghdr *nlh, in rtnl_net_valid_getid_req()
873 static int rtnl_net_getid(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_net_getid()
981 static int rtnl_valid_dump_net_req(const struct nlmsghdr *nlh, struct sock *sk, in rtnl_valid_dump_net_req()
1057 struct nlmsghdr *nlh, gfp_t gfp) in rtnl_net_notifyid()
/net/ipv6/
Daddrlabel.c384 static int ip6addrlbl_newdel(struct sk_buff *skb, struct nlmsghdr *nlh, in ip6addrlbl_newdel()
435 static void ip6addrlbl_putmsg(struct nlmsghdr *nlh, in ip6addrlbl_putmsg()
453 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event, in ip6addrlbl_fill()
470 static int ip6addrlbl_valid_dump_req(const struct nlmsghdr *nlh, in ip6addrlbl_valid_dump_req()
497 const struct nlmsghdr *nlh = cb->nlh; in ip6addrlbl_dump()
536 const struct nlmsghdr *nlh, in ip6addrlbl_valid_get_req()
579 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ip6addrlbl_get()
/net/phonet/
Dpn_netlink.c51 static int addr_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in addr_doit()
99 struct nlmsghdr *nlh; in fill_addr()
164 struct nlmsghdr *nlh; in fill_route()
218 static int route_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in route_doit()
/net/tipc/
Ddiag.c54 struct nlmsghdr *nlh; in __tipc_add_sock_diag()
77 struct nlmsghdr *h) in tipc_sock_diag_handler_dump()
/net/netfilter/
Dnfnetlink.c211 static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_msg()
313 struct nlmsghdr *nlh;
318 static int nfnl_err_add(struct list_head *list, struct nlmsghdr *nlh, int err, in nfnl_err_add()
366 static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_batch()
599 static void nfnetlink_rcv_skb_batch(struct sk_buff *skb, struct nlmsghdr *nlh) in nfnetlink_rcv_skb_batch()
639 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nfnetlink_rcv()
/net/mpls/
Daf_mpls.c74 struct nlmsghdr *nlh, struct net *net, u32 portid,
542 struct nlmsghdr *nlh = info ? info->nlh : NULL; in mpls_notify_route()
1136 struct nlmsghdr *nlh; in mpls_netconf_fill_devconf()
1212 const struct nlmsghdr *nlh, in mpls_netconf_valid_get_req()
1252 struct nlmsghdr *nlh, in mpls_netconf_get_devconf()
1303 const struct nlmsghdr *nlh = cb->nlh; in mpls_netconf_dump_devconf()
1812 struct nlmsghdr *nlh, in rtm_to_route_config()
1950 static int mpls_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh, in mpls_rtm_delroute()
1972 static int mpls_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh, in mpls_rtm_newroute()
1997 struct nlmsghdr *nlh; in mpls_dump_route()
[all …]
/net/ipv4/
Dinet_diag.c206 static int inet_diag_parse_attrs(const struct nlmsghdr *nlh, int hdrlen, in inet_diag_parse_attrs()
244 struct nlmsghdr *nlh; in inet_sk_diag_fill()
421 struct nlmsghdr *nlh; in inet_twsk_diag_fill()
461 struct nlmsghdr *nlh; in inet_req_diag_fill()
592 const struct nlmsghdr *nlh, in inet_diag_cmd_exact()
1202 const struct nlmsghdr *nlh = cb->nlh; in __inet_diag_dump_start()
1290 const struct nlmsghdr *nlh) in inet_diag_get_exact_compat()
1305 static int inet_diag_rcv_msg_compat(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_diag_rcv_msg_compat()
1326 static int inet_diag_handler_cmd(struct sk_buff *skb, struct nlmsghdr *h) in inet_diag_handler_cmd()
1352 struct nlmsghdr *nlh; in inet_diag_handler_get_info()
Ddevinet.c194 static void rtmsg_ifa(int event, struct in_ifaddr *, struct nlmsghdr *, u32);
350 int destroy, struct nlmsghdr *nlh, u32 portid) in __inet_del_ifa()
472 static int __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, in __inet_insert_ifa()
644 static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_deladdr()
822 static struct in_ifaddr *rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh, in rtm_to_ifaddr()
927 static int inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_newaddr()
1652 struct nlmsghdr *nlh; in inet_fill_ifaddr()
1715 static int inet_valid_dump_ifaddr_req(const struct nlmsghdr *nlh, in inet_valid_dump_ifaddr_req()
1802 const struct nlmsghdr *nlh = cb->nlh; in inet_dump_ifaddr()
1884 static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, in rtmsg_ifa()
[all …]
/net/ieee802154/
Dnetlink.c47 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_mcast()
76 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_reply()
/net/sched/
Dsch_api.c890 struct nlmsghdr *nlh; in tc_fill_qdisc()
974 struct nlmsghdr *n, u32 clid, in qdisc_notify()
1005 struct nlmsghdr *n, u32 clid, in notify_and_destroy()
1038 struct sk_buff *skb, struct nlmsghdr *n, u32 classid, in qdisc_graft()
1435 static int tc_get_qdisc(struct sk_buff *skb, struct nlmsghdr *n, in tc_get_qdisc()
1516 static bool req_create_or_replace(struct nlmsghdr *n) in req_create_or_replace()
1522 static bool req_create_exclusive(struct nlmsghdr *n) in req_create_exclusive()
1528 static bool req_change(struct nlmsghdr *n) in req_change()
1538 static int tc_modify_qdisc(struct sk_buff *skb, struct nlmsghdr *n, in tc_modify_qdisc()
1797 const struct nlmsghdr *nlh = cb->nlh; in tc_dump_qdisc()
[all …]
Dact_api.c1212 struct nlmsghdr *nlh; in tca_get_fill()
1242 tcf_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, in tcf_get_notify()
1262 struct nlmsghdr *n, u32 portid, in tcf_action_get_1()
1306 struct nlmsghdr *n, u32 portid, in tca_action_flush()
1311 struct nlmsghdr *nlh; in tca_action_flush()
1411 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], in tcf_del_notify()
1443 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd()
1491 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], in tcf_add_notify()
1513 struct nlmsghdr *n, u32 portid, u32 flags, in tcf_action_add()
1547 static int tc_ctl_action(struct sk_buff *skb, struct nlmsghdr *n, in tc_ctl_action()
[all …]
/net/mctp/
Dneigh.c114 static int mctp_rtm_newneigh(struct sk_buff *skb, struct nlmsghdr *nlh, in mctp_rtm_newneigh()
172 static int mctp_rtm_delneigh(struct sk_buff *skb, struct nlmsghdr *nlh, in mctp_rtm_delneigh()
212 struct nlmsghdr *nlh; in mctp_fill_neigh()
Ddevice.c50 struct nlmsghdr *nlh; in mctp_fill_addrinfo()
143 static int mctp_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh, in mctp_rtm_newaddr()
205 static int mctp_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh, in mctp_rtm_deladdr()
/net/vmw_vsock/
Ddiag.c19 struct nlmsghdr *nlh; in sk_diag_fill()
141 static int vsock_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) in vsock_diag_handler_dump()
/net/unix/
Ddiag.c127 struct nlmsghdr *nlh; in sk_diag_fill()
261 const struct nlmsghdr *nlh, in unix_diag_get_exact()
311 static int unix_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) in unix_diag_handler_dump()
/net/sctp/
Ddiag.c124 const struct nlmsghdr *unlh, in inet_sctp_diag_fill()
130 struct nlmsghdr *nlh; in inet_sctp_diag_fill()
222 const struct nlmsghdr *nlh;
425 const struct nlmsghdr *nlh = cb->nlh; in sctp_diag_dump_one()
/net/ncsi/
Dncsi-netlink.h22 struct nlmsghdr *nlhdr,
/net/netfilter/ipset/
Dip_set_core.c962 flag_exist(const struct nlmsghdr *nlh) in flag_exist()
967 static struct nlmsghdr *
1474 dump_attrs(struct nlmsghdr *nlh) in dump_attrs()
1496 struct nlmsghdr *nlh = nlmsg_hdr(cb->skb); in ip_set_dump_start()
1551 struct nlmsghdr *nlh = NULL; in ip_set_dump_do()
1743 struct nlmsghdr *rep, *nlh = nlmsg_hdr(skb); in call_ad()
1786 const struct nlmsghdr *nlh, in ip_set_ad()
1894 struct nlmsghdr *nlh2; in ip_set_header()
1942 struct nlmsghdr *nlh2; in ip_set_type()
1995 struct nlmsghdr *nlh2; in ip_set_protocol()
[all …]
/net/netlink/
Ddiag.c48 struct nlmsghdr *nlh; in sk_diag_fill()
225 static int netlink_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) in netlink_diag_handler_dump()

123