| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
| D | ice_fltr.c | 94 * ice_fltr_add_eth_list - add list of ethertype filters 105 * ice_fltr_remove_eth_list - remove list of ethertype filters 174 * ice_fltr_add_eth_to_list - add ethertype filter info to exsisting list 177 * @ethertype: ethertype of packet that matches filter 183 u16 ethertype, u16 flag, in ice_fltr_add_eth_to_list() argument 192 info.l_data.ethertype_mac.ethertype = ethertype; in ice_fltr_add_eth_to_list() 283 * ice_fltr_prepare_eth - add or remove ethertype filter 285 * @ethertype: ethertype of packet to be filtered 288 * @eth_action: pointer to add or remove ethertype function 291 ice_fltr_prepare_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag, in ice_fltr_prepare_eth() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
| D | ice_fltr.c | 185 * ice_fltr_add_eth_list - add list of ethertype filters 195 * ice_fltr_remove_eth_list - remove list of ethertype filters 269 * ice_fltr_add_eth_to_list - add ethertype filter info to exsisting list 272 * @ethertype: ethertype of packet that matches filter 278 u16 ethertype, u16 flag, in ice_fltr_add_eth_to_list() argument 287 info.l_data.ethertype_mac.ethertype = ethertype; in ice_fltr_add_eth_to_list() 374 * ice_fltr_prepare_eth - add or remove ethertype filter 376 * @ethertype: ethertype of packet to be filtered 379 * @eth_action: pointer to add or remove ethertype function 382 ice_fltr_prepare_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag, in ice_fltr_prepare_eth() argument [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
| D | no_forwarding.sh | 142 "$smac > $dmac, ethertype IPv4 (0x0800)" 145 "$smac > $MACV4_ALLNODES, ethertype IPv4 (0x0800).*: $H1_IPV4 > $IPV4_ALLNODES" 148 "$smac > $dmac, ethertype IPv6 (0x86dd).*8: $H1_IPV6 > $H2_IPV6" 151 "$smac > $MACV6_ALLNODES, ethertype IPv6 (0x86dd).*: $h1_ipv6_lladdr > $IPV6_ALLNODES" 155 "$smac > $dmac, ethertype 802.1Q (0x8100).*vlan $vid,.*length 4" 158 "$smac > $NON_IP_MC, ethertype 802.1Q (0x8100).*vlan $vid,.*length 4" 161 "$smac > $BC, ethertype 802.1Q (0x8100).*vlan $vid,.*length 4" 164 …"$smac > $dmac, ethertype 802.1Q (0x8100).*vlan $vid,.*ethertype IPv4 (0x0800), $H1_IPV4 > $H2_IPV… 167 …"$smac > $MACV4_ALLNODES, ethertype 802.1Q (0x8100).*vlan $vid,.*ethertype IPv4 (0x0800), $H1_IPV4… 170 …"$smac > $dmac, ethertype 802.1Q (0x8100).*vlan $vid,.*ethertype IPv6 (0x86dd), $H1_IPV6 > $H2_IPV… [all …]
|
| D | local_termination.sh | 151 "$smac > $rcv_dmac, ethertype IPv4 (0x0800)" \ 155 "$smac > $MACVLAN_ADDR, ethertype IPv4 (0x0800)" \ 159 "$smac > $UNKNOWN_UC_ADDR1, ethertype IPv4 (0x0800)" \ 163 "$smac > $UNKNOWN_UC_ADDR2, ethertype IPv4 (0x0800)" \ 167 "$smac > $UNKNOWN_UC_ADDR3, ethertype IPv4 (0x0800)" \ 171 "$smac > $JOINED_MACV4_MC_ADDR, ethertype IPv4 (0x0800)" \ 175 "$smac > $UNKNOWN_MACV4_MC_ADDR1, ethertype IPv4 (0x0800)" \ 179 "$smac > $UNKNOWN_MACV4_MC_ADDR2, ethertype IPv4 (0x0800)" \ 183 "$smac > $UNKNOWN_MACV4_MC_ADDR3, ethertype IPv4 (0x0800)" \ 187 "$smac > $JOINED_MACV6_MC_ADDR, ethertype IPv6 (0x86dd)" \ [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/dsa/ |
| D | no_forwarding.sh | 142 "$smac > $dmac, ethertype IPv4 (0x0800)" 145 "$smac > $MACV4_ALLNODES, ethertype IPv4 (0x0800).*: $H1_IPV4 > $IPV4_ALLNODES" 148 "$smac > $dmac, ethertype IPv6 (0x86dd).*8: $H1_IPV6 > $H2_IPV6" 151 "$smac > $MACV6_ALLNODES, ethertype IPv6 (0x86dd).*: $h1_ipv6_lladdr > $IPV6_ALLNODES" 155 "$smac > $dmac, ethertype 802.1Q (0x8100).*vlan $vid,.*length 4" 158 "$smac > $NON_IP_MC, ethertype 802.1Q (0x8100).*vlan $vid,.*length 4" 161 "$smac > $BC, ethertype 802.1Q (0x8100).*vlan $vid,.*length 4" 164 …"$smac > $dmac, ethertype 802.1Q (0x8100).*vlan $vid,.*ethertype IPv4 (0x0800), $H1_IPV4 > $H2_IPV… 167 …"$smac > $MACV4_ALLNODES, ethertype 802.1Q (0x8100).*vlan $vid,.*ethertype IPv4 (0x0800), $H1_IPV4… 170 …"$smac > $dmac, ethertype 802.1Q (0x8100).*vlan $vid,.*ethertype IPv6 (0x86dd), $H1_IPV6 > $H2_IPV… [all …]
|
| D | local_termination.sh | 151 "$smac > $rcv_dmac, ethertype IPv4 (0x0800)" \ 155 "$smac > $MACVLAN_ADDR, ethertype IPv4 (0x0800)" \ 159 "$smac > $UNKNOWN_UC_ADDR1, ethertype IPv4 (0x0800)" \ 163 "$smac > $UNKNOWN_UC_ADDR2, ethertype IPv4 (0x0800)" \ 167 "$smac > $UNKNOWN_UC_ADDR3, ethertype IPv4 (0x0800)" \ 171 "$smac > $JOINED_MACV4_MC_ADDR, ethertype IPv4 (0x0800)" \ 175 "$smac > $UNKNOWN_MACV4_MC_ADDR1, ethertype IPv4 (0x0800)" \ 179 "$smac > $UNKNOWN_MACV4_MC_ADDR2, ethertype IPv4 (0x0800)" \ 183 "$smac > $UNKNOWN_MACV4_MC_ADDR3, ethertype IPv4 (0x0800)" \ 187 "$smac > $JOINED_MACV6_MC_ADDR, ethertype IPv6 (0x86dd)" \ [all …]
|
| /kernel/linux/linux-6.6/include/linux/mlx5/ |
| D | fs_helpers.h | 53 u16 ethertype; in _mlx5_fs_is_outer_ipv_flow() local 57 ethertype = ETH_P_IP; in _mlx5_fs_is_outer_ipv_flow() 60 ethertype = ETH_P_IPV6; in _mlx5_fs_is_outer_ipv_flow() 67 ethertype) == 0xffff && in _mlx5_fs_is_outer_ipv_flow() 69 ethertype) == ethertype; in _mlx5_fs_is_outer_ipv_flow()
|
| /kernel/linux/linux-5.10/net/dsa/ |
| D | tag_edsa.c | 3 * net/dsa/tag_edsa.c - Ethertype DSA tagging 33 * a DSA ethertype field is the packet is tagged, or insert in edsa_xmit() 34 * a DSA ethertype plus DSA tag between the addresses and the in edsa_xmit() 35 * current ethertype field if the packet is untagged. in edsa_xmit() 95 * Skip the two null bytes after the ethertype. in edsa_rcv() 138 * tag and delete the ethertype part. If the 'tagged' bit is in edsa_rcv() 139 * clear, delete the ethertype and the DSA tag parts. in edsa_rcv() 145 * Insert 802.1q ethertype and copy the VLAN-related in edsa_rcv()
|
| D | tag_rtl4_a.c | 53 /* Set Ethertype */ in rtl4a_tag_xmit() 81 /* The RTL4 header has its own custom Ethertype 0x8899 and that in rtl4a_tag_rcv() 84 * behind the Ethertype. in rtl4a_tag_rcv() 91 netdev_dbg(dev, "non-realtek ethertype 0x%04x\n", etype); in rtl4a_tag_rcv()
|
| D | tag_dsa.c | 3 * net/dsa/tag_dsa.c - (Non-ethertype) DSA tagging 23 * the ethertype field for untagged packets. in dsa_xmit() 69 * The ethertype field is part of the DSA header. in dsa_rcv() 98 * Insert 802.1q ethertype and copy the VLAN-related in dsa_rcv()
|
| /kernel/linux/linux-5.10/include/linux/mlx5/ |
| D | fs_helpers.h | 93 u16 ethertype; in _mlx5_fs_is_outer_ipv_flow() local 97 ethertype = ETH_P_IP; in _mlx5_fs_is_outer_ipv_flow() 100 ethertype = ETH_P_IPV6; in _mlx5_fs_is_outer_ipv_flow() 107 ethertype) == 0xffff && in _mlx5_fs_is_outer_ipv_flow() 109 ethertype) == ethertype; in _mlx5_fs_is_outer_ipv_flow()
|
| /kernel/linux/linux-6.6/drivers/net/ |
| D | bareudp.c | 42 __be16 ethertype; member 52 __be16 ethertype; member 81 if (bareudp->ethertype == htons(ETH_P_IP)) { in bareudp_udp_encap_recv() 99 } else if (bareudp->ethertype == htons(ETH_P_MPLS_UC)) { in bareudp_udp_encap_recv() 105 proto = bareudp->ethertype; in bareudp_udp_encap_recv() 121 proto = bareudp->ethertype; in bareudp_udp_encap_recv() 131 proto = bareudp->ethertype; in bareudp_udp_encap_recv() 360 skb_set_inner_protocol(skb, bareudp->ethertype); in bareudp_xmit_skb() 439 if (bareudp->ethertype == proto) in bareudp_proto_valid() 445 if (bareudp->ethertype == htons(ETH_P_MPLS_UC) && in bareudp_proto_valid() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ |
| D | bareudp.c | 45 __be16 ethertype; member 73 if (bareudp->ethertype == htons(ETH_P_IP)) { in bareudp_udp_encap_recv() 91 } else if (bareudp->ethertype == htons(ETH_P_MPLS_UC)) { in bareudp_udp_encap_recv() 97 proto = bareudp->ethertype; in bareudp_udp_encap_recv() 113 proto = bareudp->ethertype; in bareudp_udp_encap_recv() 123 proto = bareudp->ethertype; in bareudp_udp_encap_recv() 332 skb_set_inner_protocol(skb, bareudp->ethertype); in bareudp_xmit_skb() 408 if (bareudp->ethertype == proto) in bareudp_proto_valid() 414 if (bareudp->ethertype == htons(ETH_P_MPLS_UC) && in bareudp_proto_valid() 418 if (bareudp->ethertype == htons(ETH_P_IP) && in bareudp_proto_valid() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
| D | hostap_80211_tx.c | 19 /* No encapsulation header if EtherType < 0x600 (=length) */ 68 u16 fc, ethertype = 0; in hostap_data_start_xmit() local 122 ethertype = (skb->data[12] << 8) | skb->data[13]; in hostap_data_start_xmit() 130 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) { in hostap_data_start_xmit() 134 } else if (ethertype >= 0x600) { in hostap_data_start_xmit() 258 meta->ethertype = ethertype; in hostap_data_start_xmit() 303 meta->ethertype = (pos[0] << 8) | pos[1]; in hostap_mgmt_start_xmit() 444 meta->ethertype != ETH_P_PAE && in hostap_master_start_xmit() 447 "port (IEEE 802.1X): ethertype=0x%04x\n", in hostap_master_start_xmit() 448 dev->name, meta->ethertype); in hostap_master_start_xmit() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intersil/hostap/ |
| D | hostap_80211_tx.c | 19 /* No encapsulation header if EtherType < 0x600 (=length) */ 68 u16 fc, ethertype = 0; in hostap_data_start_xmit() local 122 ethertype = (skb->data[12] << 8) | skb->data[13]; in hostap_data_start_xmit() 130 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) { in hostap_data_start_xmit() 134 } else if (ethertype >= 0x600) { in hostap_data_start_xmit() 258 meta->ethertype = ethertype; in hostap_data_start_xmit() 303 meta->ethertype = (pos[0] << 8) | pos[1]; in hostap_mgmt_start_xmit() 444 meta->ethertype != ETH_P_PAE && in hostap_master_start_xmit() 447 "port (IEEE 802.1X): ethertype=0x%04x\n", in hostap_master_start_xmit() 448 dev->name, meta->ethertype); in hostap_master_start_xmit() [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/ |
| D | bareudp.rst | 28 a) ip link add dev bareudp0 type bareudp dstport 6635 ethertype mpls_uc 30 This creates a bareudp tunnel device which tunnels L3 traffic with ethertype 42 a) ip link add dev bareudp0 type bareudp dstport 6635 ethertype ipv4 multiproto 47 b) ip link add dev bareudp0 type bareudp dstport 6635 ethertype mpls_uc multiproto
|
| /kernel/linux/linux-6.6/Documentation/networking/ |
| D | bareudp.rst | 28 a) ip link add dev bareudp0 type bareudp dstport 6635 ethertype mpls_uc 30 This creates a bareudp tunnel device which tunnels L3 traffic with ethertype 42 a) ip link add dev bareudp0 type bareudp dstport 6635 ethertype ipv4 multiproto 47 b) ip link add dev bareudp0 type bareudp dstport 6635 ethertype mpls_uc multiproto
|
| /kernel/linux/linux-6.6/net/dsa/ |
| D | tag.h | 220 * what the DSA master perceives as the EtherType (the beginning of the L3 221 * protocol). Since DSA EtherType header taggers treat the EtherType as part of 222 * the DSA tag itself, and the EtherType is 2 bytes in length, the DSA header 223 * is located 2 bytes behind skb->data. Note that EtherType in this context 224 * means the first 2 bytes of the DSA header, not the encapsulated EtherType 232 /* On TX, skb->data points to the MAC header, which means that EtherType 233 * header taggers start exactly where the EtherType is (the EtherType is
|
| D | tag_rtl8_4.c | 15 * | Realtek EtherType [0x8899] | | 32 * EtherType | note that Realtek uses the same EtherType for 57 * The tag can be positioned before Ethertype, using tag "rtl8_4": 109 /* Set Realtek EtherType */ in rtl8_4_write_tag() 161 /* Parse Realtek EtherType */ in rtl8_4_read_tag() 165 "non-realtek ethertype 0x%04x\n", etype); in rtl8_4_read_tag() 229 /* Ethertype version */
|
| D | tag_dsa.c | 3 * Regular and Ethertype DSA tagging 10 * the tag between the SA and the ethertype of the original 32 * CPU. This is done by ignoring 802.3, replacing the ethertype field 36 * Ethertype DSA 39 * proper ethertype field (which the mv88e6xxx driver sets to 210 /* The ethertype field is part of the DSA header. */ in dsa_rcv_ll() 287 * tag, and delete the ethertype (extra) if applicable. If the in dsa_rcv_ll() 288 * 'tagged' bit is cleared; delete the DSA tag, and ethertype in dsa_rcv_ll() 294 /* Insert 802.1Q ethertype and copy the VLAN-related in dsa_rcv_ll()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| D | fs_tracepoint.c | 78 MASK_VAL_L2(u16, ethertype, ethertype); in print_lyr_2_4_hdrs() 83 PRINT_MASKED_VAL(ethertype, p, "%04x"); in print_lyr_2_4_hdrs() 85 if ((ethertype.m == 0xffff && ethertype.v == ETH_P_IP) || in print_lyr_2_4_hdrs() 98 } else if ((ethertype.m == 0xffff && ethertype.v == ETH_P_IPV6) || in print_lyr_2_4_hdrs()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| D | fs_tracepoint.c | 78 MASK_VAL_L2(u16, ethertype, ethertype); in print_lyr_2_4_hdrs() 83 PRINT_MASKED_VAL(ethertype, p, "%04x"); in print_lyr_2_4_hdrs() 85 if ((ethertype.m == 0xffff && ethertype.v == ETH_P_IP) || in print_lyr_2_4_hdrs() 98 } else if ((ethertype.m == 0xffff && ethertype.v == ETH_P_IPV6) || in print_lyr_2_4_hdrs()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/macsec/ |
| D | macsec_struct.h | 17 /*! This is used to store the 16 bit ethertype value used for 31 * 5: compare DA + ethertype 32 * 6: compare SA + ethertype 64 /*! The 16 bit Ethertype (in the clear) field used to compare with 153 * 1: enable comparison of Ethertype. 325 /*! This is used to store the 16 bit ethertype value used for 339 * 5: compare DA + ethertype 340 * 6: compare SA + ethertype 363 /*! The 16 bit Ethertype (in the clear) field used to compare with 417 * 1: enable comparison of Ethertype. [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/macsec/ |
| D | macsec_struct.h | 17 /*! This is used to store the 16 bit ethertype value used for 31 * 5: compare DA + ethertype 32 * 6: compare SA + ethertype 64 /*! The 16 bit Ethertype (in the clear) field used to compare with 153 * 1: enable comparison of Ethertype. 325 /*! This is used to store the 16 bit ethertype value used for 339 * 5: compare DA + ethertype 340 * 6: compare SA + ethertype 363 /*! The 16 bit Ethertype (in the clear) field used to compare with 417 * 1: enable comparison of Ethertype. [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
| D | hw_atl_llh.h | 435 /* set vlan inner ethertype */ 438 /* set vlan outer ethertype */ 476 /* set ethertype filter enable */ 480 /* set ethertype user-priority enable */ 485 /* set ethertype rx queue enable */ 490 /* set ethertype rx queue */ 494 /* set ethertype user-priority */ 499 /* set ethertype management queue */ 503 /* set ethertype filter action */ 507 /* set ethertype filter */
|