Home
last modified time | relevance | path

Searched refs:basic (Results 1 – 17 of 17) sorted by relevance

/net/sched/
Dcls_flower.c47 struct flow_dissector_key_basic basic; member
325 flow_dissector_init_keys(&skb_key.control, &skb_key.basic); in fl_classify()
332 skb_key.basic.n_proto = skb_protocol(skb, false); in fl_classify()
806 if (key->basic.ip_proto != IPPROTO_ESP && in fl_set_key_spi()
807 key->basic.ip_proto != IPPROTO_AH) { in fl_set_key_spi()
1121 key->basic.n_proto = htons(ETH_P_IP); in fl_set_key_pppoe()
1122 mask->basic.n_proto = cpu_to_be16(~0); in fl_set_key_pppoe()
1124 key->basic.n_proto = htons(ETH_P_IPV6); in fl_set_key_pppoe()
1125 mask->basic.n_proto = cpu_to_be16(~0); in fl_set_key_pppoe()
1127 key->basic.n_proto = htons(ETH_P_MPLS_UC); in fl_set_key_pppoe()
[all …]
Dcls_flow.c90 return flow->basic.ip_proto; in flow_get_proto()
Dsch_cake.c687 host_keys.basic.ip_proto = 0; in cake_hash()
/net/netfilter/
Dnf_tables_offload.c58 .value = match->key.basic.n_proto, in nft_flow_rule_transfer_vlan()
59 .mask = match->mask.basic.n_proto, in nft_flow_rule_transfer_vlan()
65 match->key.basic.n_proto = match->key.cvlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
66 match->mask.basic.n_proto = match->mask.cvlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
76 (match->key.basic.n_proto == htons(ETH_P_8021Q) || in nft_flow_rule_transfer_vlan()
77 match->key.basic.n_proto == htons(ETH_P_8021AD))) { in nft_flow_rule_transfer_vlan()
78 match->key.basic.n_proto = match->key.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
79 match->mask.basic.n_proto = match->mask.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
Dnf_flow_table_offload.c101 NF_FLOW_DISSECTOR(match, FLOW_DISSECTOR_KEY_BASIC, basic); in nf_flow_rule_match()
148 key->basic.n_proto = htons(ETH_P_IP); in nf_flow_rule_match()
156 key->basic.n_proto = htons(ETH_P_IPV6); in nf_flow_rule_match()
167 mask->basic.n_proto = 0xffff; in nf_flow_rule_match()
182 key->basic.ip_proto = tuple->l4proto; in nf_flow_rule_match()
183 mask->basic.ip_proto = 0xff; in nf_flow_rule_match()
Dnft_payload.c331 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, in nft_payload_offload_ll()
404 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_payload_offload_ip()
444 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_payload_offload_ip6()
Dnft_meta.c723 NFT_OFFLOAD_MATCH_EXACT(FLOW_DISSECTOR_KEY_BASIC, basic, n_proto, in nft_meta_get_offload()
728 NFT_OFFLOAD_MATCH_EXACT(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_meta_get_offload()
/net/core/
Dflow_dissector.c1816 data->n_proto = flow->basic.n_proto; in make_flow_keys_digest()
1817 data->ip_proto = flow->basic.ip_proto; in make_flow_keys_digest()
1881 switch (keys->basic.ip_proto) { in __skb_get_poff()
1955 keys->basic.ip_proto = fl6->flowi6_proto; in __get_hash_from_flowi6()
1968 .offset = offsetof(struct flow_keys, basic),
2007 .offset = offsetof(struct flow_keys, basic),
2030 .offset = offsetof(struct flow_keys, basic),
/net/ethtool/
Dioctl.c3122 struct flow_dissector_key_basic basic; member
3164 match->mask.basic.n_proto = htons(0xffff); in ethtool_rx_flow_rule_create()
3186 match->key.basic.n_proto = ether_spec->h_proto; in ethtool_rx_flow_rule_create()
3187 match->mask.basic.n_proto = ether_m_spec->h_proto; in ethtool_rx_flow_rule_create()
3195 match->key.basic.n_proto = htons(ETH_P_IP); in ethtool_rx_flow_rule_create()
3244 match->key.basic.n_proto = htons(ETH_P_IPV6); in ethtool_rx_flow_rule_create()
3300 match->key.basic.ip_proto = IPPROTO_TCP; in ethtool_rx_flow_rule_create()
3301 match->mask.basic.ip_proto = 0xff; in ethtool_rx_flow_rule_create()
3305 match->key.basic.ip_proto = IPPROTO_UDP; in ethtool_rx_flow_rule_create()
3306 match->mask.basic.ip_proto = 0xff; in ethtool_rx_flow_rule_create()
[all …]
/net/mac80211/
Dibss.c116 u8 basic = 0; in ieee80211_ibss_build_presp() local
121 basic = 0x80; in ieee80211_ibss_build_presp()
122 *pos++ = basic | (u8) rate; in ieee80211_ibss_build_presp()
160 u8 basic = 0; in ieee80211_ibss_build_presp() local
165 basic = 0x80; in ieee80211_ibss_build_presp()
166 *pos++ = basic | (u8) rate; in ieee80211_ibss_build_presp()
Dutil.c1826 struct ieee80211_mle_basic_common_info basic; in ieee80211_send_auth() member
1832 .basic.len = sizeof(mle.basic), in ieee80211_send_auth()
1836 memcpy(mle.basic.mld_mac_addr, sdata->vif.addr, ETH_ALEN); in ieee80211_send_auth()
4074 u8 basic = 0; in ieee80211_add_srates_ie() local
4079 basic = 0x80; in ieee80211_add_srates_ie()
4082 *pos++ = basic | (u8) rate; in ieee80211_add_srates_ie()
4123 u8 basic = 0; in ieee80211_add_ext_srates_ie() local
4128 basic = 0x80; in ieee80211_add_ext_srates_ie()
4131 *pos++ = basic | (u8) rate; in ieee80211_add_ext_srates_ie()
/net/ipv4/
Droute.c1934 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_custom_hash_outer()
1984 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_custom_hash_inner()
2021 hash_keys.basic.ip_proto = fl4->flowi4_proto; in fib_multipath_custom_hash_fl4()
2072 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in fib_multipath_hash()
2080 hash_keys.basic.ip_proto = fl4->flowi4_proto; in fib_multipath_hash()
2101 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_hash()
/net/bridge/netfilter/
DKconfig113 This option adds the IP match, which allows basic IP header field
122 This option adds the IP6 match, which allows basic IPV6 header field
/net/ipv6/
Droute.c2332 keys->basic.ip_proto = _flkeys->basic.ip_proto; in ip6_multipath_l3_keys()
2337 keys->basic.ip_proto = key_iph->nexthdr; in ip6_multipath_l3_keys()
2360 hash_keys.basic.ip_proto = keys.basic.ip_proto; in rt6_multipath_custom_hash_outer()
2412 hash_keys.basic.ip_proto = keys.basic.ip_proto; in rt6_multipath_custom_hash_inner()
2449 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_custom_hash_fl6()
2477 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash()
2501 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in rt6_multipath_hash()
2509 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash()
2534 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in rt6_multipath_hash()
2546 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash()
DKconfig133 encapsulation. The basic concept of ILA is that we split an
/net/ipv4/netfilter/
DKconfig103 This is the "basic" form of SNMP-ALG, as described in RFC 2962
/net/
DKconfig209 basic ones needed by most people will default to 'M'.