Home
last modified time | relevance | path

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

123

/net/dcb/
Ddcbnl.c187 struct nlmsghdr *nlh; in dcbnl_newmsg() local
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()
431 static int dcbnl_getapp(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getapp()
[all …]
/net/xfrm/
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() local
1254 struct nlmsghdr *nlh; in build_spdinfo() local
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() local
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/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() local
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() local
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() local
164 struct nlmsghdr *nlh; in fill_route() local
218 static int route_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in route_doit()
/net/core/
Dsock_diag.c165 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()
Drtnetlink.c726 struct nlmsghdr *nlh, gfp_t flags) in rtnl_notify()
1706 struct nlmsghdr *nlh; in rtnl_fill_ifinfo() local
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() local
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 …]
Dfib_rules.c516 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() local
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() local
1166 struct fib_rules_ops *ops, struct nlmsghdr *nlh, in notify_rule_change()
Dnet_namespace.c729 static int rtnl_net_newid(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_net_newid()
810 struct nlmsghdr *nlh; in rtnl_net_fill() local
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()
Dneighbour.c1798 static int neigh_delete(struct sk_buff *skb, struct nlmsghdr *nlh, in neigh_delete()
1863 static int neigh_add(struct sk_buff *skb, struct nlmsghdr *nlh, in neigh_add()
2044 struct nlmsghdr *nlh; in neightbl_fill_info() local
2138 struct nlmsghdr *nlh; in neightbl_fill_param_info() local
2190 static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh, in neightbl_set()
2352 static int neightbl_valid_dump_info(const struct nlmsghdr *nlh, in neightbl_valid_dump_info()
2378 const struct nlmsghdr *nlh = cb->nlh; in neightbl_dump_info() local
2442 struct nlmsghdr *nlh; in neigh_fill_info() local
2497 struct nlmsghdr *nlh; in pneigh_fill_info() local
2659 static int neigh_valid_dump_req(const struct nlmsghdr *nlh, in neigh_valid_dump_req()
[all …]
/net/netfilter/
Dnfnetlink.c211 static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_msg()
313 struct nlmsghdr *nlh; member
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() local
Dnfnetlink_hook.c37 const struct nlmsghdr *nlh, in nf_netlink_dump_start_rcu()
120 struct nlmsghdr *nlh; in nfnl_hook_dump_one() local
/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() local
421 struct nlmsghdr *nlh; in inet_twsk_diag_fill() local
461 struct nlmsghdr *nlh; in inet_req_diag_fill() local
592 const struct nlmsghdr *nlh, in inet_diag_cmd_exact()
1202 const struct nlmsghdr *nlh = cb->nlh; in __inet_diag_dump_start() local
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()
1352 struct nlmsghdr *nlh; in inet_diag_handler_get_info() local
Ddevinet.c351 int destroy, struct nlmsghdr *nlh, u32 portid) in __inet_del_ifa()
473 static int __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, in __inet_insert_ifa()
645 static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_deladdr()
823 static struct in_ifaddr *rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh, in rtm_to_ifaddr()
928 static int inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_newaddr()
1653 struct nlmsghdr *nlh; in inet_fill_ifaddr() local
1716 static int inet_valid_dump_ifaddr_req(const struct nlmsghdr *nlh, in inet_valid_dump_ifaddr_req()
1818 const struct nlmsghdr *nlh = cb->nlh; in inet_dump_ifaddr() local
1899 static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, in rtmsg_ifa()
2048 struct nlmsghdr *nlh; in inet_netconf_fill_devconf() local
[all …]
Dfib_frontend.c725 struct nlmsghdr *nlh, struct fib_config *cfg, in rtm_to_fib_config()
844 static int inet_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_delroute()
874 static int inet_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_newroute()
899 int ip_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh, in ip_valid_fib_dump_req()
977 const struct nlmsghdr *nlh = cb->nlh; in inet_dump_fib() local
1367 struct nlmsghdr *nlh; in nl_fib_input() local
Dipmr.c730 struct nlmsghdr *nlh = skb_pull(skb, in ipmr_destroy_unres() local
985 struct nlmsghdr *nlh = skb_pull(skb, in ipmr_cache_resolve() local
2302 struct nlmsghdr *nlh; in ipmr_fill_mroute() local
2416 struct nlmsghdr *nlh; in igmpmsg_netlink_event() local
2463 const struct nlmsghdr *nlh, in ipmr_rtm_valid_getroute_req()
2517 static int ipmr_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ipmr_rtm_getroute()
2640 static int rtm_to_ipmr_mfcc(struct net *net, struct nlmsghdr *nlh, in rtm_to_ipmr_mfcc()
2712 static int ipmr_rtm_route(struct sk_buff *skb, struct nlmsghdr *nlh, in ipmr_rtm_route()
2785 static int ipmr_valid_dumplink(const struct nlmsghdr *nlh, in ipmr_valid_dumplink()
2813 struct nlmsghdr *nlh = NULL; in ipmr_rtm_dumplink() local
/net/ieee802154/
Dnetlink.c47 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_mcast() local
76 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_reply() local
/net/mpls/
Daf_mpls.c542 struct nlmsghdr *nlh = info ? info->nlh : NULL; in mpls_notify_route() local
1136 struct nlmsghdr *nlh; in mpls_netconf_fill_devconf() local
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() local
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() local
2104 static int mpls_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh, in mpls_valid_fib_dump_req()
[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() local
Ddevice.c50 struct nlmsghdr *nlh; in mctp_fill_addrinfo() local
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/bridge/
Dbr_mdb.c381 static int br_mdb_valid_dump_req(const struct nlmsghdr *nlh, in br_mdb_valid_dump_req()
408 struct nlmsghdr *nlh = NULL; in br_mdb_dump() local
467 struct nlmsghdr *nlh; in nlmsg_populate_mdb_fill() local
825 struct nlmsghdr *nlh; in nlmsg_populate_rtr_fill() local
991 static int br_mdb_parse(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_parse()
1216 static int br_mdb_add(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_add()
1336 static int br_mdb_del(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_del()
/net/smc/
Dsmc_stats.c267 void *nlh; in smc_nl_get_stats() local
331 void *nlh; in smc_nl_get_fback_details() local
/net/sctp/
Ddiag.c130 struct nlmsghdr *nlh; in inet_sctp_diag_fill() local
222 const struct nlmsghdr *nlh; member
425 const struct nlmsghdr *nlh = cb->nlh; in sctp_diag_dump_one() local
/net/netlink/
Dgenetlink.c491 struct nlmsghdr *nlh; in genlmsg_put() local
520 struct nlmsghdr *nlh, in genl_family_rcv_msg_attrs_parse()
556 struct nlmsghdr *nlh; member
651 struct nlmsghdr *nlh, in genl_family_rcv_msg_dumpit()
697 struct nlmsghdr *nlh, in genl_family_rcv_msg_doit()
744 struct nlmsghdr *nlh, in genl_family_rcv_msg()
779 static int genl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in genl_rcv_msg()
/net/unix/
Ddiag.c127 struct nlmsghdr *nlh; in sk_diag_fill() local
261 const struct nlmsghdr *nlh, in unix_diag_get_exact()
/net/tipc/
Ddiag.c54 struct nlmsghdr *nlh; in __tipc_add_sock_diag() local

123