Home
last modified time | relevance | path

Searched refs:ethertype (Results 1 – 25 of 112) sorted by relevance

12345

/OK3568_Linux_fs/kernel/include/linux/mlx5/
H A Dfs_helpers.h93 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_fltr.c183 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()
291 ice_fltr_prepare_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag, in ice_fltr_prepare_eth() argument
299 if (ice_fltr_add_eth_to_list(vsi, &tmp_list, ethertype, flag, action)) in ice_fltr_prepare_eth()
378 enum ice_status ice_fltr_add_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag, in ice_fltr_add_eth() argument
381 return ice_fltr_prepare_eth(vsi, ethertype, flag, action, in ice_fltr_add_eth()
392 enum ice_status ice_fltr_remove_eth(struct ice_vsi *vsi, u16 ethertype, in ice_fltr_remove_eth() argument
395 return ice_fltr_prepare_eth(vsi, ethertype, flag, action, in ice_fltr_remove_eth()
H A Dice_fltr.h33 ice_fltr_add_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag,
36 ice_fltr_remove_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag,
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dbcm_l2_filter.c110 uint16 ethertype; in bcm_l2_filter_gratuitous_arp() local
118 if (get_pkt_ether_type(osh, pktbuf, &data, &datalen, &ethertype, &snap) != BCME_OK) in bcm_l2_filter_gratuitous_arp()
126 if (ethertype == ETHER_TYPE_ARP) { in bcm_l2_filter_gratuitous_arp()
133 } else if (ethertype == ETHER_TYPE_IPV6) { in bcm_l2_filter_gratuitous_arp()
177 uint16 ethertype; in get_pkt_ether_type() local
196 ethertype = ntoh16_ua(pt); in get_pkt_ether_type()
199 if (ethertype == ETHER_TYPE_8021Q) { in get_pkt_ether_type()
207 ethertype = ntoh16_ua(pt); in get_pkt_ether_type()
211 *et_ptr = ethertype; in get_pkt_ether_type()
222 uint16 ethertype, iphdrlen, ippktlen; in get_pkt_ip_type() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcm_l2_filter.c110 uint16 ethertype; in bcm_l2_filter_gratuitous_arp() local
118 if (get_pkt_ether_type(osh, pktbuf, &data, &datalen, &ethertype, &snap) != BCME_OK) in bcm_l2_filter_gratuitous_arp()
126 if (ethertype == ETHER_TYPE_ARP) { in bcm_l2_filter_gratuitous_arp()
133 } else if (ethertype == ETHER_TYPE_IPV6) { in bcm_l2_filter_gratuitous_arp()
177 uint16 ethertype; in get_pkt_ether_type() local
196 ethertype = ntoh16_ua(pt); in get_pkt_ether_type()
199 if (ethertype == ETHER_TYPE_8021Q) { in get_pkt_ether_type()
207 ethertype = ntoh16_ua(pt); in get_pkt_ether_type()
211 *et_ptr = ethertype; in get_pkt_ether_type()
222 uint16 ethertype, iphdrlen, ippktlen; in get_pkt_ip_type() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/hostap/
H A Dhostap_80211_tx.c68 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()
448 dev->name, meta->ethertype); in hostap_master_start_xmit()
486 if (local->ieee_802_1x && meta->ethertype == ETH_P_PAE && tx.crypt && in hostap_master_start_xmit()
505 meta->ethertype != ETH_P_PAE) { in hostap_master_start_xmit()
H A Dhostap_80211_rx.c611 u16 fc, ethertype; in hostap_is_eapol_frame() local
639 ethertype = (pos[6] << 8) | pos[7]; in hostap_is_eapol_frame()
640 if (ethertype == ETH_P_PAE) in hostap_is_eapol_frame()
728 u16 ethertype; in hostap_80211_rx() local
1008 ethertype = (payload[6] << 8) | payload[7]; in hostap_80211_rx()
1013 if (ethertype == ETH_P_PAE) { in hostap_80211_rx()
1029 dev->name, ethertype); in hostap_80211_rx()
1037 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in hostap_80211_rx()
/OK3568_Linux_fs/kernel/drivers/net/
H A Dbareudp.c45 __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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfs_tracepoint.c78 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()
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dbareudp.rst28 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
/OK3568_Linux_fs/kernel/net/802/
H A Dfddi.c67 fddi->hdr.llc_snap.ethertype = htons(type); in fddi_header()
114 type=fddi->hdr.llc_snap.ethertype; in fddi_type_trans()
H A Dhippi.c76 hip->snap.ethertype = htons(type); in hippi_header()
110 return hip->snap.ethertype; in hippi_type_trans()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_tables_offload.c57 struct nft_offload_ethertype ethertype = { in nft_flow_rule_transfer_vlan() local
69 match->key.vlan.vlan_tpid = ethertype.value; in nft_flow_rule_transfer_vlan()
70 match->mask.vlan.vlan_tpid = ethertype.mask; in nft_flow_rule_transfer_vlan()
79 match->key.vlan.vlan_tpid = ethertype.value; in nft_flow_rule_transfer_vlan()
80 match->mask.vlan.vlan_tpid = ethertype.mask; in nft_flow_rule_transfer_vlan()
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_rx.c231 u16 fc, ethertype; in libipw_is_eapol_frame() local
259 ethertype = (pos[6] << 8) | pos[7]; in libipw_is_eapol_frame()
260 if (ethertype == ETH_P_PAE) in libipw_is_eapol_frame()
337 u16 ethertype; in libipw_rx() local
707 ethertype = (payload[6] << 8) | payload[7]; in libipw_rx()
713 if (ethertype == ETH_P_PAE) { in libipw_rx()
728 "ethertype=0x%04x\n", dev->name, ethertype); in libipw_rx()
737 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in libipw_rx()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dif_fc.h49 __be16 ethertype; /* ether type field */ member
H A Dif_fddi.h106 __be16 ethertype; /* packet type ID field */ member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dif_fc.h49 __be16 ethertype; /* ether type field */ member
H A Dif_fddi.h106 __be16 ethertype; /* packet type ID field */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dif_fc.h49 __be16 ethertype; /* ether type field */ member
H A Dif_fddi.h106 __be16 ethertype; /* packet type ID field */ member
/OK3568_Linux_fs/kernel/include/net/
H A Dbareudp.h11 __be16 ethertype; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c149 MLX5E_FTE_SET(headers_c, ethertype, 0xffff); in set_ip4()
150 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IP); in set_ip4()
172 MLX5E_FTE_SET(headers_c, ethertype, 0xffff); in set_ip6()
173 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IPV6); in set_ip6()
304 MLX5E_FTE_SET(headers_c, ethertype, ntohs(eth_mask->h_proto)); in parse_ether()
305 MLX5E_FTE_SET(headers_v, ethertype, ntohs(eth_val->h_proto)); in parse_ether()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/flower/
H A Dmatch.c418 ext->ethertype = cpu_to_be16(ETH_P_TEB); in nfp_flower_compile_ipv4_gre_tun()
419 msk->ethertype = cpu_to_be16(~0); in nfp_flower_compile_ipv4_gre_tun()
462 ext->ethertype = cpu_to_be16(ETH_P_TEB); in nfp_flower_compile_ipv6_gre_tun()
463 msk->ethertype = cpu_to_be16(~0); in nfp_flower_compile_ipv6_gre_tun()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/netinet/
H A Dif_tr.h53 uint16_t ethertype; /* ether type field */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/netinet/
H A Dif_tr.h53 uint16_t ethertype; /* ether type field */ member

12345