/openbmc/linux/net/openvswitch/ |
H A D | conntrack.h | 19 int ovs_ct_copy_action(struct net *, const struct nlattr *, 32 void ovs_ct_free_action(const struct nlattr *a); 50 static inline int ovs_ct_copy_action(struct net *net, const struct nlattr *nla, in ovs_ct_copy_action() 98 static inline void ovs_ct_free_action(const struct nlattr *a) { } in ovs_ct_free_action()
|
/openbmc/linux/include/net/ |
H A D | bpf_sk_storage.h | 29 struct nlattr; 34 bpf_sk_storage_diag_alloc(const struct nlattr *nla_stgs); 47 bpf_sk_storage_diag_alloc(const struct nlattr *nla) in bpf_sk_storage_diag_alloc()
|
H A D | act_api.h | 118 int (*init)(struct net *net, struct nlattr *nla, 119 struct nlattr *est, struct tc_action **act, 187 int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, 191 struct nlattr *est, struct tc_action **a, 206 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, 207 struct nlattr *est, 210 struct tc_action_ops *tc_action_load_ops(struct nlattr *nla, bool police, 214 struct nlattr *nla, struct nlattr *est,
|
H A D | lwtunnel.h | 40 int (*build_state)(struct net *net, struct nlattr *encap, 120 int lwtunnel_valid_encap_type_attr(struct nlattr *attr, int len, 123 struct nlattr *encap, 209 static inline int lwtunnel_valid_encap_type_attr(struct nlattr *attr, int len, in lwtunnel_valid_encap_type_attr() 219 struct nlattr *encap, in lwtunnel_build_state()
|
/openbmc/linux/net/ethtool/ |
H A D | cabletest.c | 60 struct nlattr **tb = info->attrs; in ethnl_act_cable_test() 165 struct nlattr *nest; in ethnl_cable_test_result() 188 struct nlattr *nest; in ethnl_cable_test_fault_length() 228 static int ethnl_act_cable_test_tdr_cfg(const struct nlattr *nest, in ethnl_act_cable_test_tdr_cfg() 232 struct nlattr *tb[ARRAY_SIZE(cable_test_tdr_act_cfg_policy)]; in ethnl_act_cable_test_tdr_cfg() 311 struct nlattr **tb = info->attrs; in ethnl_act_cable_test_tdr() 363 struct nlattr *nest; in ethnl_cable_test_amplitude() 387 struct nlattr *nest; in ethnl_cable_test_pulse() 409 struct nlattr *nest; in ethnl_cable_test_step()
|
H A D | strset.c | 160 static int strset_get_id(const struct nlattr *nest, u32 *val, in strset_get_id() 163 struct nlattr *tb[ARRAY_SIZE(get_stringset_policy)]; in strset_get_id() 182 struct nlattr **tb, in strset_parse_request() 186 struct nlattr *nest = tb[ETHTOOL_A_STRSET_STRINGSETS]; in strset_parse_request() 187 struct nlattr *attr; in strset_parse_request() 377 struct nlattr *string_attr; in strset_fill_string() 401 struct nlattr *stringset_attr; in strset_fill_set() 402 struct nlattr *strings_attr; in strset_fill_set() 442 struct nlattr *nest; in strset_fill_reply()
|
/openbmc/linux/tools/testing/selftests/nci/ |
H A D | nci_dev.c | 117 struct nlattr *na; in send_cmd_mt_nla() 183 struct nlattr *na; in get_family_id() 202 na = (struct nlattr *)GENLMSG_DATA(&ans); in get_family_id() 209 struct nlattr *nested_na; in get_family_id() 210 struct nlattr *group_na; in get_family_id() 280 struct nlattr *na; in get_dev_enable_state() 285 na = (struct nlattr *)GENLMSG_DATA(msg); in get_dev_enable_state() 646 struct nlattr *na; in get_taginfo() 669 na = (struct nlattr *)GENLMSG_DATA(&ans); in get_taginfo() 722 struct nlattr *na; in connect_tag() [all …]
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_user.c | 41 struct nlattr *rt = attrs[type]; in verify_one_alg() 133 struct nlattr **attrs, in verify_replay() 175 struct nlattr **attrs, in verify_newsa_info() 518 struct nlattr *rp, in xfrm_replay_verify_len() 829 struct nlattr **attrs, in xfrm_user_state_lookup() 929 struct nlattr *attr; in copy_sec_ctx() 950 struct nlattr *attr; in copy_user_offload() 977 struct nlattr *nla; in copy_to_user_auth() 2369 struct nlattr **attrs, in xfrm_flush_sa() 3359 struct nlattr *attr; in xfrm_notify_sa() [all …]
|
/openbmc/linux/tools/accounting/ |
H A D | getdelays.c | 122 struct nlattr *na; in send_cmd() 136 na = (struct nlattr *) GENLMSG_DATA(&msg); in send_cmd() 171 struct nlattr *na; in get_family_id() 186 na = (struct nlattr *) GENLMSG_DATA(&ans); in get_family_id() 187 na = (struct nlattr *) ((char *) na + NLA_ALIGN(na->nla_len)); in get_family_id() 286 struct nlattr *na; in main() 490 na = (struct nlattr *) GENLMSG_DATA(&msg); in main() 501 na = (struct nlattr *) NLA_DATA(na); in main() 538 na = (struct nlattr *)((char *)na + in main() 552 na = (struct nlattr *) (GENLMSG_DATA(&msg) + len); in main()
|
/openbmc/linux/net/sched/ |
H A D | act_api.c | 513 struct nlattr *nest; in tcf_dump_walker() 590 struct nlattr *nest; in tcf_del_walker() 1187 struct nlattr *nest; in tcf_action_dump_1() 1232 struct nlattr *nest; in tcf_action_dump() 1324 struct nlattr *kind; in tc_action_load_ops() 1379 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1() 1602 struct nlattr *nest; in tca_get_fill() 1707 struct nlattr *nest; in tca_action_flush() 1710 struct nlattr *kind; in tca_action_flush() 2082 static struct nlattr *find_dump_kind(struct nlattr **nla) in find_dump_kind() [all …]
|
H A D | act_tunnel_key.c | 91 struct nlattr *tb[TCA_TUNNEL_KEY_ENC_OPT_GENEVE_MAX + 1]; in tunnel_key_copy_geneve_opt() 143 struct nlattr *tb[TCA_TUNNEL_KEY_ENC_OPT_VXLAN_MAX + 1]; in tunnel_key_copy_vxlan_opt() 170 struct nlattr *tb[TCA_TUNNEL_KEY_ENC_OPT_ERSPAN_MAX + 1]; in tunnel_key_copy_erspan_opt() 223 const struct nlattr *attr, *head = nla_data(nla); in tunnel_key_copy_opts() 292 static int tunnel_key_get_opts_len(struct nlattr *nla, in tunnel_key_get_opts_len() 358 struct nlattr *est, struct tc_action **a, in tunnel_key_init() 364 struct nlattr *tb[TCA_TUNNEL_KEY_MAX + 1]; in tunnel_key_init() 576 struct nlattr *start; in tunnel_key_geneve_opts_dump() 607 struct nlattr *start; in tunnel_key_vxlan_opts_dump() 626 struct nlattr *start; in tunnel_key_erspan_opts_dump() [all …]
|
H A D | ematch.c | 171 struct tcf_ematch *em, struct nlattr *nla, int idx) in tcf_em_validate() 305 int tcf_em_tree_validate(struct tcf_proto *tp, struct nlattr *nla, in tcf_em_tree_validate() 309 struct nlattr *tb[TCA_EMATCH_TREE_MAX + 1]; in tcf_em_tree_validate() 310 struct nlattr *rt_match, *rt_hdr, *rt_list; in tcf_em_tree_validate() 441 struct nlattr *top_start; in tcf_em_tree_dump() 442 struct nlattr *list_start; in tcf_em_tree_dump() 457 struct nlattr *match_start = (struct nlattr *)tail; in tcf_em_tree_dump()
|
H A D | em_ipt.c | 30 int (*validate_match_data)(struct nlattr **tb, u8 mrev); 60 static int policy_validate_match_data(struct nlattr **tb, u8 mrev) in policy_validate_match_data() 75 static int addrtype_validate_match_data(struct nlattr **tb, u8 mrev) in addrtype_validate_match_data() 97 static struct xt_match *get_xt_match(struct nlattr **tb) in get_xt_match() 100 struct nlattr *mname_attr; in get_xt_match() 129 struct nlattr *tb[TCA_EM_IPT_MAX + 1]; in em_ipt_change()
|
/openbmc/linux/net/netfilter/ |
H A D | nft_tunnel.c | 76 const struct nlattr * const tb[]) in nft_tunnel_get_init() 192 const struct nlattr *attr, in nft_tunnel_obj_ip_init() 195 struct nlattr *tb[NFTA_TUNNEL_KEY_IP_MAX + 1]; in nft_tunnel_obj_ip_init() 221 const struct nlattr *attr, in nft_tunnel_obj_ip6_init() 224 struct nlattr *tb[NFTA_TUNNEL_KEY_IP6_MAX + 1]; in nft_tunnel_obj_ip6_init() 260 struct nlattr *tb[NFTA_TUNNEL_KEY_VXLAN_MAX + 1]; in nft_tunnel_obj_vxlan_init() 383 const struct nlattr *attr, in nft_tunnel_obj_opts_init() 387 struct nlattr *nla; in nft_tunnel_obj_opts_init() 443 const struct nlattr * const tb[], in nft_tunnel_obj_init() 539 struct nlattr *nest; in nft_tunnel_ip_dump() [all …]
|
/openbmc/linux/drivers/net/bonding/ |
H A D | bond_netlink.c | 132 static int bond_validate(struct nlattr *tb[], struct nlattr *data[], in bond_validate() 146 struct nlattr *tb[], struct nlattr *data[], in bond_slave_changelink() 184 struct nlattr *data[], in bond_changelink() 283 struct nlattr *attr; in bond_changelink() 311 struct nlattr *attr; in bond_changelink() 556 struct nlattr *tb[], struct nlattr *data[], in bond_newlink() 586 nla_total_size(sizeof(struct nlattr)) + in bond_get_size() 639 struct nlattr *targets; in bond_fill_info() 794 struct nlattr *nest; in bond_fill_info() 844 struct nlattr *nla __maybe_unused; in bond_fill_linkxstats() [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | testmode.c | 58 static int wl1271_tm_cmd_test(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_test() 138 static int wl1271_tm_cmd_interrogate(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_interrogate() 203 static int wl1271_tm_cmd_configure(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_configure() 235 static int wl1271_tm_detect_fem(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_detect_fem() 272 static int wl1271_tm_cmd_set_plt_mode(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_set_plt_mode() 303 static int wl12xx_tm_cmd_get_mac(struct wl1271 *wl, struct nlattr *tb[]) in wl12xx_tm_cmd_get_mac() 353 struct nlattr *tb[WL1271_TM_ATTR_MAX + 1]; in wl1271_tm_cmd()
|
/openbmc/linux/net/ipv4/ |
H A D | metrics.c | 10 static int ip_metrics_convert(struct nlattr *fc_mx, in ip_metrics_convert() 15 struct nlattr *nla; in ip_metrics_convert() 66 struct dst_metrics *ip_fib_metrics_init(struct nlattr *fc_mx, in ip_fib_metrics_init()
|
H A D | ip_tunnel_core.c | 473 struct nlattr *tb[LWTUNNEL_IP_OPT_GENEVE_MAX + 1]; in ip_tun_parse_opts_geneve() 510 struct nlattr *tb[LWTUNNEL_IP_OPT_VXLAN_MAX + 1]; in ip_tun_parse_opts_vxlan() 538 struct nlattr *tb[LWTUNNEL_IP_OPT_ERSPAN_MAX + 1]; in ip_tun_parse_opts_erspan() 587 struct nlattr *nla; in ip_tun_parse_opts() 640 static int ip_tun_get_optlen(struct nlattr *attr, in ip_tun_get_optlen() 657 struct nlattr *tb[LWTUNNEL_IP_MAX + 1]; in ip_tun_build_state() 734 struct nlattr *nest; in ip_tun_fill_encap_opts_geneve() 762 struct nlattr *nest; in ip_tun_fill_encap_opts_vxlan() 782 struct nlattr *nest; in ip_tun_fill_encap_opts_erspan() 812 struct nlattr *nest; in ip_tun_fill_encap_opts() [all …]
|
/openbmc/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_netlink.c | 71 static int ipoib_changelink(struct net_device *dev, struct nlattr *tb[], in ipoib_changelink() 72 struct nlattr *data[], in ipoib_changelink() 101 struct nlattr *tb[], struct nlattr *data[], in ipoib_new_child_link()
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | 726 struct nlattr *data; in rtnl_link_info_fill() 814 struct nlattr *mx; in rtnetlink_put_metrics() 1282 struct nlattr *attr; in rtnl_fill_stats() 1546 struct nlattr *xdp; in rtnl_xdp_fill() 1688 struct nlattr *af; in rtnl_fill_link_af() 1756 struct nlattr *pr; in rtnl_fill_proto_down() 2468 struct nlattr *af; in validate_linkmsg() 3067 struct nlattr *af; in do_setlink() 3441 struct nlattr **tb) in rtnl_group_changelink() 3463 struct nlattr **tb, struct nlattr **data, in rtnl_newlink_create() [all …]
|
/openbmc/linux/net/mptcp/ |
H A D | pm_userspace.c | 180 struct nlattr *token = info->attrs[MPTCP_PM_ATTR_TOKEN]; in mptcp_nl_cmd_announce() 181 struct nlattr *addr = info->attrs[MPTCP_PM_ATTR_ADDR]; in mptcp_nl_cmd_announce() 277 struct nlattr *token = info->attrs[MPTCP_PM_ATTR_TOKEN]; in mptcp_nl_cmd_remove() 278 struct nlattr *id = info->attrs[MPTCP_PM_ATTR_LOC_ID]; in mptcp_nl_cmd_remove() 344 struct nlattr *raddr = info->attrs[MPTCP_PM_ATTR_ADDR_REMOTE]; in mptcp_nl_cmd_sf_create() 345 struct nlattr *token = info->attrs[MPTCP_PM_ATTR_TOKEN]; in mptcp_nl_cmd_sf_create() 346 struct nlattr *laddr = info->attrs[MPTCP_PM_ATTR_ADDR]; in mptcp_nl_cmd_sf_create() 468 struct nlattr *raddr = info->attrs[MPTCP_PM_ATTR_ADDR_REMOTE]; in mptcp_nl_cmd_sf_destroy() 469 struct nlattr *token = info->attrs[MPTCP_PM_ATTR_TOKEN]; in mptcp_nl_cmd_sf_destroy() 470 struct nlattr *laddr = info->attrs[MPTCP_PM_ATTR_ADDR]; in mptcp_nl_cmd_sf_destroy() [all …]
|
/openbmc/linux/tools/power/x86/intel-speed-select/ |
H A D | hfi-events.c | 125 struct nlattr *tb[CTRL_ATTR_MAX + 1]; in family_handler() 127 struct nlattr *mcgrp; in family_handler() 136 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in family_handler() 194 struct nlattr *attrs[THERMAL_GENL_ATTR_MAX + 1]; in handle_event() 202 struct nlattr *cap; in handle_event()
|
/openbmc/linux/include/crypto/internal/ |
H A D | cryptouser.h | 8 int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs); 12 struct nlattr **attrs) in crypto_reportstat()
|
/openbmc/linux/crypto/ |
H A D | crypto_user_base.c | 185 struct nlattr **attrs) in crypto_report() 261 struct nlattr **attrs) in crypto_update_alg() 265 struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL]; in crypto_update_alg() 297 struct nlattr **attrs) in crypto_del_alg() 335 struct nlattr **attrs) in crypto_add_alg() 341 struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL]; in crypto_add_alg() 383 struct nlattr **attrs) in crypto_del_rng() 408 int (*doit)(struct sk_buff *, struct nlmsghdr *, struct nlattr **); 426 struct nlattr *attrs[CRYPTOCFGA_MAX+1]; in crypto_user_rcv_msg()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | netlink.c | 253 struct nlattr *na = (struct nlattr *)((void *)gnl + GENL_HDRLEN); in parse_genl_family_id() 254 struct nlattr *tb[CTRL_ATTR_FAMILY_ID + 1]; in parse_genl_family_id() 289 struct nlattr *nla; in __bpf_set_link_xdp_fd_replace() 347 struct nlattr *tb[IFLA_MAX + 1], *attr; in __dump_link_nlmsg() 362 struct nlattr *xdp_tb[IFLA_XDP_MAX + 1]; in get_xdp_info() 409 struct nlattr *na = (struct nlattr *)((void *)gnl + GENL_HDRLEN); in parse_xdp_features() 410 struct nlattr *tb[NETDEV_CMD_MAX + 1]; in parse_xdp_features() 659 struct nlattr *tbb[TCA_BPF_MAX + 1]; in __get_tc_info() 685 struct nlattr *tb[TCA_MAX + 1]; in get_tc_info() 688 (struct nlattr *)((void *)tc + NLMSG_ALIGN(sizeof(*tc))), in get_tc_info() [all …]
|