Home
last modified time | relevance | path

Searched refs:nlattr (Results 176 – 200 of 492) sorted by relevance

12345678910>>...20

/openbmc/linux/net/devlink/
H A Dport.c33 struct nlattr **attrs) in devlink_port_get_from_attrs()
372 const struct nlattr *attr, in devlink_port_fn_caps_set()
416 struct nlattr *function_attr; in devlink_nl_port_function_attrs_put()
617 const struct nlattr *attr, in devlink_port_function_hw_addr_set()
645 const struct nlattr *attr, in devlink_port_fn_state_set()
655 struct nlattr **tb, in devlink_port_function_validate()
659 struct nlattr *attr; in devlink_port_function_validate()
724 const struct nlattr *attr, in devlink_port_function_set()
727 struct nlattr *tb[DEVLINK_PORT_FUNCTION_ATTR_MAX + 1]; in devlink_port_function_set()
783 struct nlattr *attr = info->attrs[DEVLINK_ATTR_PORT_FUNCTION]; in devlink_nl_cmd_port_set_doit()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Drestrack.c84 struct nlattr *table_attr; in fill_stat_mr_entry()
126 struct nlattr *table_attr; in fill_res_mr_entry()
/openbmc/linux/net/openvswitch/
H A Ddatapath.h140 const struct nlattr *userdata;
141 const struct nlattr *actions;
/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dvendor_cmd.c33 struct nlattr *tb[NUM_WLCORE_VENDOR_ATTR]; in wlcore_vendor_cmd_smart_config_start()
110 struct nlattr *tb[NUM_WLCORE_VENDOR_ATTR]; in wlcore_vendor_cmd_smart_config_set_group_key()
/openbmc/linux/include/net/netfilter/
H A Dnft_reject.h23 const struct nlattr * const tb[]);
/openbmc/linux/net/netfilter/
H A Dnft_cmp.c73 const struct nlattr * const tb[]) in nft_cmp_init()
211 const struct nlattr * const tb[]) in nft_cmp_fast_init()
313 const struct nlattr * const tb[]) in nft_cmp16_fast_init()
384 nft_cmp_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) in nft_cmp_select_ops()
H A Dnfnetlink_queue.c365 struct nlattr *nest; in nfqnl_put_bridge()
400 struct nlattr *nla; in nfqnl_build_packet_message()
462 size += sizeof(struct nlattr) + hlen; in nfqnl_build_packet_message()
639 struct nlattr *nla; in nfqnl_build_packet_message()
1136 const struct nlattr * const nfqa[]) in nfqnl_recv_verdict_batch()
1186 const struct nlattr * const nfqa[], in nfqnl_ct_parse()
1211 const struct nlattr * const nfqa[]) in nfqa_parse_bridge()
1214 struct nlattr *tb[NFQA_VLAN_MAX + 1]; in nfqa_parse_bridge()
1247 const struct nlattr * const nfqa[]) in nfqnl_recv_verdict()
1313 const struct nlattr * const cda[]) in nfqnl_recv_unsupp()
[all …]
H A Dnft_dynset.c126 const struct nlattr *attr, int pos) in nft_dynset_expr_alloc()
162 const struct nlattr * const tb[]) in nft_dynset_init()
258 struct nlattr *tmp; in nft_dynset_init()
394 struct nlattr *nest; in nft_dynset_dump()
H A Dnf_conntrack_proto_sctp.c556 static int sctp_to_nlattr(struct sk_buff *skb, struct nlattr *nla, in sctp_to_nlattr()
559 struct nlattr *nest_parms; in sctp_to_nlattr()
600 static int nlattr_to_sctp(struct nlattr *cda[], struct nf_conn *ct) in nlattr_to_sctp()
602 struct nlattr *attr = cda[CTA_PROTOINFO_SCTP]; in nlattr_to_sctp()
603 struct nlattr *tb[CTA_PROTOINFO_SCTP_MAX+1]; in nlattr_to_sctp()
637 static int sctp_timeout_nlattr_to_obj(struct nlattr *tb[], in sctp_timeout_nlattr_to_obj()
H A Dnft_ct.c382 const struct nlattr * const tb[]) in nft_ct_get_init()
540 const struct nlattr * const tb[]) in nft_ct_set_init()
793 const struct nlattr * const tb[]) in nft_ct_select_ops()
870 struct net *net, const struct nlattr *attr) in nft_ct_timeout_parse_policy()
872 struct nlattr **tb; in nft_ct_timeout_parse_policy()
936 const struct nlattr * const tb[], in nft_ct_timeout_obj_init()
1007 struct nlattr *nest_params; in nft_ct_timeout_obj_dump()
1052 const struct nlattr * const tb[], in nft_ct_helper_obj_init()
1241 const struct nlattr * const tb[], in nft_ct_expect_obj_init()
/openbmc/linux/net/sched/
H A Dact_ife.c377 struct nlattr *nest; in dump_metalist()
439 static int load_metalist(struct nlattr **tb, bool rtnl_held) in load_metalist()
458 static int populate_metalist(struct tcf_ife_info *ife, struct nlattr **tb, in populate_metalist()
480 static int tcf_ife_init(struct net *net, struct nlattr *nla, in tcf_ife_init()
481 struct nlattr *est, struct tc_action **a, in tcf_ife_init()
487 struct nlattr *tb[TCA_IFE_MAX + 1]; in tcf_ife_init()
488 struct nlattr *tb2[IFE_META_MAX + 1]; in tcf_ife_init()
H A Dact_gact.c53 static int tcf_gact_init(struct net *net, struct nlattr *nla, in tcf_gact_init()
54 struct nlattr *est, struct tc_action **a, in tcf_gact_init()
60 struct nlattr *tb[TCA_GACT_MAX + 1]; in tcf_gact_init()
H A Dact_skbmod.c102 static int tcf_skbmod_init(struct net *net, struct nlattr *nla, in tcf_skbmod_init()
103 struct nlattr *est, struct tc_action **a, in tcf_skbmod_init()
110 struct nlattr *tb[TCA_SKBMOD_MAX + 1]; in tcf_skbmod_init()
H A Dsch_ingress.c77 static int ingress_init(struct Qdisc *sch, struct nlattr *opt, in ingress_init()
136 struct nlattr *nest; in ingress_dump()
241 static int clsact_init(struct Qdisc *sch, struct nlattr *opt, in clsact_init()
/openbmc/linux/tools/lib/bpf/
H A DBuild1 libbpf-y := libbpf.o bpf.o nlattr.o btf.o libbpf_errno.o str_error.o \
/openbmc/linux/drivers/net/
H A Dmacvlan.c1022 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add()
1048 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del()
1316 static int macvlan_validate(struct nlattr *tb[], struct nlattr *data[], in macvlan_validate()
1319 struct nlattr *nla, *head; in macvlan_validate()
1397 struct nlattr *data[]) in macvlan_changelink_sources()
1401 struct nlattr *nla, *head; in macvlan_changelink_sources()
1453 struct nlattr *tb[], struct nlattr *data[], in macvlan_common_newlink()
1578 struct nlattr *tb[], struct nlattr *data[], in macvlan_newlink()
1598 struct nlattr *tb[], struct nlattr *data[], in macvlan_changelink()
1702 struct nlattr *nest; in macvlan_fill_info()
/openbmc/linux/drivers/net/ipvlan/
H A Dipvlan.h170 struct nlattr *tb[], struct nlattr *data[],
/openbmc/linux/net/mpls/
H A Daf_mpls.c890 struct nlattr *nla_via, *nla_newdst; in mpls_nh_build_multi()
1104 struct nlattr *nla; in mpls_fill_stats_af()
1214 struct nlattr **tb, in mpls_netconf_valid_get_req()
1671 struct nlattr *nla; in nla_put_via()
1691 struct nlattr *nla; in nla_put_labels()
1797 struct nlattr *tb[RTA_MAX+1]; in rtm_to_route_config()
1861 struct nlattr *nla = tb[index]; in rtm_to_route_config()
2026 struct nlattr *mp; in mpls_dump_route()
2096 struct nlattr *tb[RTA_MAX + 1]; in mpls_valid_fib_dump_req()
2286 struct nlattr **tb, in mpls_valid_getroute_req()
[all …]
/openbmc/linux/tools/testing/selftests/netfilter/
H A Dnf-queue.c36 static int parse_attr_cb(const struct nlattr *attr, void *data) in parse_attr_cb()
38 const struct nlattr **tb = data; in parse_attr_cb()
79 struct nlattr *tb[NFQA_MAX+1] = { 0 }; in queue_cb()
/openbmc/linux/tools/net/ynl/generated/
H A Dhandshake-user.c113 const struct nlattr *nested) in handshake_x509_parse()
116 const struct nlattr *attr; in handshake_x509_parse()
162 const struct nlattr *attr; in handshake_accept_rsp_parse()
/openbmc/linux/include/net/
H A Dgenetlink.h112 struct nlattr ** attrs;
359 struct nlattr *tb[], int maxtype, in genlmsg_parse_deprecated()
378 struct nlattr *tb[], int maxtype, in genlmsg_parse()
/openbmc/linux/tools/lib/thermal/
H A Dcommands.c40 struct nlattr *attr; in parse_tz_get()
74 struct nlattr *attr; in parse_cdev_get()
114 struct nlattr *attr; in parse_tz_get_trip()
/openbmc/linux/include/linux/
H A Dnetlink.h84 const struct nlattr *bad_attr;
86 const struct nlattr *miss_nest;
200 struct nlattr **__tb = (tb); \
/openbmc/linux/net/hsr/
H A Dhsr_netlink.c32 struct nlattr *tb[], struct nlattr *data[], in hsr_newlink()
274 struct nlattr *na; in hsr_get_node_status()
414 struct nlattr *na; in hsr_get_node_list()
/openbmc/linux/drivers/thermal/
H A Dthermal_netlink.c54 struct nlattr **attrs;
204 struct nlattr *start_cap; in thermal_genl_event_cpu_capability_change()
429 struct nlattr *start_tz; in thermal_genl_cmd_tz_get_id()
454 struct nlattr *start_trip; in thermal_genl_cmd_tz_get_trip()
568 struct nlattr *start_cdev; in thermal_genl_cmd_cdev_get()

12345678910>>...20