Home
last modified time | relevance | path

Searched refs:nla_parse_nested (Results 1 – 25 of 34) sorted by relevance

12

/linux/net/bridge/
A Dbr_mrp_netlink.c38 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_INSTANCE_MAX, attr, in br_mrp_instance_parse()
83 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_PORT_STATE_MAX, attr, in br_mrp_port_state_parse()
112 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_PORT_ROLE_MAX, attr, in br_mrp_port_role_parse()
141 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_RING_STATE_MAX, attr, in br_mrp_ring_state_parse()
175 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_RING_ROLE_MAX, attr, in br_mrp_ring_role_parse()
212 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_START_TEST_MAX, attr, in br_mrp_start_test_parse()
255 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_IN_STATE_MAX, attr, in br_mrp_in_state_parse()
291 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_IN_ROLE_MAX, attr, in br_mrp_in_role_parse()
332 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_START_IN_TEST_MAX, attr, in br_mrp_start_in_test_parse()
373 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_MAX, attr, in br_mrp_parse()
A Dbr_cfm_netlink.c98 err = nla_parse_nested(tb, IFLA_BRIDGE_CFM_MEP_CREATE_MAX, attr, in br_mep_create_parse()
137 err = nla_parse_nested(tb, IFLA_BRIDGE_CFM_MEP_DELETE_MAX, attr, in br_mep_delete_parse()
161 err = nla_parse_nested(tb, IFLA_BRIDGE_CFM_MEP_CONFIG_MAX, attr, in br_mep_config_parse()
203 err = nla_parse_nested(tb, IFLA_BRIDGE_CFM_CC_CONFIG_MAX, attr, in br_cc_config_parse()
243 err = nla_parse_nested(tb, IFLA_BRIDGE_CFM_CC_PEER_MEP_MAX, attr, in br_cc_peer_mep_add_parse()
270 err = nla_parse_nested(tb, IFLA_BRIDGE_CFM_CC_PEER_MEP_MAX, attr, in br_cc_peer_mep_remove_parse()
297 err = nla_parse_nested(tb, IFLA_BRIDGE_CFM_CC_RDI_MAX, attr, in br_cc_rdi_parse()
325 err = nla_parse_nested(tb, IFLA_BRIDGE_CFM_CC_CCM_TX_MAX, attr, in br_cc_ccm_tx_parse()
391 err = nla_parse_nested(tb, IFLA_BRIDGE_CFM_MAX, attr, in br_cfm_parse()
A Dbr_vlan_options.c140 err = nla_parse_nested(tun_tb, BRIDGE_VLANDB_TINFO_MAX, attr, in br_vlan_modify_tunnel()
608 err = nla_parse_nested(tb, BRIDGE_VLANDB_GOPTS_MAX, attr, in br_vlan_rtm_process_global_options()
A Dbr_mdb.c805 err = nla_parse_nested(mdb_attrs, MDBE_ATTR_MAX, in br_mdb_parse()
/linux/net/ethtool/
A Dbitset.c333 ret = nla_parse_nested(tb, ARRAY_SIZE(bitset_policy) - 1, bitset, in ethnl_bitset_is_compact()
385 ret = nla_parse_nested(tb, ARRAY_SIZE(bit_policy) - 1, bit_attr, in ethnl_parse_bit()
563 ret = nla_parse_nested(tb, ARRAY_SIZE(bitset_policy) - 1, attr, in ethnl_update_bitset32()
617 ret = nla_parse_nested(tb, ARRAY_SIZE(bitset_policy) - 1, attr, in ethnl_parse_bitset()
A Dcabletest.c243 ret = nla_parse_nested(tb, in ethnl_act_cable_test_tdr_cfg()
A Dstrset.c166 ret = nla_parse_nested(tb, ARRAY_SIZE(get_stringset_policy) - 1, nest, in strset_get_id()
A Dnetlink.c105 ret = nla_parse_nested(tb, ARRAY_SIZE(ethnl_header_policy) - 1, header, in ethnl_parse_header_dev_get()
/linux/drivers/net/can/dev/
A Dnetlink.c75 err = nla_parse_nested(tb_tdc, IFLA_CAN_TDC_MAX, in can_validate()
118 err = nla_parse_nested(tb_tdc, IFLA_CAN_TDC_MAX, nla, in can_tdc_changelink()
/linux/net/sched/
A Dact_gate.c209 err = nla_parse_nested(tb, TCA_GATE_ENTRY_MAX, n, entry_policy, extack); in parse_gate_entry()
320 err = nla_parse_nested(tb, TCA_GATE_MAX, nla, gate_policy, extack); in tcf_gate_init()
A Dact_tunnel_key.c145 err = nla_parse_nested(tb, TCA_TUNNEL_KEY_ENC_OPT_VXLAN_MAX, nla, in tunnel_key_copy_vxlan_opt()
173 err = nla_parse_nested(tb, TCA_TUNNEL_KEY_ENC_OPT_ERSPAN_MAX, nla, in tunnel_key_copy_erspan_opt()
A Dsch_ets.c221 err = nla_parse_nested(tb, TCA_ETS_MAX, opt, ets_class_policy, extack); in ets_class_change()
602 err = nla_parse_nested(tb, TCA_ETS_MAX, opt, ets_policy, extack); in ets_qdisc_change()
A Dact_ctinfo.c176 err = nla_parse_nested(tb, TCA_CTINFO_MAX, nla, ctinfo_policy, extack); in tcf_ctinfo_init()
A Dact_mpls.c175 err = nla_parse_nested(tb, TCA_MPLS_MAX, nla, mpls_policy, extack); in tcf_mpls_init()
A Dsch_fq_pie.c289 err = nla_parse_nested(tb, TCA_FQ_PIE_MAX, opt, fq_pie_policy, extack); in fq_pie_change()
A Dcls_flower.c820 err = nla_parse_nested(tb, TCA_FLOWER_KEY_MPLS_OPT_LSE_MAX, nla_lse, in fl_set_key_mpls_lse()
1182 err = nla_parse_nested(tb, TCA_FLOWER_KEY_ENC_OPT_VXLAN_MAX, nla, in fl_set_vxlan_opt()
1220 err = nla_parse_nested(tb, TCA_FLOWER_KEY_ENC_OPT_ERSPAN_MAX, nla, in fl_set_erspan_opt()
/linux/net/ipv4/
A Dip_tunnel_core.c476 err = nla_parse_nested(tb, LWTUNNEL_IP_OPT_GENEVE_MAX, attr, in ip_tun_parse_opts_geneve()
513 err = nla_parse_nested(tb, LWTUNNEL_IP_OPT_VXLAN_MAX, attr, in ip_tun_parse_opts_vxlan()
542 err = nla_parse_nested(tb, LWTUNNEL_IP_OPT_ERSPAN_MAX, attr, in ip_tun_parse_opts_erspan()
A Dnexthop.c2711 err = nla_parse_nested(tb, in rtm_to_nh_config_grp_res()
3301 err = nla_parse_nested(res_tb, max, in nh_valid_dump_bucket_req()
3456 err = nla_parse_nested(tb, ARRAY_SIZE(rtm_nh_res_bucket_policy_get) - 1, in nh_valid_get_bucket_req_res_bucket()
/linux/drivers/net/wireguard/
A Dnetlink.c460 ret = nla_parse_nested(allowedip, WGALLOWEDIP_A_MAX, in set_peer()
585 ret = nla_parse_nested(peer, WGPEER_A_MAX, attr, in wg_set_device()
/linux/net/netfilter/ipset/
A Dip_set_core.c284 if (nla_parse_nested(tb, IPSET_ATTR_IPADDR_MAX, nla, in ip_set_get_ipaddr4()
303 if (nla_parse_nested(tb, IPSET_ATTR_IPADDR_MAX, nla, in ip_set_get_ipaddr6()
1092 nla_parse_nested(tb, IPSET_ATTR_CREATE_MAX, attr[IPSET_ATTR_DATA], in ip_set_create()
1781 if (nla_parse_nested(tb, IPSET_ATTR_ADT_MAX, in ip_set_ad()
1793 nla_parse_nested(tb, IPSET_ATTR_ADT_MAX, nla, in ip_set_ad()
1838 if (nla_parse_nested(tb, IPSET_ATTR_ADT_MAX, attr[IPSET_ATTR_DATA], in ip_set_utest()
/linux/net/ipv6/
A Drpl_iptunnel.c81 err = nla_parse_nested(tb, RPL_IPTUNNEL_MAX, nla, in rpl_build_state()
A Dioam6_iptunnel.c104 err = nla_parse_nested(tb, IOAM6_IPTUNNEL_MAX, nla, in ioam6_build_state()
/linux/net/mctp/
A Ddevice.c343 rc = nla_parse_nested(tb, IFLA_MCTP_MAX, attr, ifla_af_mctp_policy, in mctp_set_link_af()
/linux/net/netfilter/
A Dnft_tunnel.c317 err = nla_parse_nested(tb, NFTA_TUNNEL_KEY_GENEVE_MAX, attr, in nft_tunnel_obj_geneve_init()
/linux/include/net/
A Dnetlink.h1202 static inline int nla_parse_nested(struct nlattr *tb[], int maxtype, in nla_parse_nested() function

Completed in 50 milliseconds

12