Home
last modified time | relevance | path

Searched refs:nlattr (Results 126 – 150 of 492) sorted by relevance

12345678910>>...20

/openbmc/linux/include/linux/
H A Dgenl_magic_func.h135 static struct nlattr *nested_attr_tb[128];
144 struct nlattr *tla = info->attrs[tag_number]; \
145 struct nlattr **ntb = nested_attr_tb; \
146 struct nlattr *nla; \
327 struct nlattr *tla = nla_nest_start(skb, tag_number); \
H A Dnetfilter.h369 struct nlattr;
374 const struct nlattr *attr);
471 struct nlattr;
478 int (*parse)(const struct nlattr *attr, struct nf_conn *ct);
479 int (*attach_expect)(const struct nlattr *attr, struct nf_conn *ct,
H A Drtnetlink.h112 struct nlattr *tb[],
118 struct nlattr *tb[],
/openbmc/linux/net/tipc/
H A Dudp_media.c471 struct nlattr **attrs = genl_dumpit_info(cb)->info.attrs; in tipc_udp_nl_dump_remoteip()
473 struct nlattr *battrs[TIPC_NLA_BEARER_MAX + 1]; in tipc_udp_nl_dump_remoteip()
549 struct nlattr *nest; in tipc_udp_nl_add_bearer_data()
585 static int tipc_parse_udp_addr(struct nlattr *nla, struct udp_media_addr *addr, in tipc_parse_udp_addr()
626 int tipc_udp_nl_bearer_add(struct tipc_bearer *b, struct nlattr *attr) in tipc_udp_nl_bearer_add()
630 struct nlattr *opts[TIPC_NLA_UDP_MAX + 1]; in tipc_udp_nl_bearer_add()
665 struct nlattr *attrs[]) in tipc_udp_enable()
673 struct nlattr *opts[TIPC_NLA_UDP_MAX + 1]; in tipc_udp_enable()
H A Dnet.c169 struct nlattr *attrs; in __tipc_nl_add_net()
227 struct nlattr *attrs[TIPC_NLA_NET_MAX + 1]; in __tipc_nl_net_set()
294 struct nlattr *attrs; in __tipc_nl_addr_legacy_get()
/openbmc/linux/net/netfilter/
H A Dnft_compat.c200 static int nft_parse_compat(const struct nlattr *attr, u16 *proto, bool *inv) in nft_parse_compat()
202 struct nlattr *tb[NFTA_RULE_COMPAT_MAX+1]; in nft_parse_compat()
244 const struct nlattr * const tb[]) in nft_target_init()
321 struct nlattr *nla; in nft_extension_dump_info()
498 const struct nlattr * const tb[], in __nft_match_init()
526 const struct nlattr * const tb[]) in nft_match_init()
533 const struct nlattr * const tb[]) in nft_match_large_init()
683 const struct nlattr * const tb[]) in nfnl_compat_get_rcu()
786 const struct nlattr * const tb[]) in nft_match_select_ops()
867 const struct nlattr * const tb[]) in nft_target_select_ops()
H A Dnft_fwd_netdev.c48 const struct nlattr * const tb[]) in nft_fwd_netdev_init()
157 const struct nlattr * const tb[]) in nft_fwd_neigh_init()
239 const struct nlattr * const tb[]) in nft_fwd_select_ops()
H A Dnft_bitwise.c94 const struct nlattr *const tb[]) in nft_bitwise_init_bool()
132 const struct nlattr *const tb[]) in nft_bitwise_init_shift()
162 const struct nlattr * const tb[]) in nft_bitwise_init()
342 nft_bitwise_extract_u32_data(const struct nlattr * const tb, u32 *out) in nft_bitwise_extract_u32_data()
363 const struct nlattr * const tb[]) in nft_bitwise_fast_init()
486 const struct nlattr * const tb[]) in nft_bitwise_select_ops()
H A Dnf_conntrack_proto_dccp.c640 static int dccp_to_nlattr(struct sk_buff *skb, struct nlattr *nla, in dccp_to_nlattr()
643 struct nlattr *nest_parms; in dccp_to_nlattr()
685 static int nlattr_to_dccp(struct nlattr *cda[], struct nf_conn *ct) in nlattr_to_dccp()
687 struct nlattr *attr = cda[CTA_PROTOINFO_DCCP]; in nlattr_to_dccp()
688 struct nlattr *tb[CTA_PROTOINFO_DCCP_MAX + 1]; in nlattr_to_dccp()
729 static int dccp_timeout_nlattr_to_obj(struct nlattr *tb[], in dccp_timeout_nlattr_to_obj()
H A Dnft_objref.c27 const struct nlattr * const tb[]) in nft_objref_init()
130 const struct nlattr * const tb[]) in nft_objref_map_init()
215 const struct nlattr * const tb[]) in nft_objref_select_ops()
H A Dnft_numgen.c54 const struct nlattr * const tb[]) in nft_ng_inc_init()
154 const struct nlattr * const tb[]) in nft_ng_random_init()
212 nft_ng_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) in nft_ng_select_ops()
/openbmc/linux/include/net/
H A Dbond_options.h16 struct nlattr;
123 struct nlattr *bad_attr, struct netlink_ext_ack *extack);
/openbmc/linux/net/sched/
H A Dcls_bpf.c339 static int cls_bpf_prog_from_ops(struct nlattr **tb, struct cls_bpf_prog *prog) in cls_bpf_prog_from_ops()
376 static int cls_bpf_prog_from_efd(struct nlattr **tb, struct cls_bpf_prog *prog, in cls_bpf_prog_from_efd()
411 u32 handle, struct nlattr **tca, in cls_bpf_change()
418 struct nlattr *tb[TCA_BPF_MAX + 1]; in cls_bpf_change()
541 struct nlattr *nla; in cls_bpf_dump_bpf_info()
559 struct nlattr *nla; in cls_bpf_dump_ebpf_info()
581 struct nlattr *nest; in cls_bpf_dump()
H A Dsch_plug.c122 static int plug_init(struct Qdisc *sch, struct nlattr *opt, in plug_init()
158 static int plug_change(struct Qdisc *sch, struct nlattr *opt, in plug_change()
/openbmc/linux/net/ipv4/
H A Dip_vti.c525 static int vti_tunnel_validate(struct nlattr *tb[], struct nlattr *data[], in vti_tunnel_validate()
531 static void vti_netlink_parms(struct nlattr *data[], in vti_netlink_parms()
564 struct nlattr *tb[], struct nlattr *data[], in vti_newlink()
574 static int vti_changelink(struct net_device *dev, struct nlattr *tb[], in vti_changelink()
575 struct nlattr *data[], in vti_changelink()
/openbmc/linux/drivers/net/wireless/ath/wcn36xx/
H A Dtestmode.c44 struct nlattr *tb[]) in wcn36xx_tm_cmd_ptt()
130 struct nlattr *tb[WCN36XX_TM_ATTR_MAX + 1]; in wcn36xx_tm_cmd()
/openbmc/linux/tools/include/uapi/linux/
H A Dnetlink.h211 struct nlattr { struct
232 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) argument
/openbmc/linux/net/caif/
H A Dchnl_net.c421 static void caif_netlink_parms(struct nlattr *data[], in caif_netlink_parms()
443 struct nlattr *tb[], struct nlattr *data[], in ipcaif_newlink()
466 static int ipcaif_changelink(struct net_device *dev, struct nlattr *tb[], in ipcaif_changelink()
467 struct nlattr *data[], in ipcaif_changelink()
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dtestmode.c231 static int ath11k_tm_cmd_get_version(struct ath11k *ar, struct nlattr *tb[]) in ath11k_tm_cmd_get_version()
263 static int ath11k_tm_cmd_testmode_start(struct ath11k *ar, struct nlattr *tb[]) in ath11k_tm_cmd_testmode_start()
300 static int ath11k_tm_cmd_wmi(struct ath11k *ar, struct nlattr *tb[], in ath11k_tm_cmd_wmi()
390 static int ath11k_tm_cmd_wmi_ftm(struct ath11k *ar, struct nlattr *tb[]) in ath11k_tm_cmd_wmi_ftm()
479 struct nlattr *tb[ATH11K_TM_ATTR_MAX + 1]; in ath11k_tm_cmd()
/openbmc/linux/net/ethtool/
H A Dtunnels.c87 struct nlattr *ports, *table, *entry; in ethnl_tunnel_info_fill_reply()
168 struct nlattr **tb = info->attrs; in ethnl_tunnel_info_doit()
222 struct nlattr **tb = info->info.attrs; in ethnl_tunnel_info_start()
H A Dplca.c31 static void plca_update_sint(int *dst, struct nlattr **tb, u32 attrid, in plca_update_sint()
34 const struct nlattr *attr = tb[attrid]; in plca_update_sint()
146 struct nlattr **tb = info->attrs; in ethnl_set_plca()
/openbmc/linux/tools/bpf/bpftool/
H A Dmain.h236 struct nlattr;
239 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb);
240 int do_filter_dump(struct tcmsg *ifinfo, struct nlattr **tb, const char *kind,
/openbmc/linux/tools/net/ynl/generated/
H A Ddevlink-user.c164 const struct nlattr *attr; in devlink_dl_info_version_parse()
206 const struct nlattr *attr; in devlink_dl_reload_stats_entry_parse()
241 const struct nlattr *attr; in devlink_dl_reload_act_stats_parse()
290 const struct nlattr *attr; in devlink_dl_reload_act_info_parse()
344 const struct nlattr *attr; in devlink_dl_reload_stats_parse()
389 const struct nlattr *attr; in devlink_dl_dev_stats_parse()
442 const struct nlattr *attr; in devlink_get_rsp_parse()
592 const struct nlattr *attr; in devlink_port_get_rsp_parse()
672 const struct nlattr *attr; in devlink_port_get_rsp_dump_parse()
779 const struct nlattr *attr; in devlink_sb_get_rsp_parse()
[all …]
/openbmc/linux/net/netlink/
H A Dgenetlink.c779 static struct nlattr **
790 struct nlattr **attrbuf; in genl_family_rcv_msg_attrs_parse()
828 struct nlattr **attrs = NULL; in genl_start()
945 struct nlattr **attrbuf; in genl_family_rcv_msg_doit()
1103 struct nlattr *nla_ops; in ctrl_fill_info()
1110 struct nlattr *nest; in ctrl_fill_info()
1132 struct nlattr *nla_grps; in ctrl_fill_info()
1140 struct nlattr *nest; in ctrl_fill_info()
1174 struct nlattr *nla_grps; in ctrl_fill_mcgrp_info()
1175 struct nlattr *nest; in ctrl_fill_mcgrp_info()
[all …]
/openbmc/linux/tools/net/ynl/lib/
H A Dynl.c81 const struct nlattr *attr; in ynl_err_walk()
126 off -= sizeof(struct nlattr); in ynl_err_walk()
142 const struct nlattr *tb[NLMSGERR_ATTR_MAX + 1] = {}; in ynl_ext_ack_check()
145 const struct nlattr *attr; in ynl_ext_ack_check()
307 int ynl_attr_validate(struct ynl_parse_arg *yarg, const struct nlattr *attr) in ynl_attr_validate()
482 ynl_get_family_info_mcast(struct ynl_sock *ys, const struct nlattr *mcasts) in ynl_get_family_info_mcast()
484 const struct nlattr *entry, *attr; in ynl_get_family_info_mcast()
520 const struct nlattr *attr; in ynl_get_family_info_cb()

12345678910>>...20