/openbmc/linux/drivers/net/ |
H A D | dummy.c | 132 static int dummy_validate(struct nlattr *tb[], struct nlattr *data[], in dummy_validate()
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_gre.c | 1658 static int ip6gre_tunnel_validate(struct nlattr *tb[], struct nlattr *data[], in ip6gre_tunnel_validate() 1677 static int ip6gre_tap_validate(struct nlattr *tb[], struct nlattr *data[], in ip6gre_tap_validate() 1702 static int ip6erspan_tap_validate(struct nlattr *tb[], struct nlattr *data[], in ip6erspan_tap_validate() 1767 static void ip6erspan_set_version(struct nlattr *data[], in ip6erspan_set_version() 1788 static void ip6gre_netlink_parms(struct nlattr *data[], in ip6gre_netlink_parms() 1981 struct nlattr *tb[], struct nlattr *data[], in ip6gre_newlink_common() 2015 struct nlattr *tb[], struct nlattr *data[], in ip6gre_newlink() 2045 struct nlattr *data[], struct __ip6_tnl_parm *p_p, in ip6gre_changelink_common() 2078 struct nlattr *data[], in ip6gre_changelink() 2248 struct nlattr *tb[], struct nlattr *data[], in ip6erspan_newlink() [all …]
|
/openbmc/linux/net/openvswitch/ |
H A D | datapath.c | 440 struct nlattr *nla; in queue_userspace_packet() 595 struct nlattr **a = info->attrs; in ovs_packet_cmd_execute() 835 struct nlattr *start; in ovs_flow_cmd_fill_actions() 969 struct nlattr **a = info->attrs; in ovs_flow_cmd_new() 1139 const struct nlattr *a, in get_flow_actions() 1176 struct nlattr **a, in ovs_nla_init_match_and_action() 1216 struct nlattr **a = info->attrs; in ovs_flow_cmd_set() 1317 struct nlattr **a = info->attrs; in ovs_flow_cmd_get() 1376 struct nlattr **a = info->attrs; in ovs_flow_cmd_del() 1785 struct nlattr **a = info->attrs; in ovs_dp_cmd_new() [all …]
|
H A D | vport.c | 252 int ovs_vport_set_options(struct vport *vport, struct nlattr *options) in ovs_vport_set_options() 313 struct nlattr *nla; in ovs_vport_get_upcall_stats() 369 struct nlattr *nla; in ovs_vport_get_options() 402 int ovs_vport_set_upcall_portids(struct vport *vport, const struct nlattr *ids) in ovs_vport_set_upcall_portids()
|
H A D | conntrack.c | 1065 static int parse_nat(const struct nlattr *attr, in parse_nat() 1068 struct nlattr *a; in parse_nat() 1214 struct nlattr *a; in parse_ct() 1423 struct nlattr *start; in ovs_ct_nat_to_attr() 1490 struct nlattr *start; in ovs_ct_action_to_attr() 1534 void ovs_ct_free_action(const struct nlattr *a) in ovs_ct_free_action() 1753 struct nlattr *nla_zone_limit, in ovs_ct_limit_get_zone_limit() 1825 struct nlattr **a = info->attrs; in ovs_ct_limit_cmd_set() 1859 struct nlattr **a = info->attrs; in ovs_ct_limit_cmd_del() 1891 struct nlattr **a = info->attrs; in ovs_ct_limit_cmd_get() [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_private.h | 848 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], 851 int br_fdb_delete_bulk(struct ndmsg *ndm, struct nlattr *tb[], 1018 int br_mdb_del(struct net_device *dev, struct nlattr *tb[], 1413 static inline int br_mdb_add(struct net_device *dev, struct nlattr *tb[], in br_mdb_add() 1821 struct nlattr **tb, 1824 const struct nlattr *attr, 1918 const struct nlattr *mst_attr, in br_mst_process() 1987 struct nlattr *attr, int cmd, struct netlink_ext_ack *extack); 1993 struct nlattr *attr, int cmd, in br_mrp_parse() 2019 struct nlattr *attr, int cmd, struct netlink_ext_ack *extack); [all …]
|
H A D | br_netlink_tunnel.c | 94 struct nlattr *tmap; in br_fill_vlan_tinfo() 222 int br_parse_vlan_tunnel_info(struct nlattr *attr, in br_parse_vlan_tunnel_info() 225 struct nlattr *tb[IFLA_BRIDGE_VLAN_TUNNEL_MAX + 1]; in br_parse_vlan_tunnel_info()
|
/openbmc/linux/net/sched/ |
H A D | cls_route.c | 386 struct nlattr **tb, struct nlattr *est, int new, in route4_set_parms() 474 struct nlattr **tca, void **arg, u32 flags, in route4_change() 481 struct nlattr *opt = tca[TCA_OPTIONS]; in route4_change() 482 struct nlattr *tb[TCA_ROUTE4_MAX + 1]; in route4_change() 603 struct nlattr *nest; in route4_dump()
|
H A D | sch_red.c | 234 static int __red_change(struct Qdisc *sch, struct nlattr **tb, in __red_change() 335 static int red_init(struct Qdisc *sch, struct nlattr *opt, in red_init() 339 struct nlattr *tb[TCA_RED_MAX + 1]; in red_init() 369 static int red_change(struct Qdisc *sch, struct nlattr *opt, in red_change() 373 struct nlattr *tb[TCA_RED_MAX + 1]; in red_change() 412 struct nlattr *opts = NULL; in red_dump()
|
H A D | sch_drr.c | 54 struct nlattr **tca, unsigned long *arg, in drr_change_class() 59 struct nlattr *opt = tca[TCA_OPTIONS]; in drr_change_class() 60 struct nlattr *tb[TCA_DRR_MAX + 1]; in drr_change_class() 239 struct nlattr *nest; in drr_dump_class() 409 static int drr_init_qdisc(struct Qdisc *sch, struct nlattr *opt, in drr_init_qdisc()
|
H A D | act_connmark.c | 98 static int tcf_connmark_init(struct net *net, struct nlattr *nla, in tcf_connmark_init() 99 struct nlattr *est, struct tc_action **a, in tcf_connmark_init() 105 struct nlattr *tb[TCA_CONNMARK_MAX + 1]; in tcf_connmark_init()
|
H A D | sch_taprio.c | 1095 struct nlattr *n; in parse_sched_list() 1693 struct nlattr *opt, in taprio_parse_tc_entry() 1699 struct nlattr *tb[TCA_TAPRIO_TC_ENTRY_MAX + 1] = { }; in taprio_parse_tc_entry() 1744 struct nlattr *opt, in taprio_parse_tc_entries() 1753 struct nlattr *n; in taprio_parse_tc_entries() 1847 struct nlattr *tb[TCA_TAPRIO_ATTR_MAX + 1] = { }; in taprio_change() 2230 struct nlattr *item; in dump_entry() 2260 struct nlattr *entry_list; in dump_schedule() 2297 struct nlattr *n; in taprio_dump_tc_entries() 2341 struct nlattr *xstats; in taprio_dump_xstats() [all …]
|
/openbmc/linux/net/core/ |
H A D | lwt_bpf.c | 332 static int bpf_parse_prog(struct nlattr *attr, struct bpf_lwt_prog *prog, in bpf_parse_prog() 335 struct nlattr *tb[LWT_BPF_PROG_MAX + 1]; in bpf_parse_prog() 369 static int bpf_build_state(struct net *net, struct nlattr *nla, in bpf_build_state() 374 struct nlattr *tb[LWT_BPF_MAX + 1]; in bpf_build_state() 446 struct nlattr *nest; in bpf_fill_lwt_prog() 476 int nest_len = nla_total_size(sizeof(struct nlattr)) + in bpf_encap_nlsize()
|
/openbmc/linux/net/netfilter/ |
H A D | nfnetlink_acct.c | 60 const struct nlattr * const tb[]) in nfnl_acct_new() 247 const struct nlattr *const attr = cb->data; in nfnl_acct_start() 248 struct nlattr *tb[NFACCT_FILTER_MAX + 1]; in nfnl_acct_start() 275 const struct nlattr * const tb[]) in nfnl_acct_get() 344 const struct nlattr * const tb[]) in nfnl_acct_del()
|
H A D | nft_quota.c | 66 static int nft_quota_do_init(const struct nlattr * const tb[], in nft_quota_do_init() 111 const struct nlattr * const tb[], in nft_quota_obj_init() 213 const struct nlattr * const tb[]) in nft_quota_init()
|
H A D | nft_hash.c | 71 const struct nlattr * const tb[]) in nft_jhash_init() 118 const struct nlattr * const tb[]) in nft_symhash_init() 243 const struct nlattr * const tb[]) in nft_hash_select_ops()
|
H A D | nft_connlimit.c | 60 const struct nlattr * const tb[], in nft_connlimit_do_init() 132 const struct nlattr * const tb[], in nft_connlimit_obj_init() 198 const struct nlattr * const tb[]) in nft_connlimit_init()
|
H A D | nft_counter.c | 59 static int nft_counter_do_init(const struct nlattr * const tb[], in nft_counter_do_init() 85 const struct nlattr * const tb[], in nft_counter_obj_init() 219 const struct nlattr * const tb[]) in nft_counter_init()
|
/openbmc/linux/net/mptcp/ |
H A D | mptcp_diag.c | 19 struct nlattr *bc, bool net_admin) in sk_diag_dump() 82 struct nlattr *bc = cb_data->inet_diag_nla_bc; in mptcp_diag_dump_listeners() 160 struct nlattr *bc; in mptcp_diag_dump()
|
/openbmc/linux/net/ethtool/ |
H A D | module.c | 107 struct nlattr **tb = info->attrs; in ethnl_set_module_validate() 129 struct nlattr **tb = info->attrs; in ethnl_set_module()
|
H A D | rings.c | 138 struct nlattr **tb = info->attrs; in ethnl_set_rings_validate() 189 struct nlattr **tb = info->attrs; in ethnl_set_rings() 190 const struct nlattr *err_attr; in ethnl_set_rings()
|
/openbmc/linux/net/tipc/ |
H A D | udp_media.h | 44 int tipc_udp_nl_bearer_add(struct tipc_bearer *b, struct nlattr *attr);
|
/openbmc/linux/include/uapi/linux/ |
H A D | netlink.h | 229 struct nlattr { struct 250 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) argument
|
/openbmc/linux/include/net/netfilter/ |
H A D | nf_conntrack_helper.h | 52 int (*from_nlattr)(struct nlattr *attr, struct nf_conn *ct); 102 int (*from_nlattr)(struct nlattr *attr,
|
/openbmc/linux/net/ipv4/ |
H A D | netlink.c | 10 int rtm_getroute_parse_ip_proto(struct nlattr *attr, u8 *ip_proto, u8 family, in rtm_getroute_parse_ip_proto()
|