Home
last modified time | relevance | path

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

12

/linux-6.1.9/net/bridge/
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()
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()
Dbr_vlan_options.c145 err = nla_parse_nested(tun_tb, BRIDGE_VLANDB_TINFO_MAX, attr, in br_vlan_modify_tunnel()
628 err = nla_parse_nested(tb, BRIDGE_VLANDB_GOPTS_MAX, attr, in br_vlan_rtm_process_global_options()
Dbr_mst.c304 err = nla_parse_nested(tb, IFLA_BRIDGE_MST_ENTRY_MAX, attr, in br_mst_process_one()
/linux-6.1.9/net/ethtool/
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()
Dcabletest.c243 ret = nla_parse_nested(tb, in ethnl_act_cable_test_tdr_cfg()
Dstrset.c166 ret = nla_parse_nested(tb, ARRAY_SIZE(get_stringset_policy) - 1, nest, in strset_get_id()
Dnetlink.c105 ret = nla_parse_nested(tb, ARRAY_SIZE(ethnl_header_policy) - 1, header, in ethnl_parse_header_dev_get()
/linux-6.1.9/drivers/net/can/dev/
Dnetlink.c76 err = nla_parse_nested(tb_tdc, IFLA_CAN_TDC_MAX, in can_validate()
119 err = nla_parse_nested(tb_tdc, IFLA_CAN_TDC_MAX, nla, in can_tdc_changelink()
/linux-6.1.9/drivers/net/wireguard/
Dnetlink.c459 ret = nla_parse_nested(allowedip, WGALLOWEDIP_A_MAX, in set_peer()
584 ret = nla_parse_nested(peer, WGPEER_A_MAX, attr, in wg_set_device()
/linux-6.1.9/net/sched/
Dact_gate.c208 err = nla_parse_nested(tb, TCA_GATE_ENTRY_MAX, n, entry_policy, extack); in parse_gate_entry()
319 err = nla_parse_nested(tb, TCA_GATE_MAX, nla, gate_policy, extack); in tcf_gate_init()
Dact_tunnel_key.c144 err = nla_parse_nested(tb, TCA_TUNNEL_KEY_ENC_OPT_VXLAN_MAX, nla, in tunnel_key_copy_vxlan_opt()
172 err = nla_parse_nested(tb, TCA_TUNNEL_KEY_ENC_OPT_ERSPAN_MAX, nla, in tunnel_key_copy_erspan_opt()
Dsch_ets.c221 err = nla_parse_nested(tb, TCA_ETS_MAX, opt, ets_class_policy, extack); in ets_class_change()
590 err = nla_parse_nested(tb, TCA_ETS_MAX, opt, ets_policy, extack); in ets_qdisc_change()
Dact_ctinfo.c175 err = nla_parse_nested(tb, TCA_CTINFO_MAX, nla, ctinfo_policy, extack); in tcf_ctinfo_init()
Dact_mpls.c180 err = nla_parse_nested(tb, TCA_MPLS_MAX, nla, mpls_policy, extack); in tcf_mpls_init()
Dsch_fq_pie.c286 err = nla_parse_nested(tb, TCA_FQ_PIE_MAX, opt, fq_pie_policy, extack); in fq_pie_change()
Dcls_flower.c828 err = nla_parse_nested(tb, TCA_FLOWER_KEY_MPLS_OPT_LSE_MAX, nla_lse, in fl_set_key_mpls_lse()
1242 err = nla_parse_nested(tb, TCA_FLOWER_KEY_ENC_OPT_VXLAN_MAX, nla, in fl_set_vxlan_opt()
1280 err = nla_parse_nested(tb, TCA_FLOWER_KEY_ENC_OPT_ERSPAN_MAX, nla, in fl_set_erspan_opt()
1345 err = nla_parse_nested(tb, TCA_FLOWER_KEY_ENC_OPT_GTP_MAX, nla, in fl_set_gtp_opt()
/linux-6.1.9/net/ipv4/
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()
/linux-6.1.9/net/netfilter/ipset/
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()
1784 if (nla_parse_nested(tb, IPSET_ATTR_ADT_MAX, in ip_set_ad()
1796 nla_parse_nested(tb, IPSET_ATTR_ADT_MAX, nla, in ip_set_ad()
1841 if (nla_parse_nested(tb, IPSET_ATTR_ADT_MAX, attr[IPSET_ATTR_DATA], in ip_set_utest()
/linux-6.1.9/net/ipv6/
Drpl_iptunnel.c81 err = nla_parse_nested(tb, RPL_IPTUNNEL_MAX, nla, in rpl_build_state()
Dioam6_iptunnel.c119 err = nla_parse_nested(tb, IOAM6_IPTUNNEL_MAX, nla, in ioam6_build_state()
/linux-6.1.9/net/mctp/
Ddevice.c403 rc = nla_parse_nested(tb, IFLA_MCTP_MAX, attr, ifla_af_mctp_policy, in mctp_set_link_af()
/linux-6.1.9/net/netfilter/
Dnft_tunnel.c346 err = nla_parse_nested(tb, NFTA_TUNNEL_KEY_GENEVE_MAX, attr, in nft_tunnel_obj_geneve_init()
/linux-6.1.9/include/net/
Dnetlink.h1219 static inline int nla_parse_nested(struct nlattr *tb[], int maxtype, in nla_parse_nested() function
/linux-6.1.9/drivers/net/vxlan/
Dvxlan_vnifilter.c848 err = nla_parse_nested(vattrs, in vxlan_process_vni_filter()

12