| /net/bridge/ |
| A D | br_cfm_netlink.c | 459 struct nlattr *tb; in br_cfm_config_fill_info() local 463 if (!tb) in br_cfm_config_fill_info() 482 nla_nest_end(skb, tb); in br_cfm_config_fill_info() 486 if (!tb) in br_cfm_config_fill_info() 510 if (!tb) in br_cfm_config_fill_info() 534 if (!tb) in br_cfm_config_fill_info() 549 if (!tb) in br_cfm_config_fill_info() 591 if (!tb) in br_cfm_config_fill_info() 622 struct nlattr *tb; in br_cfm_status_fill_info() local 626 if (!tb) in br_cfm_status_fill_info() [all …]
|
| A D | br_mrp_netlink.c | 58 if (tb[IFLA_BRIDGE_MRP_INSTANCE_PRIO]) in br_mrp_instance_parse() 378 if (tb[IFLA_BRIDGE_MRP_INSTANCE]) { in br_mrp_parse() 385 if (tb[IFLA_BRIDGE_MRP_PORT_STATE]) { in br_mrp_parse() 392 if (tb[IFLA_BRIDGE_MRP_PORT_ROLE]) { in br_mrp_parse() 407 if (tb[IFLA_BRIDGE_MRP_RING_ROLE]) { in br_mrp_parse() 422 if (tb[IFLA_BRIDGE_MRP_IN_STATE]) { in br_mrp_parse() 429 if (tb[IFLA_BRIDGE_MRP_IN_ROLE]) { in br_mrp_parse() 449 struct nlattr *tb, *mrp_tb; in br_mrp_fill_info() local 460 if (!tb) in br_mrp_fill_info() 514 nla_nest_end(skb, tb); in br_mrp_fill_info() [all …]
|
| A D | br_vlan_options.c | 138 struct nlattr **tb, in br_vlan_modify_tunnel() argument 156 attr = tb[BRIDGE_VLANDB_ENTRY_TUNNEL_INFO]; in br_vlan_modify_tunnel() 197 struct nlattr **tb, in br_vlan_process_one_opts() argument 204 if (tb[BRIDGE_VLANDB_ENTRY_STATE]) { in br_vlan_process_one_opts() 211 if (tb[BRIDGE_VLANDB_ENTRY_TUNNEL_INFO]) { in br_vlan_process_one_opts() 218 if (tb[BRIDGE_VLANDB_ENTRY_MCAST_ROUTER]) { in br_vlan_process_one_opts() 267 struct nlattr **tb, in br_vlan_process_options() argument 514 struct nlattr **tb, in br_vlan_process_global_one_opts() argument 615 if (tb[BRIDGE_VLANDB_GOPTS_MSTI]) { in br_vlan_process_global_one_opts() 676 if (!tb[BRIDGE_VLANDB_GOPTS_ID]) { in br_vlan_rtm_process_global_options() [all …]
|
| /net/netfilter/ |
| A D | nfnetlink_cthelper.c | 83 if (!tb[NFCTH_TUPLE_L3PROTONUM] || !tb[NFCTH_TUPLE_L4PROTONUM]) in nfnl_cthelper_parse_tuple() 228 if (!tb[NFCTH_TUPLE] || !tb[NFCTH_POLICY] || !tb[NFCTH_PRIV_DATA_LEN]) in nfnl_cthelper_create() 258 if (tb[NFCTH_QUEUE_NUM]) in nfnl_cthelper_create() 261 if (tb[NFCTH_STATUS]) { in nfnl_cthelper_create() 396 if (tb[NFCTH_POLICY]) { in nfnl_cthelper_update() 404 if (tb[NFCTH_STATUS]) { in nfnl_cthelper_update() 431 if (!tb[NFCTH_NAME] || !tb[NFCTH_TUPLE]) in nfnl_cthelper_new() 637 if (tb[NFCTH_NAME]) in nfnl_cthelper_get() 640 if (tb[NFCTH_TUPLE]) { in nfnl_cthelper_get() 694 if (tb[NFCTH_NAME]) in nfnl_cthelper_del() [all …]
|
| A D | nft_tunnel.c | 81 if (!tb[NFTA_TUNNEL_KEY] || in nft_tunnel_get_init() 82 !tb[NFTA_TUNNEL_DREG]) in nft_tunnel_get_init() 97 if (tb[NFTA_TUNNEL_MODE]) { in nft_tunnel_get_init() 203 if (!tb[NFTA_TUNNEL_KEY_IP_DST]) in nft_tunnel_obj_ip_init() 206 if (tb[NFTA_TUNNEL_KEY_IP_SRC]) in nft_tunnel_obj_ip_init() 208 if (tb[NFTA_TUNNEL_KEY_IP_DST]) in nft_tunnel_obj_ip_init() 232 if (!tb[NFTA_TUNNEL_KEY_IP6_DST]) in nft_tunnel_obj_ip6_init() 454 if (!tb[NFTA_TUNNEL_KEY_ID]) in nft_tunnel_obj_init() 464 if (tb[NFTA_TUNNEL_KEY_IP]) { in nft_tunnel_obj_init() 498 if (tb[NFTA_TUNNEL_KEY_TOS]) in nft_tunnel_obj_init() [all …]
|
| A D | nft_bitwise.c | 153 if (tb[NFTA_BITWISE_DATA] || in nft_bitwise_init_mask_xor() 154 tb[NFTA_BITWISE_SREG2]) in nft_bitwise_init_mask_xor() 158 !tb[NFTA_BITWISE_XOR]) in nft_bitwise_init_mask_xor() 189 tb[NFTA_BITWISE_SREG2]) in nft_bitwise_init_shift() 192 if (!tb[NFTA_BITWISE_DATA]) in nft_bitwise_init_shift() 214 tb[NFTA_BITWISE_XOR]) in nft_bitwise_init_bool() 217 if ((!tb[NFTA_BITWISE_DATA] && !tb[NFTA_BITWISE_SREG2]) || in nft_bitwise_init_bool() 218 (tb[NFTA_BITWISE_DATA] && tb[NFTA_BITWISE_SREG2])) in nft_bitwise_init_bool() 267 if (tb[NFTA_BITWISE_OP]) { in nft_bitwise_init() 494 !tb[NFTA_BITWISE_XOR]) in nft_bitwise_fast_init() [all …]
|
| A D | nft_hash.c | 72 const struct nlattr * const tb[]) in nft_jhash_init() argument 78 if (!tb[NFTA_HASH_SREG] || in nft_jhash_init() 79 !tb[NFTA_HASH_DREG] || in nft_jhash_init() 80 !tb[NFTA_HASH_LEN] || in nft_jhash_init() 81 !tb[NFTA_HASH_MODULUS]) in nft_jhash_init() 84 if (tb[NFTA_HASH_OFFSET]) in nft_jhash_init() 106 if (tb[NFTA_HASH_SEED]) { in nft_jhash_init() 123 if (!tb[NFTA_HASH_DREG] || in nft_symhash_init() 124 !tb[NFTA_HASH_MODULUS]) in nft_symhash_init() 127 if (tb[NFTA_HASH_OFFSET]) in nft_symhash_init() [all …]
|
| A D | nft_exthdr.c | 509 !tb[NFTA_EXTHDR_LEN]) in nft_exthdr_init() 529 if (tb[NFTA_EXTHDR_OP]) { in nft_exthdr_init() 557 !tb[NFTA_EXTHDR_LEN]) in nft_exthdr_tcp_set_init() 560 if (tb[NFTA_EXTHDR_DREG] || tb[NFTA_EXTHDR_FLAGS]) in nft_exthdr_tcp_set_init() 605 tb[NFTA_EXTHDR_LEN]) in nft_exthdr_tcp_strip_init() 608 if (!tb[NFTA_EXTHDR_TYPE]) in nft_exthdr_tcp_strip_init() 803 if (!tb[NFTA_EXTHDR_OP]) in nft_exthdr_select_ops() 806 if (tb[NFTA_EXTHDR_SREG] && tb[NFTA_EXTHDR_DREG]) in nft_exthdr_select_ops() 812 if (tb[NFTA_EXTHDR_SREG]) in nft_exthdr_select_ops() 814 if (tb[NFTA_EXTHDR_DREG]) in nft_exthdr_select_ops() [all …]
|
| /net/ethtool/ |
| A D | bitset.c | 338 if (tb[ETHTOOL_A_BITSET_BITS]) { in ethnl_bitset_is_compact() 339 if (tb[ETHTOOL_A_BITSET_VALUE] || tb[ETHTOOL_A_BITSET_MASK]) in ethnl_bitset_is_compact() 344 if (!tb[ETHTOOL_A_BITSET_SIZE] || !tb[ETHTOOL_A_BITSET_VALUE]) in ethnl_bitset_is_compact() 459 if (tb[ETHTOOL_A_BITSET_VALUE]) { in ethnl_update_bitset32_verbose() 464 if (tb[ETHTOOL_A_BITSET_MASK]) { in ethnl_update_bitset32_verbose() 522 struct nlattr **tb, in ethnl_compact_sanity_checks() argument 534 if (!tb[ETHTOOL_A_BITSET_SIZE]) { in ethnl_compact_sanity_checks() 557 if (tb[ETHTOOL_A_BITSET_MASK] && in ethnl_compact_sanity_checks() 608 if (tb[ETHTOOL_A_BITSET_BITS]) in ethnl_update_bitset32() 663 if (!tb[ETHTOOL_A_BITSET_BITS]) { in ethnl_parse_bitset() [all …]
|
| A D | rings.c | 154 struct nlattr **tb = info->attrs; in ethnl_set_rings_validate() local 156 if (tb[ETHTOOL_A_RINGS_RX_BUF_LEN] && in ethnl_set_rings_validate() 180 if (tb[ETHTOOL_A_RINGS_CQE_SIZE] && in ethnl_set_rings_validate() 183 tb[ETHTOOL_A_RINGS_CQE_SIZE], in ethnl_set_rings_validate() 188 if (tb[ETHTOOL_A_RINGS_TX_PUSH] && in ethnl_set_rings_validate() 191 tb[ETHTOOL_A_RINGS_TX_PUSH], in ethnl_set_rings_validate() 196 if (tb[ETHTOOL_A_RINGS_RX_PUSH] && in ethnl_set_rings_validate() 199 tb[ETHTOOL_A_RINGS_RX_PUSH], in ethnl_set_rings_validate() 221 struct nlattr **tb = info->attrs; in ethnl_set_rings() local 275 err_attr = tb[ETHTOOL_A_RINGS_RX]; in ethnl_set_rings() [all …]
|
| A D | coalesce.c | 353 struct nlattr **tb = info->attrs; in ethnl_set_coalesce_validate() local 392 struct nlattr **tb, in ethnl_update_irq_moder() argument 399 if (!tb[attr_type]) in ethnl_update_irq_moder() 403 val = nla_get_u32(tb[attr_type]); in ethnl_update_irq_moder() 410 NL_SET_BAD_ATTR(extack, tb[attr_type]); in ethnl_update_irq_moder() 474 tb, DIM_COALESCE_USEC, in ethnl_update_profile() 481 tb, DIM_COALESCE_PKTS, in ethnl_update_profile() 488 tb, DIM_COALESCE_COMPS, in ethnl_update_profile() 518 struct nlattr **tb = info->attrs; in __ethnl_set_coalesce() local 576 tb[ETHTOOL_A_COALESCE_RX_PROFILE], in __ethnl_set_coalesce() [all …]
|
| /net/netfilter/ipset/ |
| A D | ip_set_hash_ipportnet.c | 173 if (tb[IPSET_ATTR_LINENO]) in hash_ipportnet4_uadt() 176 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportnet4_uadt() 194 if (tb[IPSET_ATTR_CIDR2]) { in hash_ipportnet4_uadt() 203 if (tb[IPSET_ATTR_PROTO]) { in hash_ipportnet4_uadt() 225 !(tb[IPSET_ATTR_CIDR] || tb[IPSET_ATTR_IP_TO] || with_ports || in hash_ipportnet4_uadt() 235 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipportnet4_uadt() 257 if (tb[IPSET_ATTR_IP2_TO]) { in hash_ipportnet4_uadt() 429 if (tb[IPSET_ATTR_LINENO]) in hash_ipportnet6_uadt() 432 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportnet6_uadt() 458 if (tb[IPSET_ATTR_CIDR2]) { in hash_ipportnet6_uadt() [all …]
|
| A D | ip_set_hash_ipportip.c | 119 if (tb[IPSET_ATTR_LINENO]) in hash_ipportip4_uadt() 122 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportip4_uadt() 141 if (tb[IPSET_ATTR_PROTO]) { in hash_ipportip4_uadt() 155 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipportip4_uadt() 156 tb[IPSET_ATTR_PORT_TO])) { in hash_ipportip4_uadt() 162 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipportip4_uadt() 168 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipportip4_uadt() 289 if (tb[IPSET_ATTR_LINENO]) in hash_ipportip6_uadt() 292 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportip6_uadt() 296 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipportip6_uadt() [all …]
|
| A D | ip_set_hash_netportnet.c | 200 if (tb[IPSET_ATTR_LINENO]) in hash_netportnet4_uadt() 204 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netportnet4_uadt() 222 if (tb[IPSET_ATTR_CIDR]) { in hash_netportnet4_uadt() 228 if (tb[IPSET_ATTR_CIDR2]) { in hash_netportnet4_uadt() 236 if (tb[IPSET_ATTR_PROTO]) { in hash_netportnet4_uadt() 258 !(tb[IPSET_ATTR_IP_TO] || with_ports || tb[IPSET_ATTR_IP2_TO])) { in hash_netportnet4_uadt() 267 if (tb[IPSET_ATTR_IP_TO]) { in hash_netportnet4_uadt() 484 if (tb[IPSET_ATTR_LINENO]) in hash_netportnet6_uadt() 488 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netportnet6_uadt() 493 if (unlikely(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_IP2_TO])) in hash_netportnet6_uadt() [all …]
|
| A D | ip_set_hash_ipmac.c | 118 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipmac4_uadt() 119 !tb[IPSET_ATTR_ETHER] || in hash_ipmac4_uadt() 120 nla_len(tb[IPSET_ATTR_ETHER]) != ETH_ALEN || in hash_ipmac4_uadt() 129 if (tb[IPSET_ATTR_LINENO]) in hash_ipmac4_uadt() 130 *lineno = nla_get_u32(tb[IPSET_ATTR_LINENO]); in hash_ipmac4_uadt() 133 ip_set_get_extensions(set, tb, &ext); in hash_ipmac4_uadt() 237 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipmac6_uadt() 238 !tb[IPSET_ATTR_ETHER] || in hash_ipmac6_uadt() 248 if (tb[IPSET_ATTR_LINENO]) in hash_ipmac6_uadt() 249 *lineno = nla_get_u32(tb[IPSET_ATTR_LINENO]); in hash_ipmac6_uadt() [all …]
|
| A D | ip_set_hash_netport.c | 166 if (tb[IPSET_ATTR_LINENO]) in hash_netport4_uadt() 169 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_netport4_uadt() 183 if (tb[IPSET_ATTR_CIDR]) { in hash_netport4_uadt() 192 if (tb[IPSET_ATTR_PROTO]) { in hash_netport4_uadt() 207 if (tb[IPSET_ATTR_CADT_FLAGS]) { in hash_netport4_uadt() 222 if (tb[IPSET_ATTR_PORT_TO]) { in hash_netport4_uadt() 227 if (tb[IPSET_ATTR_IP_TO]) { in hash_netport4_uadt() 386 if (tb[IPSET_ATTR_LINENO]) in hash_netport6_uadt() 405 if (tb[IPSET_ATTR_CIDR]) { in hash_netport6_uadt() 415 if (tb[IPSET_ATTR_PROTO]) { in hash_netport6_uadt() [all …]
|
| A D | ip_set_hash_ipport.c | 123 if (tb[IPSET_ATTR_LINENO]) in hash_ipport4_uadt() 126 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipport4_uadt() 145 if (tb[IPSET_ATTR_PROTO]) { in hash_ipport4_uadt() 159 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipport4_uadt() 160 tb[IPSET_ATTR_PORT_TO])) { in hash_ipport4_uadt() 166 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipport4_uadt() 172 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipport4_uadt() 294 if (tb[IPSET_ATTR_LINENO]) in hash_ipport6_uadt() 297 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipport6_uadt() 301 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipport6_uadt() [all …]
|
| A D | ip_set_hash_netnet.c | 177 if (tb[IPSET_ATTR_LINENO]) in hash_netnet4_uadt() 181 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netnet4_uadt() 197 if (tb[IPSET_ATTR_CIDR]) { in hash_netnet4_uadt() 203 if (tb[IPSET_ATTR_CIDR2]) { in hash_netnet4_uadt() 226 if (tb[IPSET_ATTR_IP_TO]) { in hash_netnet4_uadt() 239 if (tb[IPSET_ATTR_IP2_TO]) { in hash_netnet4_uadt() 419 if (tb[IPSET_ATTR_LINENO]) in hash_netnet6_uadt() 423 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netnet6_uadt() 426 if (unlikely(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_IP2_TO])) in hash_netnet6_uadt() 441 if (tb[IPSET_ATTR_CIDR]) { in hash_netnet6_uadt() [all …]
|
| A D | ip_set_hash_ipmark.c | 107 if (tb[IPSET_ATTR_LINENO]) in hash_ipmark4_uadt() 110 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipmark4_uadt() 118 ret = ip_set_get_extensions(set, tb, &ext); in hash_ipmark4_uadt() 128 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR])) { in hash_ipmark4_uadt() 134 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipmark4_uadt() 143 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipmark4_uadt() 144 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipmark4_uadt() 241 if (tb[IPSET_ATTR_LINENO]) in hash_ipmark6_uadt() 244 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipmark6_uadt() 247 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipmark6_uadt() [all …]
|
| /net/sched/ |
| A D | cls_flower.c | 817 if (!tb[val_type]) in fl_set_key_val() 1809 if (!tb) { in is_vlan_key() 1933 if (tb[TCA_FLOWER_KEY_IPV4_SRC] || tb[TCA_FLOWER_KEY_IPV4_DST]) { in fl_set_key() 2370 struct nlattr **tb; in fl_change() local 2386 if (!tb) { in fl_change() 2568 kfree(tb); in fl_change() 2602 kfree(tb); in fl_change() 2812 struct nlattr **tb; in fl_tmplt_create() local 2819 if (!tb) in fl_tmplt_create() 2843 kfree(tb); in fl_tmplt_create() [all …]
|
| A D | act_tunnel_key.c | 95 err = nla_parse_nested_deprecated(tb, in tunnel_key_copy_geneve_opt() 392 if (!tb[TCA_TUNNEL_KEY_PARMS]) { in tunnel_key_init() 410 if (tb[TCA_TUNNEL_KEY_ENC_KEY_ID]) { in tunnel_key_init() 419 if (tb[TCA_TUNNEL_KEY_NO_CSUM] && in tunnel_key_init() 426 if (tb[TCA_TUNNEL_KEY_ENC_DST_PORT]) in tunnel_key_init() 429 if (tb[TCA_TUNNEL_KEY_ENC_OPTS]) { in tunnel_key_init() 439 if (tb[TCA_TUNNEL_KEY_ENC_TOS]) in tunnel_key_init() 442 if (tb[TCA_TUNNEL_KEY_ENC_TTL]) in tunnel_key_init() 445 if (tb[TCA_TUNNEL_KEY_ENC_IPV4_SRC] && in tunnel_key_init() 446 tb[TCA_TUNNEL_KEY_ENC_IPV4_DST]) { in tunnel_key_init() [all …]
|
| A D | em_ipt.c | 104 mname_attr = tb[TCA_EM_IPT_MATCH_NAME]; in get_xt_match() 115 if (tb[TCA_EM_IPT_MATCH_REVISION]) in get_xt_match() 116 mrev = nla_get_u8(tb[TCA_EM_IPT_MATCH_REVISION]); in get_xt_match() 118 ret = m->validate_match_data(tb, mrev); in get_xt_match() 122 nfproto = nla_get_u8(tb[TCA_EM_IPT_NFPROTO]); in get_xt_match() 129 struct nlattr *tb[TCA_EM_IPT_MAX + 1]; in em_ipt_change() local 140 if (!tb[TCA_EM_IPT_HOOK] || !tb[TCA_EM_IPT_MATCH_NAME] || in em_ipt_change() 141 !tb[TCA_EM_IPT_MATCH_DATA] || !tb[TCA_EM_IPT_NFPROTO]) in em_ipt_change() 144 nfproto = nla_get_u8(tb[TCA_EM_IPT_NFPROTO]); in em_ipt_change() 153 match = get_xt_match(tb); in em_ipt_change() [all …]
|
| /net/ipv4/ |
| A D | inet_hashtables.c | 73 if (tb) { in inet_bind_bucket_create() 77 tb->fastreuse = 0; in inet_bind_bucket_create() 82 return tb; in inet_bind_bucket_create() 92 kfree_rcu(tb, rcu); in inet_bind_bucket_destroy() 99 return net_eq(ib_net(tb), net) && tb->port == port && in inet_bind_bucket_match() 254 if (!tb) { in __inet_inherit_port() 257 if (!tb) { in __inet_inherit_port() 833 if (!net_eq(ib2_net(tb), net) || tb->port != port || in inet_bind2_bucket_match() 843 if (!net_eq(ib2_net(tb), net) || tb->port != port || in inet_bind2_bucket_match_addr_any() 1072 if (tb->fastreuse >= 0 || tb->fastreuseport >= 0) { in __inet_hash_connect() [all …]
|
| /net/wireless/ |
| A D | pmsr.c | 29 if (tb[NL80211_PMSR_FTM_REQ_ATTR_PREAMBLE]) in pmsr_parse_ftm() 40 if (!tb[NL80211_PMSR_FTM_REQ_ATTR_PREAMBLE]) { in pmsr_parse_ftm() 49 tb[NL80211_PMSR_FTM_REQ_ATTR_PREAMBLE], in pmsr_parse_ftm() 57 if (tb[NL80211_PMSR_FTM_REQ_ATTR_BURST_PERIOD]) in pmsr_parse_ftm() 64 tb[NL80211_PMSR_FTM_REQ_ATTR_ASAP], in pmsr_parse_ftm() 206 if (!tb[NL80211_PMSR_PEER_ATTR_ADDR] || in pmsr_parse_peer() 207 !tb[NL80211_PMSR_PEER_ATTR_CHAN] || in pmsr_parse_peer() 208 !tb[NL80211_PMSR_PEER_ATTR_REQ]) { in pmsr_parse_peer() 219 tb[NL80211_PMSR_PEER_ATTR_CHAN], in pmsr_parse_peer() 230 tb[NL80211_PMSR_PEER_ATTR_REQ], NULL, in pmsr_parse_peer() [all …]
|
| /net/core/ |
| A D | rtnetlink.c | 2582 if (tb[IFLA_NET_NS_PID] || tb[IFLA_NET_NS_FD]) in rtnl_link_get_net_by_nlattr() 2629 if (tb[IFLA_TARGET_NETNSID] && (tb[IFLA_NET_NS_PID] || tb[IFLA_NET_NS_FD])) in rtnl_ensure_unique_netns() 2632 if (tb[IFLA_NET_NS_PID] && (tb[IFLA_TARGET_NETNSID] || tb[IFLA_NET_NS_FD])) in rtnl_ensure_unique_netns() 2635 if (tb[IFLA_NET_NS_FD] && (tb[IFLA_TARGET_NETNSID] || tb[IFLA_NET_NS_PID])) in rtnl_ensure_unique_netns() 3451 else if (tb[IFLA_IFNAME] || tb[IFLA_ALT_IFNAME]) in rtnl_setlink() 3551 else if (tb[IFLA_IFNAME] || tb[IFLA_ALT_IFNAME]) in rtnl_dellink() 3707 struct nlattr ** const tb = tbs->tb; in rtnl_changelink() local 3797 .tb = tb, in rtnl_newlink_create() 3892 struct nlattr ** const tb = tbs->tb; in __rtnl_newlink() local 3934 if (tb[IFLA_MAP] || tb[IFLA_PROTINFO]) in __rtnl_newlink() [all …]
|