/net/sched/ |
D | cls_flower.c | 43 struct flow_dissector_key_basic basic; member 320 flow_dissector_init_keys(&skb_key.control, &skb_key.basic); in fl_classify() 327 skb_key.basic.n_proto = skb_protocol(skb, false); in fl_classify() 1552 fl_set_key_val(tb, &key->basic.n_proto, in fl_set_key() 1554 &mask->basic.n_proto, in fl_set_key() 1556 sizeof(key->basic.n_proto)); in fl_set_key() 1558 key->basic.n_proto = ethertype; in fl_set_key() 1559 mask->basic.n_proto = cpu_to_be16(~0); in fl_set_key() 1563 key->basic.n_proto = ethertype; in fl_set_key() 1564 mask->basic.n_proto = cpu_to_be16(~0); in fl_set_key() [all …]
|
D | cls_flow.c | 89 return flow->basic.ip_proto; in flow_get_proto()
|
D | sch_cake.c | 686 host_keys.basic.ip_proto = 0; in cake_hash()
|
/net/netfilter/ |
D | nf_tables_offload.c | 58 .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() 75 (match->key.basic.n_proto == htons(ETH_P_8021Q) || in nft_flow_rule_transfer_vlan() 76 match->key.basic.n_proto == htons(ETH_P_8021AD))) { in nft_flow_rule_transfer_vlan() 77 match->key.basic.n_proto = match->key.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan() 78 match->mask.basic.n_proto = match->mask.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
|
D | nf_flow_table_offload.c | 102 NF_FLOW_DISSECTOR(match, FLOW_DISSECTOR_KEY_BASIC, basic); in nf_flow_rule_match() 145 key->basic.n_proto = htons(ETH_P_IP); in nf_flow_rule_match() 153 key->basic.n_proto = htons(ETH_P_IPV6); in nf_flow_rule_match() 164 mask->basic.n_proto = 0xffff; in nf_flow_rule_match() 178 key->basic.ip_proto = tuple->l4proto; in nf_flow_rule_match() 179 mask->basic.ip_proto = 0xff; in nf_flow_rule_match()
|
D | nft_payload.c | 266 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, in nft_payload_offload_ll() 339 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_payload_offload_ip() 379 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_payload_offload_ip6()
|
D | nft_meta.c | 716 NFT_OFFLOAD_MATCH_EXACT(FLOW_DISSECTOR_KEY_BASIC, basic, n_proto, in nft_meta_get_offload() 721 NFT_OFFLOAD_MATCH_EXACT(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_meta_get_offload()
|
/net/core/ |
D | flow_dissector.c | 1599 data->n_proto = flow->basic.n_proto; in make_flow_keys_digest() 1600 data->ip_proto = flow->basic.ip_proto; in make_flow_keys_digest() 1664 switch (keys->basic.ip_proto) { in __skb_get_poff() 1738 keys->basic.ip_proto = fl6->flowi6_proto; in __get_hash_from_flowi6() 1751 .offset = offsetof(struct flow_keys, basic), 1790 .offset = offsetof(struct flow_keys, basic), 1813 .offset = offsetof(struct flow_keys, basic),
|
/net/ethtool/ |
D | ioctl.c | 3001 struct flow_dissector_key_basic basic; member 3044 match->mask.basic.n_proto = htons(0xffff); in ethtool_rx_flow_rule_create() 3066 match->key.basic.n_proto = ether_spec->h_proto; in ethtool_rx_flow_rule_create() 3067 match->mask.basic.n_proto = ether_m_spec->h_proto; in ethtool_rx_flow_rule_create() 3075 match->key.basic.n_proto = htons(ETH_P_IP); in ethtool_rx_flow_rule_create() 3124 match->key.basic.n_proto = htons(ETH_P_IPV6); in ethtool_rx_flow_rule_create() 3180 match->key.basic.ip_proto = IPPROTO_TCP; in ethtool_rx_flow_rule_create() 3181 match->mask.basic.ip_proto = 0xff; in ethtool_rx_flow_rule_create() 3185 match->key.basic.ip_proto = IPPROTO_UDP; in ethtool_rx_flow_rule_create() 3186 match->mask.basic.ip_proto = 0xff; in ethtool_rx_flow_rule_create() [all …]
|
/net/mac80211/ |
D | ibss.c | 116 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()
|
D | util.c | 3605 u8 basic = 0; in ieee80211_add_srates_ie() local 3610 basic = 0x80; in ieee80211_add_srates_ie() 3613 *pos++ = basic | (u8) rate; in ieee80211_add_srates_ie() 3654 u8 basic = 0; in ieee80211_add_ext_srates_ie() local 3659 basic = 0x80; in ieee80211_add_ext_srates_ie() 3662 *pos++ = basic | (u8) rate; in ieee80211_add_ext_srates_ie()
|
/net/ipv4/ |
D | route.c | 1949 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_custom_hash_outer() 1999 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_custom_hash_inner() 2036 hash_keys.basic.ip_proto = fl4->flowi4_proto; in fib_multipath_custom_hash_fl4() 2087 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in fib_multipath_hash() 2095 hash_keys.basic.ip_proto = fl4->flowi4_proto; in fib_multipath_hash() 2116 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_hash()
|
/net/bridge/netfilter/ |
D | Kconfig | 113 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/ |
D | route.c | 2331 keys->basic.ip_proto = _flkeys->basic.ip_proto; in ip6_multipath_l3_keys() 2336 keys->basic.ip_proto = key_iph->nexthdr; in ip6_multipath_l3_keys() 2359 hash_keys.basic.ip_proto = keys.basic.ip_proto; in rt6_multipath_custom_hash_outer() 2411 hash_keys.basic.ip_proto = keys.basic.ip_proto; in rt6_multipath_custom_hash_inner() 2448 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_custom_hash_fl6() 2476 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash() 2500 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in rt6_multipath_hash() 2508 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash() 2533 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in rt6_multipath_hash() 2545 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash()
|
D | Kconfig | 132 encapsulation. The basic concept of ILA is that we split an
|
/net/ipv4/netfilter/ |
D | Kconfig | 111 This is the "basic" form of SNMP-ALG, as described in RFC 2962
|
/net/ |
D | Kconfig | 184 basic ones needed by most people will default to 'M'.
|