Home
last modified time | relevance | path

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

123

/net/dcb/
Ddcbnl.c199 u32 flags, struct nlmsghdr **nlhp) in dcbnl_newmsg()
203 struct nlmsghdr *nlh; in dcbnl_newmsg()
223 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate()
234 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg()
279 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getperm_hwaddr()
293 static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getcap()
337 static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getnumtcs()
383 static int dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setnumtcs()
416 static int dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfcstate()
426 static int dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setpfcstate()
[all …]
/net/core/
Dsock_diag.c13 static int (*inet_rcv_compat)(struct sk_buff *skb, struct nlmsghdr *nlh);
90 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat()
98 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat()
138 static int __sock_diag_cmd(struct sk_buff *skb, struct nlmsghdr *nlh) in __sock_diag_cmd()
169 static int sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in sock_diag_rcv_msg()
Dfib_rules.c68 struct fib_rules_ops *ops, struct nlmsghdr *nlh,
307 static int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr* nlh) in fib_nl_newrule()
471 static int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr* nlh) in fib_nl_delrule()
608 struct nlmsghdr *nlh; in fib_nl_fill_rule()
724 struct fib_rules_ops *ops, struct nlmsghdr *nlh, in notify_rule_change()
Drtnetlink.c543 struct nlmsghdr *nlh, gfp_t flags) in rtnl_notify()
854 struct nlmsghdr *nlh; in rtnl_fill_ifinfo()
1518 static int rtnl_setlink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_setlink()
1559 static int rtnl_dellink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_dellink()
1690 static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_newlink()
1845 static int rtnl_getlink(struct sk_buff *skb, struct nlmsghdr* nlh) in rtnl_getlink()
1893 static u16 rtnl_calcit(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_calcit()
1980 struct nlmsghdr *nlh; in nlmsg_populate_fdb_fill()
2065 static int rtnl_fdb_add(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_fdb_add()
2163 static int rtnl_fdb_del(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_fdb_del()
[all …]
/net/netfilter/ipset/
Dip_set_core.c628 flag_exist(const struct nlmsghdr *nlh) in flag_exist()
633 static struct nlmsghdr *
637 struct nlmsghdr *nlh; in start_msg()
717 const struct nlmsghdr *nlh, in ip_set_none()
725 const struct nlmsghdr *nlh, in ip_set_create()
875 const struct nlmsghdr *nlh, in ip_set_destroy()
943 const struct nlmsghdr *nlh, in ip_set_flush()
982 const struct nlmsghdr *nlh, in ip_set_rename()
1031 const struct nlmsghdr *nlh, in ip_set_swap()
1092 dump_attrs(struct nlmsghdr *nlh) in dump_attrs()
[all …]
/net/wimax/
Dop-msg.c186 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_data_len()
208 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_data()
229 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_len()
349 struct nlmsghdr *nlh = info->nlhdr; in wimax_gnl_doit_msg_from_user()
/net/xfrm/
Dxfrm_user.c596 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_add_sa()
675 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_del_sa()
865 struct nlmsghdr *nlh; in dump_one_state()
953 struct nlmsghdr *nlh; in build_spdinfo()
984 static int xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_spdinfo()
1015 struct nlmsghdr *nlh; in build_sadinfo()
1041 static int xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sadinfo()
1060 static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sa()
1107 static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_alloc_userspi()
1405 static int xfrm_add_policy(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_add_policy()
[all …]
/net/tipc/
Dnetlink.c44 struct nlmsghdr *rep_nlh; in handle_cmd()
45 struct nlmsghdr *req_nlh = info->nlhdr; in handle_cmd()
/net/ipv4/
Dinet_diag.c80 const struct nlmsghdr *unlh, bool net_admin) in inet_sk_diag_fill()
84 struct nlmsghdr *nlh; in inet_sk_diag_fill()
223 const struct nlmsghdr *unlh, in inet_csk_diag_fill()
233 const struct nlmsghdr *unlh) in inet_twsk_diag_fill()
237 struct nlmsghdr *nlh; in inet_twsk_diag_fill()
290 const struct nlmsghdr *unlh, bool net_admin) in sk_diag_fill()
349 const struct nlmsghdr *nlh, in inet_diag_dump_one_icsk()
397 const struct nlmsghdr *nlh, in inet_diag_cmd_exact()
812 const struct nlmsghdr *unlh) in inet_diag_fill_req()
817 struct nlmsghdr *nlh; in inet_diag_fill_req()
[all …]
Dudp_diag.c35 const struct nlmsghdr *nlh, struct inet_diag_req_v2 *req) in udp_dump_one()
153 static int udp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udp_diag_dump_one()
255 static int udplite_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udplite_diag_dump_one()
/net/sched/
Dact_api.c653 struct nlmsghdr *nlh; in tca_get_fill()
683 act_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, in act_get_notify()
700 tcf_action_get_1(struct nlattr *nla, struct nlmsghdr *n, u32 portid) in tcf_action_get_1()
767 struct nlmsghdr *n, u32 portid) in tca_action_flush()
771 struct nlmsghdr *nlh; in tca_action_flush()
845 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd()
913 struct nlmsghdr *nlh; in tcf_add_notify()
957 tcf_action_add(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tcf_action_add()
985 static int tc_ctl_action(struct sk_buff *skb, struct nlmsghdr *n) in tc_ctl_action()
1036 find_dump_kind(const struct nlmsghdr *n) in find_dump_kind()
[all …]
Dsch_api.c39 struct nlmsghdr *n, u32 clid,
42 struct nlmsghdr *n, struct Qdisc *q,
671 struct nlmsghdr *n, u32 clid, in notify_and_destroy()
691 struct sk_buff *skb, struct nlmsghdr *n, u32 classid, in qdisc_graft()
975 static int tc_get_qdisc(struct sk_buff *skb, struct nlmsghdr *n) in tc_get_qdisc()
1043 static int tc_modify_qdisc(struct sk_buff *skb, struct nlmsghdr *n) in tc_modify_qdisc()
1201 struct nlmsghdr *nlh; in tc_fill_qdisc()
1257 struct nlmsghdr *n, u32 clid, in qdisc_notify()
1378 static int tc_ctl_tclass(struct sk_buff *skb, struct nlmsghdr *n) in tc_ctl_tclass()
1515 struct nlmsghdr *nlh; in tc_fill_tclass()
[all …]
Dcls_api.c102 struct nlmsghdr *n, struct tcf_proto *tp,
120 static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n) in tc_ctl_tfilter()
351 struct nlmsghdr *nlh; in tcf_fill_node()
382 struct nlmsghdr *n, struct tcf_proto *tp, in tfilter_notify()
/net/phonet/
Dpn_netlink.c64 static int addr_doit(struct sk_buff *skb, struct nlmsghdr *nlh) in addr_doit()
110 struct nlmsghdr *nlh; in fill_addr()
174 struct nlmsghdr *nlh; in fill_route()
227 static int route_doit(struct sk_buff *skb, struct nlmsghdr *nlh) in route_doit()
/net/netfilter/
Dnfnetlink_acct.c43 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_new()
99 struct nlmsghdr *nlh; in nfnl_acct_fill_info()
174 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_get()
242 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_del()
Dnfnetlink_cttimeout.c73 const struct nlmsghdr *nlh, in cttimeout_new_timeout()
162 struct nlmsghdr *nlh; in ctnl_timeout_fill_info()
245 const struct nlmsghdr *nlh, in cttimeout_get_timeout()
315 const struct nlmsghdr *nlh, in cttimeout_del_timeout()
Dnf_conntrack_netlink.c459 struct nlmsghdr *nlh; in ctnetlink_fill_info()
609 struct nlmsghdr *nlh; in ctnetlink_conntrack_event()
989 const struct nlmsghdr *nlh, in ctnetlink_del_conntrack()
1056 const struct nlmsghdr *nlh, in ctnetlink_get_conntrack()
1208 const struct nlmsghdr *nlh, in ctnetlink_get_ct_dying()
1232 const struct nlmsghdr *nlh, in ctnetlink_get_ct_unconfirmed()
1747 const struct nlmsghdr *nlh, in ctnetlink_new_conntrack()
1845 struct nlmsghdr *nlh; in ctnetlink_ct_stat_cpu_fill_info()
1914 const struct nlmsghdr *nlh, in ctnetlink_stat_ct_cpu()
1931 struct nlmsghdr *nlh; in ctnetlink_stat_ct_fill_info()
[all …]
Dnfnetlink_cthelper.c280 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_cthelper_new()
403 struct nlmsghdr *nlh; in nfnl_cthelper_fill_info()
492 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_cthelper_get()
564 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_cthelper_del()
/net/ieee802154/
Dnetlink.c67 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_mcast()
100 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_reply()
/net/decnet/netfilter/
Ddn_rtmsg.c38 struct nlmsghdr *nlh; in dnrmg_build_message()
105 struct nlmsghdr *nlh = nlmsg_hdr(skb); in dnrmg_receive_user_skb()
/net/bridge/
Dbr_mdb.c116 struct nlmsghdr *nlh = NULL; in br_mdb_dump()
167 struct nlmsghdr *nlh; in nlmsg_populate_mdb_fill()
267 static int br_mdb_parse(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_parse()
385 static int br_mdb_add(struct sk_buff *skb, struct nlmsghdr *nlh) in br_mdb_add()
461 static int br_mdb_del(struct sk_buff *skb, struct nlmsghdr *nlh) in br_mdb_del()
Dbr_netlink.c76 struct nlmsghdr *nlh; in br_fill_ifinfo()
353 int br_setlink(struct net_device *dev, struct nlmsghdr *nlh) in br_setlink()
409 int br_dellink(struct net_device *dev, struct nlmsghdr *nlh) in br_dellink()
/net/unix/
Ddiag.c115 struct nlmsghdr *nlh; in sk_diag_fill()
242 const struct nlmsghdr *nlh, in unix_diag_get_exact()
291 static int unix_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) in unix_diag_handler_dump()
/net/ipv6/
Daddrlabel.c417 static int ip6addrlbl_newdel(struct sk_buff *skb, struct nlmsghdr *nlh) in ip6addrlbl_newdel()
466 static void ip6addrlbl_putmsg(struct nlmsghdr *nlh, in ip6addrlbl_putmsg()
483 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event, in ip6addrlbl_fill()
532 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr* nlh) in ip6addrlbl_get()
/net/netlink/
Ddiag.c60 struct nlmsghdr *nlh; in sk_diag_fill()
192 static int netlink_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) in netlink_diag_handler_dump()

123