/openbmc/linux/tools/net/ynl/generated/ |
H A D | ethtool-user.c | 1605 struct nlmsghdr *nlh; in ethtool_strset_get() local 1655 struct nlmsghdr *nlh; in ethtool_strset_get_dump() local 1757 struct nlmsghdr *nlh; in ethtool_linkinfo_get() local 1802 struct nlmsghdr *nlh; in ethtool_linkinfo_get_dump() local 1846 struct nlmsghdr *nlh; in ethtool_linkinfo_set() local 1975 struct nlmsghdr *nlh; in ethtool_linkmodes_get() local 2022 struct nlmsghdr *nlh; in ethtool_linkmodes_get_dump() local 2070 struct nlmsghdr *nlh; in ethtool_linkmodes_set() local 2182 struct nlmsghdr *nlh; in ethtool_linkstate_get() local 2227 struct nlmsghdr *nlh; in ethtool_linkstate_get_dump() local [all …]
|
H A D | devlink-user.c | 503 struct nlmsghdr *nlh; in devlink_get() local 550 struct nlmsghdr *nlh; in devlink_get_dump() local 637 struct nlmsghdr *nlh; in devlink_port_get() local 731 struct nlmsghdr *nlh; in devlink_port_get_dump() local 824 struct nlmsghdr *nlh; in devlink_sb_get() local 873 struct nlmsghdr *nlh; in devlink_sb_get_dump() local 971 struct nlmsghdr *nlh; in devlink_sb_pool_get() local 1023 struct nlmsghdr *nlh; in devlink_sb_pool_get_dump() local 1129 struct nlmsghdr *nlh; in devlink_sb_port_pool_get() local 1184 struct nlmsghdr *nlh; in devlink_sb_port_pool_get_dump() local [all …]
|
H A D | fou-user.c | 75 struct nlmsghdr *nlh; in fou_add() local 120 struct nlmsghdr *nlh; in fou_del() local 166 int fou_get_rsp_parse(const struct nlmsghdr *nlh, void *data) in fou_get_rsp_parse() 246 struct nlmsghdr *nlh; in fou_get() local 304 struct nlmsghdr *nlh; in fou_get_dump() local
|
H A D | netdev-user.c | 74 int netdev_dev_get_rsp_parse(const struct nlmsghdr *nlh, void *data) in netdev_dev_get_rsp_parse() 111 struct nlmsghdr *nlh; in netdev_dev_get() local 153 struct nlmsghdr *nlh; in netdev_dev_get_dump() local
|
H A D | handshake-user.c | 156 int handshake_accept_rsp_parse(const struct nlmsghdr *nlh, void *data) in handshake_accept_rsp_parse() 249 struct nlmsghdr *nlh; in handshake_accept() local 298 struct nlmsghdr *nlh; in handshake_done() local
|
/openbmc/linux/net/dcb/ |
H A D | dcbnl.c | 221 struct nlmsghdr *nlh; in dcbnl_newmsg() local 241 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate() 252 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg() 311 static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getcap() 356 static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getnumtcs() 465 static int dcbnl_getapp(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getapp() 535 static int dcbnl_setapp(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setapp() 733 static int dcbnl_setstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setstate() 781 static int dcbnl_setall(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setall() 1511 struct nlmsghdr *nlh; in dcbnl_notify() local [all …]
|
/openbmc/linux/drivers/staging/gdm724x/ |
H A D | netlink_k.c | 20 #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 97 struct nlmsghdr *nlh; in netlink_send() local
|
/openbmc/linux/tools/net/ynl/lib/ |
H A D | ynl.c | 139 ynl_ext_ack_check(struct ynl_sock *ys, const struct nlmsghdr *nlh, in ynl_ext_ack_check() 256 static int ynl_cb_error(const struct nlmsghdr *nlh, void *data) in ynl_cb_error() 276 static int ynl_cb_done(const struct nlmsghdr *nlh, void *data) in ynl_cb_done() 293 static int ynl_cb_noop(const struct nlmsghdr *nlh, void *data) in ynl_cb_noop() 396 struct nlmsghdr *nlh; in ynl_msg_start() local 413 struct nlmsghdr *nlh; in ynl_gemsg_start() local 470 int ynl_cb_null(const struct nlmsghdr *nlh, void *data) in ynl_cb_null() 550 struct nlmsghdr *nlh; in ynl_sock_read_family() local 735 static int ynl_ntf_trampoline(const struct nlmsghdr *nlh, void *data) in ynl_ntf_trampoline() 809 static int ynl_req_trampoline(const struct nlmsghdr *nlh, void *data) in ynl_req_trampoline() [all …]
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | nf-queue.c | 77 static int queue_cb(const struct nlmsghdr *nlh, void *data) in queue_cb() 123 struct nlmsghdr *nlh = mnl_nlmsg_put_header(buf); in nfq_build_cfg_request() local 147 struct nlmsghdr *nlh = mnl_nlmsg_put_header(buf); in nfq_build_cfg_params() local 174 struct nlmsghdr *nlh; in nfq_build_verdict() local 212 struct nlmsghdr *nlh; in open_queue() local 274 struct nlmsghdr *nlh; in mainloop() local
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_user.c | 1198 struct nlmsghdr *nlh; in dump_one_state() local 1362 struct nlmsghdr *nlh; in build_spdinfo() local 1495 struct nlmsghdr *nlh; in build_sadinfo() local 2093 struct nlmsghdr *nlh; in dump_one_policy() local 2199 struct nlmsghdr *nlh; in xfrm_notify_userpolicy() local 2411 struct nlmsghdr *nlh; in build_aevent() local 2919 struct nlmsghdr *nlh; in build_migrate() local 3199 struct nlmsghdr *nlh; in build_expire() local 3261 struct nlmsghdr *nlh; in xfrm_notify_sa_flush() local 3335 struct nlmsghdr *nlh; in xfrm_notify_sa() local [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | nldev.c | 1017 static int nldev_get_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_get_doit() 1067 static int nldev_set_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_set_doit() 1126 struct nlmsghdr *nlh; in _nldev_get_dumpit() local 1221 struct nlmsghdr *nlh; in nldev_port_get_dumpit() local 1327 struct nlmsghdr *nlh; in _nldev_res_get_dumpit() local 1511 struct nlmsghdr *nlh; in res_get_common_dumpit() local 1691 static int nldev_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_newlink() 1738 static int nldev_dellink(struct sk_buff *skb, struct nlmsghdr *nlh, in nldev_dellink() 2157 struct nlmsghdr *nlh, in stat_get_doit_default_counter() 2249 static int stat_get_doit_qp(struct sk_buff *skb, struct nlmsghdr *nlh, in stat_get_doit_qp() [all …]
|
H A D | netlink.c | 131 void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq, in ibnl_put_msg() 141 int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_put_attr() 152 static int rdma_nl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in rdma_nl_rcv_msg() 212 struct nlmsghdr *nlh; in rdma_nl_rcv_skb() local
|
/openbmc/linux/crypto/ |
H A D | crypto_user_base.c | 159 struct nlmsghdr *nlh; in crypto_report_alg() local 260 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg() 296 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg() 334 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg() 382 static int crypto_del_rng(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_rng() 422 static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_user_rcv_msg()
|
/openbmc/linux/net/ipv6/ |
H A D | addrlabel.c | 384 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()
|
/openbmc/linux/net/phonet/ |
H A D | pn_netlink.c | 51 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()
|
/openbmc/linux/include/net/ |
H A D | netlink.h | 466 struct nlmsghdr *nlh; member 580 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data() 589 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len() 621 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok() 637 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next() 761 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse() 802 nlmsg_parse_deprecated_strict(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse_deprecated_strict() 900 static inline int nlmsg_report(const struct nlmsghdr *nlh) in nlmsg_report() 911 static inline u32 nlmsg_seq(const struct nlmsghdr *nlh) in nlmsg_seq() 923 #define nlmsg_for_each_attr(pos, nlh, hdrlen, rem) \ argument [all …]
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | 767 const struct nlmsghdr *nlh, gfp_t flags) in rtnl_notify() 1785 struct nlmsghdr *nlh; in rtnl_fill_ifinfo() local 2171 const struct nlmsghdr *nlh = cb->nlh; in rtnl_dump_ifinfo() local 3289 u32 portid, const struct nlmsghdr *nlh) in rtnl_configure_link() 3433 const struct nlmsghdr *nlh, in rtnl_newlink_create() 3724 const struct nlmsghdr *nlh, in rtnl_valid_getlink_req() 4024 const struct nlmsghdr *nlh) in rtmsg_ifinfo_build_skb() 4100 struct nlmsghdr *nlh; in nlmsg_populate_fdb_fill() local 4872 struct nlmsghdr *nlh; in ndo_dflt_bridge_getlink() local 5023 const struct nlmsghdr *nlh = cb->nlh; in rtnl_bridge_getlink() local [all …]
|
H A D | sock_diag.c | 169 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat() 177 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat() 217 static int __sock_diag_cmd(struct sk_buff *skb, struct nlmsghdr *nlh) in __sock_diag_cmd() 248 static int sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in sock_diag_rcv_msg()
|
/openbmc/linux/security/selinux/ |
H A D | netlink.c | 43 static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data) in selnl_add_payload() 72 struct nlmsghdr *nlh; in selnl_notify() local
|
/openbmc/linux/net/netfilter/ |
H A D | nfnetlink.c | 216 static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_msg() 318 struct nlmsghdr *nlh; member 323 static int nfnl_err_add(struct list_head *list, struct nlmsghdr *nlh, int err, in nfnl_err_add() 371 static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_batch() 604 static void nfnetlink_rcv_skb_batch(struct sk_buff *skb, struct nlmsghdr *nlh) in nfnetlink_rcv_skb_batch() 644 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nfnetlink_rcv() local
|
/openbmc/linux/net/ipv4/ |
H A D | inet_diag.c | 206 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() 1203 const struct nlmsghdr *nlh = cb->nlh; in __inet_diag_dump_start() local 1291 const struct nlmsghdr *nlh) in inet_diag_get_exact_compat() 1306 static int inet_diag_rcv_msg_compat(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_diag_rcv_msg_compat() 1353 struct nlmsghdr *nlh; in inet_diag_handler_get_info() local
|
/openbmc/linux/drivers/connector/ |
H A D | connector.c | 69 struct nlmsghdr *nlh; in cn_netlink_send_mult() local 137 struct nlmsghdr *nlh; in cn_call_callback() local 201 struct nlmsghdr *nlh; in cn_rx_skb() local
|
/openbmc/linux/net/ieee802154/ |
H A D | netlink.c | 47 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_mcast() local 76 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_reply() local
|
/openbmc/linux/include/linux/netfilter/ |
H A D | nfnetlink.h | 13 const struct nlmsghdr *nlh; member 67 static inline void nfnl_fill_hdr(struct nlmsghdr *nlh, u8 family, u8 version, in nfnl_fill_hdr() 83 struct nlmsghdr *nlh; in nfnl_msg_put() local
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | net.c | 204 static int __dump_class_nlmsg(struct nlmsghdr *nlh, in __dump_class_nlmsg() 224 struct nlmsghdr nlh; in netlink_get_class() member 243 static int __dump_qdisc_nlmsg(struct nlmsghdr *nlh, in __dump_qdisc_nlmsg() 263 struct nlmsghdr nlh; in netlink_get_qdisc() member 282 static int __dump_filter_nlmsg(struct nlmsghdr *nlh, in __dump_filter_nlmsg() 302 struct nlmsghdr nlh; in netlink_get_filter() member 322 static int __dump_link_nlmsg(struct nlmsghdr *nlh, in __dump_link_nlmsg() 341 struct nlmsghdr nlh; in netlink_get_link() member
|