Home
last modified time | relevance | path

Searched refs:nlattr (Results 226 – 250 of 492) sorted by relevance

12345678910>>...20

/openbmc/linux/net/devlink/
H A Drate.c48 devlink_rate_node_get_from_attrs(struct devlink *devlink, struct nlattr **attrs) in devlink_rate_node_get_from_attrs()
73 struct nlattr **attrs = info->attrs; in devlink_rate_get_from_info()
257 struct nlattr *nla_parent) in devlink_nl_rate_parent_node_set()
324 struct nlattr *nla_parent, **attrs = info->attrs; in devlink_nl_rate_set()
399 struct nlattr **attrs = info->attrs; in devlink_rate_set_ops_supported()
H A Dresource.c169 struct nlattr *child_resource_attr; in devlink_resource_put()
170 struct nlattr *resource_attr; in devlink_resource_put()
224 struct nlattr *resources_attr; in devlink_resource_fill()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dtestmode.c392 mt76_tm_get_u8(struct nlattr *attr, u8 *dest, u8 min, u8 max) in mt76_tm_get_u8()
413 struct nlattr *tb[NUM_MT76_TM_ATTRS]; in mt76_testmode_cmd()
488 struct nlattr *cur; in mt76_testmode_cmd()
502 struct nlattr *cur; in mt76_testmode_cmd()
576 struct nlattr *tb[NUM_MT76_TM_ATTRS] = {}; in mt76_testmode_dump()
/openbmc/linux/net/sched/
H A Dsch_sfb.c490 static int sfb_change(struct Qdisc *sch, struct nlattr *opt, in sfb_change()
495 struct nlattr *tb[TCA_SFB_MAX + 1]; in sfb_change()
553 static int sfb_init(struct Qdisc *sch, struct nlattr *opt, in sfb_init()
570 struct nlattr *opts; in sfb_dump()
648 struct nlattr **tca, unsigned long *arg, in sfb_change_class()
H A Dact_ctinfo.c156 static int tcf_ctinfo_init(struct net *net, struct nlattr *nla, in tcf_ctinfo_init()
157 struct nlattr *est, struct tc_action **a, in tcf_ctinfo_init()
164 struct nlattr *tb[TCA_CTINFO_MAX + 1]; in tcf_ctinfo_init()
H A Dsch_tbf.c350 static int tbf_change(struct Qdisc *sch, struct nlattr *opt, in tbf_change()
355 struct nlattr *tb[TCA_TBF_MAX + 1]; in tbf_change()
478 static int tbf_init(struct Qdisc *sch, struct nlattr *opt, in tbf_init()
506 struct nlattr *nest; in tbf_dump()
H A Dem_meta.c695 static int meta_var_change(struct meta_value *dst, struct nlattr *nla) in meta_var_change()
748 static int meta_int_change(struct meta_value *dst, struct nlattr *nla) in meta_int_change()
795 int (*change)(struct meta_value *, struct nlattr *);
885 static inline int meta_change_data(struct meta_value *dst, struct nlattr *nla) in meta_change_data()
910 struct nlattr *tb[TCA_EM_META_MAX + 1]; in em_meta_change()
H A Dcls_matchall.c164 u32 handle, struct nlattr **tca, in mall_change()
169 struct nlattr *tb[TCA_MATCHALL_MAX + 1]; in mall_change()
331 struct nlattr *nest; in mall_dump()
H A Dact_vlan.c116 static int tcf_vlan_init(struct net *net, struct nlattr *nla, in tcf_vlan_init()
117 struct nlattr *est, struct tc_action **a, in tcf_vlan_init()
123 struct nlattr *tb[TCA_VLAN_MAX + 1]; in tcf_vlan_init()
/openbmc/linux/include/net/netfilter/
H A Dnft_fib.h23 const struct nlattr * const tb[]);
/openbmc/linux/net/core/
H A Dfib_rules.c216 static struct fib_kuid_range nla_get_kuid_range(struct nlattr **tb) in nla_get_kuid_range()
239 static int nla_get_port_range(struct nlattr *pattr, in nla_get_port_range()
419 struct nlattr **tb, in rule_find()
496 static int fib_nl2rule_l3mdev(struct nlattr *nla, struct fib_rule *nlrule, in fib_nl2rule_l3mdev()
508 static int fib_nl2rule_l3mdev(struct nlattr *nla, struct fib_rule *nlrule, in fib_nl2rule_l3mdev()
519 struct nlattr *tb[], in fib_nl2rule()
687 struct nlattr **tb, struct fib_rule *rule) in rule_exists()
781 struct nlattr *tb[FRA_MAX + 1]; in fib_nl_newrule()
889 struct nlattr *tb[FRA_MAX+1]; in fib_nl_delrule()
H A Dbpf_sk_storage.c485 bpf_sk_storage_diag_alloc(const struct nlattr *nla_stgs) in bpf_sk_storage_diag_alloc()
488 struct nlattr *nla; in bpf_sk_storage_diag_alloc()
546 struct nlattr *nla_stg, *nla_value; in diag_get()
589 struct nlattr *nla_stgs; in bpf_sk_storage_diag_put_all()
643 struct nlattr *nla_stgs; in bpf_sk_storage_diag_put()
/openbmc/linux/net/ipv4/
H A Dinet_diag.c207 struct nlattr **req_nlas) in inet_diag_parse_attrs()
209 struct nlattr *nla; in inet_diag_parse_attrs()
245 struct nlattr *attr; in inet_sk_diag_fill()
653 static int inet_diag_bc_run(const struct nlattr *_bc, in inet_diag_bc_run()
787 int inet_diag_bc_sk(const struct nlattr *bc, struct sock *sk) in inet_diag_bc_sk()
911 static int inet_diag_bc_audit(const struct nlattr *attr, in inet_diag_bc_audit()
1018 struct nlattr *bc; in inet_diag_dump_icsk()
1206 struct nlattr *nla; in __inet_diag_dump_start()
1356 struct nlattr *attr; in inet_diag_handler_get_info()
H A Dtcp_diag.c60 struct nlattr *attr; in tcp_diag_put_md5sig()
88 struct nlattr *nest; in tcp_diag_put_ulp()
H A Draw_diag.c129 struct nlattr *bc, bool net_admin) in sk_diag_dump()
147 struct nlattr *bc; in raw_diag_dump()
/openbmc/linux/net/tipc/
H A Dnode.c1599 struct nlattr *attrs; in __tipc_nl_add_node()
2245 struct nlattr *attrs[TIPC_NLA_NET_MAX + 1]; in tipc_nl_peer_rm()
2427 struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1]; in tipc_nl_node_set_link()
2462 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in tipc_nl_node_set_link()
2502 struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1]; in tipc_nl_node_get_link()
2571 struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1]; in tipc_nl_node_reset_link_stats()
2667 struct nlattr *link[TIPC_NLA_LINK_MAX + 1]; in tipc_nl_node_dump_link()
2756 struct nlattr *attrs[TIPC_NLA_MON_MAX + 1]; in tipc_nl_node_set_monitor()
2784 struct nlattr *attrs; in __tipc_nl_add_monitor_prop()
2875 struct nlattr *mon[TIPC_NLA_MON_MAX + 1]; in tipc_nl_node_dump_monitor_peer()
[all …]
/openbmc/linux/net/netfilter/
H A Dnft_synproxy.c153 const struct nlattr * const tb[], in nft_synproxy_do_init()
265 const struct nlattr * const tb[]) in nft_synproxy_init()
307 const struct nlattr * const tb[], in nft_synproxy_obj_init()
H A Dnft_meta.c468 const struct nlattr * const tb[]) in nft_meta_get_init()
634 const struct nlattr * const tb[]) in nft_meta_set_init()
814 const struct nlattr * const tb[]) in nft_meta_select_ops()
837 const struct nlattr * const tb[]) in nft_meta_inner_init()
948 const struct nlattr * const tb[], in nft_secmark_obj_init()
/openbmc/linux/net/ethtool/
H A Dstats.c88 struct nlattr **tb, in stats_parse_request()
209 struct nlattr *nest; in stat_put()
317 struct nlattr *nest; in stats_put_rmon_hist()
379 struct nlattr *nest; in stats_put_stats()
/openbmc/linux/include/net/
H A Dip_fib.h45 struct nlattr *fc_mx;
52 struct nlattr *fc_encap;
439 int fib_gw_from_via(struct fib_config *cfg, struct nlattr *nla,
535 struct nlattr *fc_encap, u16 fc_encap_type,
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dtestmode.c73 struct nlattr *tb[ATH6KL_TM_ATTR_MAX + 1]; in ath6kl_tm_cmd()
/openbmc/linux/tools/lib/thermal/
H A Dsampling.c15 struct nlattr *attrs[THERMAL_GENL_ATTR_MAX + 1]; in handle_thermal_sample()
/openbmc/linux/net/ncsi/
H A Dncsi-netlink.c63 struct nlattr *vid_nest; in ncsi_write_channel_info()
97 struct nlattr *pnest, *cnest, *nest; in ncsi_write_package_info()
159 struct nlattr *attr; in ncsi_pkg_info_nl()
215 struct nlattr *attrs[NCSI_ATTR_MAX + 1]; in ncsi_pkg_info_all_nl()
219 struct nlattr *attr; in ncsi_pkg_info_all_nl()
/openbmc/linux/net/bridge/
H A Dbr_private_tunnel.h19 int br_parse_vlan_tunnel_info(struct nlattr *attr,
H A Dbr_fdb.c151 struct nlattr *nest = nla_nest_start(skb, NDA_FDB_EXT_ATTRS); in fdb_fill_info()
664 int br_fdb_delete_bulk(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete_bulk()
971 struct nlattr *tb[], in br_fdb_get()
1023 struct nlattr *nfea_tb[]) in fdb_add_entry()
1117 u16 nlh_flags, u16 vid, struct nlattr *nfea_tb[], in __br_fdb_add()
1158 int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_add()
1163 struct nlattr *nfea_tb[NFEA_MAX + 1], *attr; in br_fdb_add()
1212 memset(nfea_tb, 0, sizeof(struct nlattr *) * (NFEA_MAX + 1)); in br_fdb_add()
1278 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete()

12345678910>>...20