Home
last modified time | relevance | path

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

/net/sched/
Dcls_flower.c35 struct flow_dissector_key_basic basic; member
307 flow_dissector_init_keys(&skb_key.control, &skb_key.basic); in fl_classify()
314 skb_key.basic.n_proto = skb_protocol(skb, false); in fl_classify()
1119 fl_set_key_val(tb, &key->basic.n_proto, in fl_set_key()
1121 &mask->basic.n_proto, in fl_set_key()
1123 sizeof(key->basic.n_proto)); in fl_set_key()
1125 key->basic.n_proto = ethertype; in fl_set_key()
1126 mask->basic.n_proto = cpu_to_be16(~0); in fl_set_key()
1130 key->basic.n_proto = ethertype; in fl_set_key()
1131 mask->basic.n_proto = cpu_to_be16(~0); in fl_set_key()
[all …]
Dcls_flow.c89 return flow->basic.ip_proto; in flow_get_proto()
Dsch_cake.c652 host_keys.basic.ip_proto = 0; in cake_hash()
/net/core/
Dflow_dissector.c1549 data->n_proto = flow->basic.n_proto; in make_flow_keys_digest()
1550 data->ip_proto = flow->basic.ip_proto; in make_flow_keys_digest()
1614 switch (keys->basic.ip_proto) { in __skb_get_poff()
1688 keys->basic.ip_proto = fl6->flowi6_proto; in __get_hash_from_flowi6()
1701 .offset = offsetof(struct flow_keys, basic),
1740 .offset = offsetof(struct flow_keys, basic),
1763 .offset = offsetof(struct flow_keys, basic),
Dethtool.c2850 struct flow_dissector_key_basic basic; member
2893 match->mask.basic.n_proto = htons(0xffff); in ethtool_rx_flow_rule_create()
2915 match->key.basic.n_proto = ether_spec->h_proto; in ethtool_rx_flow_rule_create()
2916 match->mask.basic.n_proto = ether_m_spec->h_proto; in ethtool_rx_flow_rule_create()
2924 match->key.basic.n_proto = htons(ETH_P_IP); in ethtool_rx_flow_rule_create()
2973 match->key.basic.n_proto = htons(ETH_P_IPV6); in ethtool_rx_flow_rule_create()
3029 match->key.basic.ip_proto = IPPROTO_TCP; in ethtool_rx_flow_rule_create()
3033 match->key.basic.ip_proto = IPPROTO_UDP; in ethtool_rx_flow_rule_create()
3036 match->mask.basic.ip_proto = 0xff; in ethtool_rx_flow_rule_create()
3040 offsetof(struct ethtool_rx_flow_key, basic); in ethtool_rx_flow_rule_create()
/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.c3205 u8 basic = 0; in ieee80211_add_srates_ie() local
3210 basic = 0x80; in ieee80211_add_srates_ie()
3213 *pos++ = basic | (u8) rate; in ieee80211_add_srates_ie()
3254 u8 basic = 0; in ieee80211_add_ext_srates_ie() local
3259 basic = 0x80; in ieee80211_add_ext_srates_ie()
3262 *pos++ = basic | (u8) rate; in ieee80211_add_ext_srates_ie()
/net/netfilter/
Dnft_meta.c539 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, n_proto, in nft_meta_get_offload()
544 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_meta_get_offload()
Dnft_payload.c214 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_payload_offload_ip()
252 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_payload_offload_ip6()
/net/bridge/netfilter/
DKconfig115 This option adds the IP match, which allows basic IP header field
124 This option adds the IP6 match, which allows basic IPV6 header field
/net/ipv6/
Droute.c2355 keys->basic.ip_proto = _flkeys->basic.ip_proto; in ip6_multipath_l3_keys()
2360 keys->basic.ip_proto = key_iph->nexthdr; in ip6_multipath_l3_keys()
2381 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash()
2404 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in rt6_multipath_hash()
2412 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash()
2436 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in rt6_multipath_hash()
2448 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash()
DKconfig118 encapsulation. The basic concept of ILA is that we split an
/net/ipv4/
Droute.c1987 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in fib_multipath_hash()
1995 hash_keys.basic.ip_proto = fl4->flowi4_proto; in fib_multipath_hash()
2015 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_hash()
/net/ipv4/netfilter/
DKconfig105 This is the "basic" form of SNMP-ALG, as described in RFC 2962
/net/
DKconfig182 basic ones needed by most people will default to 'M'.