Home
last modified time | relevance | path

Searched refs:nlattr (Results 76 – 100 of 492) sorted by relevance

12345678910>>...20

/openbmc/linux/include/net/netfilter/
H A Dnft_meta.h20 const struct nlattr * const tb[]);
24 const struct nlattr * const tb[]);
/openbmc/linux/net/sched/
H A Dact_pedit.c42 static struct tcf_pedit_key_ex *tcf_pedit_keys_ex_parse(struct nlattr *nla, in tcf_pedit_keys_ex_parse()
47 const struct nlattr *ka; in tcf_pedit_keys_ex_parse()
61 struct nlattr *tb[TCA_PEDIT_KEY_EX_MAX + 1]; in tcf_pedit_keys_ex_parse()
116 struct nlattr *keys_start = nla_nest_start_noflag(skb, in tcf_pedit_key_ex_dump()
122 struct nlattr *key_start; in tcf_pedit_key_ex_dump()
156 static int tcf_pedit_init(struct net *net, struct nlattr *nla, in tcf_pedit_init()
157 struct nlattr *est, struct tc_action **a, in tcf_pedit_init()
165 struct nlattr *tb[TCA_PEDIT_MAX + 1]; in tcf_pedit_init()
167 struct nlattr *pattr; in tcf_pedit_init()
H A Dact_ipt.c95 static int __tcf_ipt_init(struct net *net, unsigned int id, struct nlattr *nla, in __tcf_ipt_init()
96 struct nlattr *est, struct tc_action **a, in __tcf_ipt_init()
102 struct nlattr *tb[TCA_IPT_MAX + 1]; in __tcf_ipt_init()
216 static int tcf_ipt_init(struct net *net, struct nlattr *nla, in tcf_ipt_init()
217 struct nlattr *est, struct tc_action **a, in tcf_ipt_init()
225 static int tcf_xt_init(struct net *net, struct nlattr *nla, in tcf_xt_init()
226 struct nlattr *est, struct tc_action **a, in tcf_xt_init()
H A Dcls_flower.c2240 struct nlattr **tb; in fl_change()
2679 struct nlattr **tb; in fl_tmplt_create()
2838 struct nlattr *opts; in fl_dump_key_mpls_opts()
2839 struct nlattr *lse; in fl_dump_key_mpls_opts()
3007 struct nlattr *nest; in fl_dump_key_geneve_opt()
3041 struct nlattr *nest; in fl_dump_key_vxlan_opt()
3063 struct nlattr *nest; in fl_dump_key_erspan_opt()
3097 struct nlattr *nest; in fl_dump_key_gtp_opt()
3158 struct nlattr *opts; in fl_dump_key_cfm()
3194 struct nlattr *nest; in fl_dump_key_options()
[all …]
/openbmc/linux/net/netlabel/
H A Dnetlabel_cipso_v4.c82 struct nlattr *nla; in netlbl_cipsov4_add_common()
126 struct nlattr *nla_a; in netlbl_cipsov4_add_std()
127 struct nlattr *nla_b; in netlbl_cipsov4_add_std()
210 struct nlattr *lvl_loc; in netlbl_cipsov4_add_std()
211 struct nlattr *lvl_rem; in netlbl_cipsov4_add_std()
287 struct nlattr *cat_loc; in netlbl_cipsov4_add_std()
288 struct nlattr *cat_rem; in netlbl_cipsov4_add_std()
455 struct nlattr *nla_a; in netlbl_cipsov4_list()
456 struct nlattr *nla_b; in netlbl_cipsov4_list()
/openbmc/linux/net/netfilter/
H A Dnfnetlink_cttimeout.c72 struct net *net, const struct nlattr *attr) in ctnl_timeout_parse_policy()
74 struct nlattr **tb; in ctnl_timeout_parse_policy()
100 const struct nlattr * const cda[]) in cttimeout_new_timeout()
190 struct nlattr *nest_parms; in ctnl_timeout_fill_info()
265 const struct nlattr * const cda[]) in cttimeout_get_timeout()
332 const struct nlattr * const cda[]) in cttimeout_del_timeout()
363 const struct nlattr * const cda[]) in cttimeout_default_set()
401 struct nlattr *nest_parms; in cttimeout_default_fill_info()
435 const struct nlattr * const cda[]) in cttimeout_default_get()
H A Dnft_limit.c59 const struct nlattr * const tb[], bool pkts) in nft_limit_init()
197 const struct nlattr * const tb[]) in nft_limit_pkts_init()
261 const struct nlattr * const tb[]) in nft_limit_bytes_init()
305 const struct nlattr * const tb[]) in nft_limit_select_ops()
339 const struct nlattr * const tb[], in nft_limit_obj_pkts_init()
392 const struct nlattr * const tb[], in nft_limit_obj_bytes_init()
429 const struct nlattr * const tb[]) in nft_limit_obj_select_ops()
H A Dnfnetlink_hook.c61 static struct nlattr *nfnl_start_info_type(struct sk_buff *nlskb, enum nfnl_hook_chaintype t) in nfnl_start_info_type()
63 struct nlattr *nest = nla_nest_start(nlskb, NFNLA_HOOK_CHAIN_INFO); in nfnl_start_info_type()
82 struct nlattr *nest, *nest2; in nfnl_hook_put_bpf_prog_info()
118 struct nlattr *nest, *nest2; in nfnl_hook_put_nft_chain_info()
346 const struct nlattr * const *nla = cb->data; in nfnl_hook_dump_start()
395 const struct nlattr * const nla[]) in nfnl_hook_get()
H A Dnf_tables_api.c1727 struct nlattr *nest; in nft_dump_stats()
3144 struct nlattr *nest; in nft_expr_dump()
3400 struct nlattr *list; in nf_tables_fill_rule_info()
3904 struct nlattr *tmp; in nf_tables_newrule()
4521 struct nlattr *nest; in nf_tables_fill_set()
4829 struct nlattr *attr; in nft_set_desc_concat()
4890 struct nlattr *tmp; in nft_set_expr_alloc()
5637 struct nlattr *nest; in nft_set_elem_expr_dump()
5674 struct nlattr *nest; in nf_tables_fill_setelem()
5824 struct nlattr *nest; in nf_tables_dump_set()
[all …]
H A Dnfnetlink.c257 struct nlattr *cda[NFNL_MAX_ATTR_COUNT + 1]; in nfnetlink_rcv_msg()
258 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_msg()
290 err = nc->call(skb, &info, (const struct nlattr **)cda); in nfnetlink_rcv_msg()
302 err = nc->call(skb, &info, (const struct nlattr **)cda); in nfnetlink_rcv_msg()
494 struct nlattr *cda[NFNL_MAX_ATTR_COUNT + 1]; in nfnetlink_rcv_batch()
495 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_batch()
519 err = nc->call(skb, &info, (const struct nlattr **)cda); in nfnetlink_rcv_batch()
607 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_skb_batch()
608 struct nlattr *cda[NFNL_BATCH_MAX + 1]; in nfnetlink_rcv_skb_batch()
/openbmc/linux/net/bridge/
H A Dbr_mst.c267 struct nlattr *nest; in br_mst_fill_info()
299 const struct nlattr *attr, in br_mst_process_one()
302 struct nlattr *tb[IFLA_BRIDGE_MST_ENTRY_MAX + 1]; in br_mst_process_one()
328 int br_mst_process(struct net_bridge_port *p, const struct nlattr *mst_attr, in br_mst_process()
331 struct nlattr *attr; in br_mst_process()
H A Dbr_mdb.c76 struct nlattr *nest, *port_nest; in br_rports_fill_info()
150 struct nlattr **mdb_attrs) in __mdb_entry_to_br_ip()
178 struct nlattr *nest, *nest_ent; in __mdb_fill_srcs()
236 struct nlattr *nest_ent; in __mdb_fill_info()
324 struct nlattr *nest, *nest2; in br_mdb_fill_info()
424 struct nlattr *nest, *nest2; in nlmsg_populate_mdb_fill()
542 struct nlattr *nest, *port_nest; in nlmsg_populate_rtr_fill()
1070 struct nlattr *tb[MDBE_SRCATTR_MAX + 1]; in br_mdb_config_src_entry_init()
1095 struct nlattr *src_entry; in br_mdb_config_src_list_init()
1139 struct nlattr *mdb_attrs[MDBE_ATTR_MAX + 1]; in br_mdb_config_attrs_init()
[all …]
/openbmc/phosphor-networkd/src/
H A Dncsi_util.cpp85 struct nlattr* tb[NCSI_ATTR_MAX + 1] = {nullptr}; in __anon66112f010102()
91 struct nlattr* packagetb[NCSI_PKG_ATTR_MAX + 1] = {nullptr}; in __anon66112f010102()
97 struct nlattr* channeltb[NCSI_CHANNEL_ATTR_MAX + 1] = {nullptr}; in __anon66112f010102()
112 auto attrTgt = static_cast<nlattr*>(nla_data(tb[NCSI_ATTR_PACKAGE_LIST])); in __anon66112f010102()
146 auto channelListTarget = static_cast<nlattr*>( in __anon66112f010102()
217 auto vid = static_cast<nlattr*>(nla_data(vids)); in __anon66112f010102()
234 struct nlattr* tb[NCSI_ATTR_MAX + 1] = {nullptr}; in __anon66112f010202()
/openbmc/linux/net/tipc/
H A Dbearer.c249 struct nlattr *attr[], in tipc_enable_bearer()
425 struct nlattr *attr[]) in tipc_enable_l2_media()
827 struct nlattr *attrs; in __tipc_nl_add_bearer()
828 struct nlattr *prop; in __tipc_nl_add_bearer()
1036 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in __tipc_nl_bearer_enable()
1140 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in __tipc_nl_bearer_set()
1192 struct nlattr *attrs; in __tipc_nl_add_media()
1193 struct nlattr *prop; in __tipc_nl_add_media()
1269 struct nlattr *attrs[TIPC_NLA_MEDIA_MAX + 1]; in tipc_nl_media_get()
1318 struct nlattr *attrs[TIPC_NLA_MEDIA_MAX + 1]; in __tipc_nl_media_set()
[all …]
/openbmc/linux/net/ipv4/
H A Dip_gre.c1045 static int ipgre_tunnel_validate(struct nlattr *tb[], struct nlattr *data[], in ipgre_tunnel_validate()
1069 static int ipgre_tap_validate(struct nlattr *tb[], struct nlattr *data[], in ipgre_tap_validate()
1094 static int erspan_validate(struct nlattr *tb[], struct nlattr *data[], in erspan_validate()
1135 struct nlattr *data[], in ipgre_netlink_parms()
1136 struct nlattr *tb[], in ipgre_netlink_parms()
1202 struct nlattr *data[], in erspan_netlink_parms()
1203 struct nlattr *tb[], in erspan_netlink_parms()
1360 struct nlattr *tb[], struct nlattr *data[], in ipgre_newlink()
1378 struct nlattr *tb[], struct nlattr *data[], in erspan_newlink()
1396 struct nlattr *data[], in ipgre_changelink()
[all …]
H A Dipip.c392 static int ipip_tunnel_validate(struct nlattr *tb[], struct nlattr *data[], in ipip_tunnel_validate()
407 static void ipip_netlink_parms(struct nlattr *data[], in ipip_netlink_parms()
431 struct nlattr *tb[], struct nlattr *data[], in ipip_newlink()
450 static int ipip_changelink(struct net_device *dev, struct nlattr *tb[], in ipip_changelink()
451 struct nlattr *data[], in ipip_changelink()
/openbmc/linux/net/ethtool/
H A Dlinkmodes.c214 static int ethnl_check_linkmodes(struct genl_info *info, struct nlattr **tb) in ethnl_check_linkmodes()
216 const struct nlattr *master_slave_cfg, *lanes_cfg; in ethnl_check_linkmodes()
236 static int ethnl_update_linkmodes(struct genl_info *info, struct nlattr **tb, in ethnl_update_linkmodes()
242 const struct nlattr *master_slave_cfg, *lanes_cfg; in ethnl_update_linkmodes()
323 struct nlattr **tb = info->attrs; in ethnl_set_linkmodes()
/openbmc/linux/net/core/
H A Dlwtunnel.c112 struct nlattr *encap, unsigned int family, in lwtunnel_build_state()
187 int lwtunnel_valid_encap_type_attr(struct nlattr *attr, int remaining, in lwtunnel_valid_encap_type_attr()
191 struct nlattr *nla_entype; in lwtunnel_valid_encap_type_attr()
192 struct nlattr *attrs; in lwtunnel_valid_encap_type_attr()
239 struct nlattr *nest; in lwtunnel_fill_encap()
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_restrack.c15 struct nlattr *table_attr; in hns_roce_fill_res_cq_entry()
65 struct nlattr *table_attr; in hns_roce_fill_res_qp_entry()
118 struct nlattr *table_attr; in hns_roce_fill_res_mr_entry()
/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_mdb.c121 struct nlattr *nest; in vxlan_mdb_entry_info_fill_srcs()
131 struct nlattr *nest_ent; in vxlan_mdb_entry_info_fill_srcs()
161 struct nlattr *nest; in vxlan_mdb_entry_info_fill()
217 struct nlattr *nest; in vxlan_mdb_entry_fill()
245 struct nlattr *nest; in vxlan_mdb_fill()
408 const struct nlattr *src_entry, in vxlan_mdb_config_src_entry_init()
411 struct nlattr *tb[MDBE_SRCATTR_MAX + 1]; in vxlan_mdb_config_src_entry_init()
453 const struct nlattr *src_list, in vxlan_mdb_config_src_list_init()
457 struct nlattr *src_entry; in vxlan_mdb_config_src_list_init()
485 const struct nlattr *set_attrs, in vxlan_mdb_config_attrs_init()
[all …]
/openbmc/linux/include/net/
H A Dpkt_cls.h356 struct nlattr **tb, struct nlattr *rate_tlv,
359 int tcf_exts_validate_ex(struct net *net, struct tcf_proto *tp, struct nlattr **tb,
360 struct nlattr *rate_tlv, struct tcf_exts *exts,
475 int tcf_em_tree_validate(struct tcf_proto *, struct nlattr *,
543 tcf_change_indev(struct net *net, struct nlattr *indev_tlv, in tcf_change_indev()
604 struct nlattr *block_index_attr,
607 int tcf_qevent_validate_change(struct tcf_qevent *qe, struct nlattr *block_index_attr,
615 struct nlattr *block_index_attr, in tcf_qevent_init()
625 static inline int tcf_qevent_validate_change(struct tcf_qevent *qe, struct nlattr *block_index_attr, in tcf_qevent_validate_change()
/openbmc/linux/net/xfrm/
H A Dxfrm_compat.c228 static int xfrm_nla_cpy(struct sk_buff *dst, const struct nlattr *src, int len) in xfrm_nla_cpy()
233 static int xfrm_xlate64_attr(struct sk_buff *dst, const struct nlattr *src) in xfrm_xlate64_attr()
292 const struct nlattr *nla, *attrs; in xfrm_xlate64()
355 struct nlattr *attrs[XFRMA_MAX + 1], in xfrm_user_rcv_calculate_len64()
399 static int xfrm_attr_cpy32(void *dst, size_t *pos, const struct nlattr *src, in xfrm_attr_cpy32()
403 struct nlattr *nla; in xfrm_attr_cpy32()
428 static int xfrm_xlate32_attr(void *dst, const struct nlattr *nla, in xfrm_xlate32_attr()
465 struct nlattr *attrs[XFRMA_MAX+1], in xfrm_xlate32()
589 struct nlattr *attrs[XFRMA_MAX+1]; in xfrm_user_rcv_msg_compat()
/openbmc/linux/net/wireless/
H A Dpmsr.c11 struct nlattr *ftmreq, in pmsr_parse_ftm()
16 struct nlattr *tb[NL80211_PMSR_FTM_REQ_ATTR_MAX + 1]; in pmsr_parse_ftm()
185 struct nlattr *peer, in pmsr_parse_peer()
189 struct nlattr *tb[NL80211_PMSR_PEER_ATTR_MAX + 1]; in pmsr_parse_peer()
190 struct nlattr *req[NL80211_PMSR_REQ_ATTR_MAX + 1]; in pmsr_parse_peer()
191 struct nlattr *treq; in pmsr_parse_peer()
262 struct nlattr *reqattr = info->attrs[NL80211_ATTR_PEER_MEASUREMENTS]; in nl80211_pmsr_start()
266 struct nlattr *peers, *peer; in nl80211_pmsr_start()
485 struct nlattr *pmsr, *peers, *peer, *resp, *data, *typedata; in nl80211_pmsr_send_result()
/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_config.c121 struct nlattr *tb[], struct nlattr *data[], in rmnet_newlink()
277 static int rmnet_rtnl_validate(struct nlattr *tb[], struct nlattr *data[], in rmnet_rtnl_validate()
296 static int rmnet_changelink(struct net_device *dev, struct nlattr *tb[], in rmnet_changelink()
297 struct nlattr *data[], in rmnet_changelink()
/openbmc/linux/tools/lib/thermal/
H A Dthermal_nl.c78 struct nlattr *tb[CTRL_ATTR_MAX + 1]; in nl_family_handler()
80 struct nlattr *mcgrp; in nl_family_handler()
91 struct nlattr *tb_mcgrp[CTRL_ATTR_MCAST_GRP_MAX + 1]; in nl_family_handler()

12345678910>>...20