| /net/openvswitch/ |
| A D | flow_netlink.h | 35 int parse_flow_nlattrs(const struct nlattr *attr, const struct nlattr *a[], 38 const struct nlattr *a[OVS_KEY_ATTR_MAX + 1], 46 const struct nlattr *key, const struct nlattr *mask, 52 bool ovs_nla_get_ufid(struct sw_flow_id *, const struct nlattr *, bool log); 53 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid, 55 u32 ovs_nla_get_ufid_flags(const struct nlattr *attr); 57 int ovs_nla_copy_actions(struct net *net, const struct nlattr *attr, 62 int ovs_nla_put_actions(const struct nlattr *attr, 68 int nsh_key_from_nlattr(const struct nlattr *attr, struct ovs_key_nsh *nsh, 70 int nsh_hdr_from_nlattr(const struct nlattr *attr, struct nshhdr *nh,
|
| A D | flow_netlink.c | 55 struct nlattr *nla; in actions_may_change_flow() 597 struct nlattr *a; in vxlan_tun_opt_from_nlattr() 684 struct nlattr *a; in ip_tun_from_nlattr() 870 struct nlattr *nla; in vxlan_opt_to_nlattr() 963 struct nlattr *nla; in ip_tun_to_nlattr() 1311 struct nlattr *a; in nsh_hdr_from_nlattr() 1365 struct nlattr *a; in nsh_key_from_nlattr() 1406 struct nlattr *a; in nsh_key_put_from_nlattr() 2497 struct nlattr *a; in __add_action() 2516 struct nlattr *a; in ovs_nla_add_action() [all …]
|
| A D | vport-vxlan.c | 31 struct nlattr *exts; in vxlan_get_options() 51 static int vxlan_configure_exts(struct vport *vport, struct nlattr *attr, in vxlan_configure_exts() 54 struct nlattr *exts[OVS_VXLAN_EXT_MAX + 1]; in vxlan_configure_exts() 57 if (nla_len(attr) < sizeof(struct nlattr)) in vxlan_configure_exts() 74 struct nlattr *options = parms->options; in vxlan_tnl_create() 77 struct nlattr *a; in vxlan_tnl_create()
|
| A D | vport.h | 37 int ovs_vport_set_options(struct vport *, struct nlattr *options); 40 int ovs_vport_set_upcall_portids(struct vport *, const struct nlattr *pids); 107 struct nlattr *options; 112 struct nlattr *upcall_portids; 140 int (*set_options)(struct vport *, struct nlattr *);
|
| A D | actions.c | 284 const struct nlattr *a) in push_nsh() 576 const struct nlattr *a) in set_nsh() 930 const struct nlattr *a; in output_userspace() 1007 struct nlattr *actions; in sample() 1008 struct nlattr *sample_arg; in sample() 1048 struct nlattr *actions; in clone() 1049 struct nlattr *clone_arg; in clone() 1063 const struct nlattr *attr) in execute_hash() 1087 const struct nlattr *a) in execute_set_action() 1283 const struct nlattr *a; in execute_psample() [all …]
|
| /net/bridge/ |
| A D | br_mrp_netlink.c | 34 struct nlattr *tb[IFLA_BRIDGE_MRP_INSTANCE_MAX + 1]; in br_mrp_instance_parse() 76 struct nlattr *attr, in br_mrp_port_state_parse() 79 struct nlattr *tb[IFLA_BRIDGE_MRP_PORT_STATE_MAX + 1]; in br_mrp_port_state_parse() 105 struct nlattr *attr, in br_mrp_port_role_parse() 108 struct nlattr *tb[IFLA_BRIDGE_MRP_PORT_ROLE_MAX + 1]; in br_mrp_port_role_parse() 171 struct nlattr *tb[IFLA_BRIDGE_MRP_RING_ROLE_MAX + 1]; in br_mrp_ring_role_parse() 251 struct nlattr *tb[IFLA_BRIDGE_MRP_IN_STATE_MAX + 1]; in br_mrp_in_state_parse() 287 struct nlattr *tb[IFLA_BRIDGE_MRP_IN_ROLE_MAX + 1]; in br_mrp_in_role_parse() 325 struct nlattr *attr, in br_mrp_start_in_test_parse() 359 struct nlattr *tb[IFLA_BRIDGE_MRP_MAX + 1]; in br_mrp_parse() [all …]
|
| A D | br_cfm_netlink.c | 93 struct nlattr *tb[IFLA_BRIDGE_CFM_MEP_CREATE_MAX + 1]; in br_mep_create_parse() 133 struct nlattr *tb[IFLA_BRIDGE_CFM_MEP_DELETE_MAX + 1]; in br_mep_delete_parse() 156 struct nlattr *tb[IFLA_BRIDGE_CFM_MEP_CONFIG_MAX + 1]; in br_mep_config_parse() 198 struct nlattr *tb[IFLA_BRIDGE_CFM_CC_CONFIG_MAX + 1]; in br_cc_config_parse() 239 struct nlattr *tb[IFLA_BRIDGE_CFM_CC_PEER_MEP_MAX + 1]; in br_cc_peer_mep_add_parse() 266 struct nlattr *tb[IFLA_BRIDGE_CFM_CC_PEER_MEP_MAX + 1]; in br_cc_peer_mep_remove_parse() 293 struct nlattr *tb[IFLA_BRIDGE_CFM_CC_RDI_MAX + 1]; in br_cc_rdi_parse() 320 struct nlattr *tb[IFLA_BRIDGE_CFM_CC_CCM_TX_MAX + 1]; in br_cc_ccm_tx_parse() 382 struct nlattr *tb[IFLA_BRIDGE_CFM_MAX + 1]; in br_cfm_parse() 459 struct nlattr *tb; in br_cfm_config_fill_info() [all …]
|
| /net/tipc/ |
| A D | netlink_compat.c | 428 struct nlattr *prop; in tipc_nl_compat_bearer_enable() 429 struct nlattr *bearer; in tipc_nl_compat_bearer_enable() 503 struct nlattr *prop[], struct nlattr *stats[]) in __fill_bc_link_stat() 724 struct nlattr *prop; in tipc_nl_compat_media_set() 725 struct nlattr *media; in tipc_nl_compat_media_set() 751 struct nlattr *prop; in tipc_nl_compat_bearer_set() 778 struct nlattr *prop; in __tipc_nl_compat_link_set() 779 struct nlattr *link; in __tipc_nl_compat_link_set() 842 struct nlattr *link; in tipc_nl_compat_link_reset_stats() 1000 struct nlattr *nest; in tipc_nl_compat_publ_dump() [all …]
|
| /net/dcb/ |
| A D | dcbnl.c | 468 struct nlattr *app_nest; in dcbnl_getapp() 589 struct nlattr *pg_tb[DCB_PG_ATTR_MAX + 1]; in __dcbnl_pg_getcfg() 803 struct nlattr *pg_tb[DCB_PG_ATTR_MAX + 1]; in __dcbnl_pg_setcfg() 907 struct nlattr *bcn_nest; in dcbnl_bcn_getcfg() 1034 struct nlattr *app; in dcbnl_build_peer_app() 1068 struct nlattr *apptrust; in dcbnl_getapptrust() 1113 struct nlattr *attr_itr; in dcbnl_app_table_setdel() 1142 struct nlattr *ieee, *app, *rewr; in dcbnl_ieee_fill() 1365 struct nlattr *cee, *app; in dcbnl_cee_fill() 1645 struct nlattr *attr; in dcbnl_ieee_set() [all …]
|
| /net/netfilter/ |
| A D | nf_conntrack_netlink.c | 73 struct nlattr *nest_parms; in ctnetlink_dump_tuples_proto() 114 struct nlattr *nest_parms; in ctnetlink_dump_tuples_ip() 202 struct nlattr *nest_proto; in ctnetlink_dump_protoinfo() 226 struct nlattr *nest_helper; in ctnetlink_dump_helpinfo() 263 struct nlattr *nest_count; in dump_counters() 311 struct nlattr *nest_count; in ctnetlink_dump_timestamp() 359 struct nlattr *nest_secctx; in ctnetlink_dump_secctx() 437 struct nlattr *nest_parms; in ctnetlink_dump_master() 458 struct nlattr *nest_parms; in dump_ct_seq_adj() 507 struct nlattr *nest_parms; in ctnetlink_dump_ct_synproxy() [all …]
|
| A D | nfnetlink_cthelper.c | 73 const struct nlattr *attr) in nfnl_cthelper_parse_tuple() 76 struct nlattr *tb[NFCTH_TUPLE_MAX+1]; in nfnl_cthelper_parse_tuple() 138 const struct nlattr *attr) in nfnl_cthelper_expect_policy() 141 struct nlattr *tb[NFCTH_POLICY_MAX+1]; in nfnl_cthelper_expect_policy() 173 const struct nlattr *attr) in nfnl_cthelper_parse_expect_policy() 177 struct nlattr *tb[NFCTH_POLICY_SET_MAX+1]; in nfnl_cthelper_parse_expect_policy() 290 const struct nlattr *attr) in nfnl_cthelper_update_policy_one() 292 struct nlattr *tb[NFCTH_POLICY_MAX + 1]; in nfnl_cthelper_update_policy_one() 361 const struct nlattr *attr) in nfnl_cthelper_update_policy() 420 const struct nlattr * const tb[]) in nfnl_cthelper_new() [all …]
|
| A D | nft_tunnel.c | 76 const struct nlattr * const tb[]) in nft_tunnel_get_init() 192 const struct nlattr *attr, in nft_tunnel_obj_ip_init() 195 struct nlattr *tb[NFTA_TUNNEL_KEY_IP_MAX + 1]; in nft_tunnel_obj_ip_init() 221 const struct nlattr *attr, in nft_tunnel_obj_ip6_init() 224 struct nlattr *tb[NFTA_TUNNEL_KEY_IP6_MAX + 1]; in nft_tunnel_obj_ip6_init() 260 struct nlattr *tb[NFTA_TUNNEL_KEY_VXLAN_MAX + 1]; in nft_tunnel_obj_vxlan_init() 386 const struct nlattr *attr, in nft_tunnel_obj_opts_init() 390 struct nlattr *nla; in nft_tunnel_obj_opts_init() 446 const struct nlattr * const tb[], in nft_tunnel_obj_init() 543 struct nlattr *nest; in nft_tunnel_ip_dump() [all …]
|
| /net/ethtool/ |
| A D | bitset.c | 236 struct nlattr *nest; in ethnl_put_bitset32() 237 struct nlattr *attr; in ethnl_put_bitset32() 270 struct nlattr *bits; in ethnl_put_bitset32() 330 struct nlattr *tb[ARRAY_SIZE(bitset_policy)]; in ethnl_bitset_is_compact() 382 struct nlattr *tb[ARRAY_SIZE(bit_policy)]; in ethnl_parse_bit() 449 const struct nlattr *attr, struct nlattr **tb, in ethnl_update_bitset32_verbose() 454 struct nlattr *bit_attr; in ethnl_update_bitset32_verbose() 521 const struct nlattr *nest, in ethnl_compact_sanity_checks() 522 struct nlattr **tb, in ethnl_compact_sanity_checks() 527 const struct nlattr *test_attr; in ethnl_compact_sanity_checks() [all …]
|
| A D | netlink.h | 15 const struct nlattr *nest, struct net *net, 55 struct nlattr *attr; in ethnl_put_strz() 77 static inline void ethnl_update_u32(u32 *dst, const struct nlattr *attr, in ethnl_update_u32() 103 static inline void ethnl_update_u8(u8 *dst, const struct nlattr *attr, in ethnl_update_u8() 129 static inline void ethnl_update_bool32(u32 *dst, const struct nlattr *attr, in ethnl_update_bool32() 155 static inline void ethnl_update_bool(bool *dst, const struct nlattr *attr, in ethnl_update_bool() 183 const struct nlattr *attr, bool *mod) in ethnl_update_binary() 206 static inline void ethnl_update_bitfield32(u32 *dst, const struct nlattr *attr, in ethnl_update_bitfield32() 296 struct nlattr **tb, unsigned int header, 399 struct nlattr **tb,
|
| A D | bitset.h | 10 int ethnl_bitset_is_compact(const struct nlattr *bitset, bool *compact); 24 const struct nlattr *attr, ethnl_string_array_t names, 27 const struct nlattr *attr, ethnl_string_array_t names, 30 unsigned int nbits, const struct nlattr *attr,
|
| A D | strset.c | 170 static int strset_get_id(const struct nlattr *nest, u32 *val, in strset_get_id() 173 struct nlattr *tb[ARRAY_SIZE(get_stringset_policy)]; in strset_get_id() 192 struct nlattr **tb, in strset_parse_request() 196 struct nlattr *nest = tb[ETHTOOL_A_STRSET_STRINGSETS]; in strset_parse_request() 197 struct nlattr *attr; in strset_parse_request() 293 struct nlattr **tb = info->attrs; in strset_prepare_data() 396 struct nlattr *string_attr; in strset_fill_string() 420 struct nlattr *stringset_attr; in strset_fill_set() 421 struct nlattr *strings_attr; in strset_fill_set() 461 struct nlattr *nest; in strset_fill_reply()
|
| A D | cabletest.c | 61 struct nlattr **tb = info->attrs; in ethnl_act_cable_test() 172 struct nlattr *nest; in ethnl_cable_test_result_with_src() 200 struct nlattr *nest; in ethnl_cable_test_fault_length_with_src() 241 static int ethnl_act_cable_test_tdr_cfg(const struct nlattr *nest, in ethnl_act_cable_test_tdr_cfg() 245 struct nlattr *tb[ARRAY_SIZE(cable_test_tdr_act_cfg_policy)]; in ethnl_act_cable_test_tdr_cfg() 324 struct nlattr **tb = info->attrs; in ethnl_act_cable_test_tdr() 383 struct nlattr *nest; in ethnl_cable_test_amplitude() 407 struct nlattr *nest; in ethnl_cable_test_pulse() 429 struct nlattr *nest; in ethnl_cable_test_step()
|
| /net/8021q/ |
| A D | vlan_netlink.c | 31 static inline int vlan_validate_qos_map(struct nlattr *attr) in vlan_validate_qos_map() 39 static int vlan_validate(struct nlattr *tb[], struct nlattr *data[], in vlan_validate() 104 static int vlan_changelink(struct net_device *dev, struct nlattr *tb[], in vlan_changelink() 105 struct nlattr *data[], in vlan_changelink() 110 struct nlattr *attr; in vlan_changelink() 144 struct nlattr **data = params->data; in vlan_newlink() 145 struct nlattr **tb = params->tb; in vlan_newlink() 206 return nla_total_size(sizeof(struct nlattr)) + in vlan_qos_map_size() 227 struct nlattr *nest; in vlan_fill_info()
|
| /net/xfrm/ |
| A D | xfrm_user.c | 41 struct nlattr *rt = attrs[type]; in verify_one_alg() 108 struct nlattr *rt = attrs[type]; in verify_one_addr() 243 struct nlattr **attrs, in verify_newsa_info() 724 struct nlattr *rp, in xfrm_replay_verify_len() 1153 struct nlattr *attr; in copy_sec_ctx() 1174 struct nlattr *attr; in copy_user_offload() 1201 struct nlattr *nla; in copy_to_user_auth() 2226 struct nlattr **attrs, in xfrm_add_policy() 2630 struct nlattr **attrs, in xfrm_flush_sa() 3721 struct nlattr *attr; in xfrm_notify_sa() [all …]
|
| /net/sched/ |
| A D | act_api.c | 511 struct nlattr *nest; in tcf_action_dump_1() 557 struct nlattr *nest; in tcf_dump_walker() 634 struct nlattr *nest; in tcf_del_walker() 1249 struct nlattr *nest; in tcf_action_dump() 1339 struct nlattr *kind; in tc_action_load_ops() 1396 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1() 1648 struct nlattr *nest; in tca_get_fill() 1753 struct nlattr *nest; in tca_action_flush() 1756 struct nlattr *kind; in tca_action_flush() 2175 static struct nlattr *find_dump_kind(struct nlattr **nla) in find_dump_kind() [all …]
|
| A D | act_tunnel_key.c | 91 struct nlattr *tb[TCA_TUNNEL_KEY_ENC_OPT_GENEVE_MAX + 1]; in tunnel_key_copy_geneve_opt() 143 struct nlattr *tb[TCA_TUNNEL_KEY_ENC_OPT_VXLAN_MAX + 1]; in tunnel_key_copy_vxlan_opt() 170 struct nlattr *tb[TCA_TUNNEL_KEY_ENC_OPT_ERSPAN_MAX + 1]; in tunnel_key_copy_erspan_opt() 223 const struct nlattr *attr, *head = nla_data(nla); in tunnel_key_copy_opts() 292 static int tunnel_key_get_opts_len(struct nlattr *nla, in tunnel_key_get_opts_len() 358 struct nlattr *est, struct tc_action **a, in tunnel_key_init() 364 struct nlattr *tb[TCA_TUNNEL_KEY_MAX + 1]; in tunnel_key_init() 576 struct nlattr *start; in tunnel_key_geneve_opts_dump() 607 struct nlattr *start; in tunnel_key_vxlan_opts_dump() 626 struct nlattr *start; in tunnel_key_erspan_opts_dump() [all …]
|
| A D | ematch.c | 171 struct tcf_ematch *em, struct nlattr *nla, int idx) in tcf_em_validate() 305 int tcf_em_tree_validate(struct tcf_proto *tp, struct nlattr *nla, in tcf_em_tree_validate() 309 struct nlattr *tb[TCA_EMATCH_TREE_MAX + 1]; in tcf_em_tree_validate() 310 struct nlattr *rt_match, *rt_hdr, *rt_list; in tcf_em_tree_validate() 441 struct nlattr *top_start; in tcf_em_tree_dump() 442 struct nlattr *list_start; in tcf_em_tree_dump() 457 struct nlattr *match_start = (struct nlattr *)tail; in tcf_em_tree_dump()
|
| /net/core/ |
| A D | rtnetlink.c | 884 struct nlattr *data; in rtnl_link_info_fill() 972 struct nlattr *mx; in rtnetlink_put_metrics() 1468 struct nlattr *attr; in rtnl_fill_stats() 1735 struct nlattr *xdp; in rtnl_xdp_fill() 1878 struct nlattr *af; in rtnl_fill_link_af() 1947 struct nlattr *pr; in rtnl_fill_proto_down() 2701 struct nlattr *af; in validate_linkmsg() 3306 struct nlattr *af; in do_setlink() 3789 struct nlattr **tb, struct nlattr **data, in rtnl_newlink_create() 4242 struct nlattr *attr; in rtnl_linkprop() [all …]
|
| /net/ipv4/ |
| A D | ip_tunnel_core.c | 476 struct nlattr *tb[LWTUNNEL_IP_OPT_GENEVE_MAX + 1]; in ip_tun_parse_opts_geneve() 513 struct nlattr *tb[LWTUNNEL_IP_OPT_VXLAN_MAX + 1]; in ip_tun_parse_opts_vxlan() 541 struct nlattr *tb[LWTUNNEL_IP_OPT_ERSPAN_MAX + 1]; in ip_tun_parse_opts_erspan() 590 struct nlattr *nla; in ip_tun_parse_opts() 643 static int ip_tun_get_optlen(struct nlattr *attr, in ip_tun_get_optlen() 660 struct nlattr *tb[LWTUNNEL_IP_MAX + 1]; in ip_tun_build_state() 743 struct nlattr *nest; in ip_tun_fill_encap_opts_geneve() 771 struct nlattr *nest; in ip_tun_fill_encap_opts_vxlan() 791 struct nlattr *nest; in ip_tun_fill_encap_opts_erspan() 821 struct nlattr *nest; in ip_tun_fill_encap_opts() [all …]
|
| /net/netfilter/ipset/ |
| A D | ip_set_core.c | 275 flag_nested(const struct nlattr *nla) in flag_nested() 337 ip_set_comment_uget(struct nlattr *tb) in ip_set_comment_uget() 1050 const struct nlattr * const attr[]) in ip_set_create() 1307 const struct nlattr * const attr[]) in ip_set_flush() 1345 const struct nlattr * const attr[]) in ip_set_rename() 1496 const struct nlattr *attr; in dump_attrs() 1770 struct nlattr *cmdattr; in call_ad() 1815 const struct nlattr *nla; in ip_set_ad() 1876 const struct nlattr * const attr[]) in ip_set_utest() 1911 const struct nlattr * const attr[]) in ip_set_header() [all …]
|