| /Linux-v5.15/arch/m68k/mac/ |
| D | config.c | 392 .ether_type = MAC_ETHER_SONIC, 412 .ether_type = MAC_ETHER_SONIC, 424 .ether_type = MAC_ETHER_SONIC, 434 .ether_type = MAC_ETHER_SONIC, 444 .ether_type = MAC_ETHER_MACE, 454 .ether_type = MAC_ETHER_SONIC, 464 .ether_type = MAC_ETHER_SONIC, 570 .ether_type = MAC_ETHER_SONIC, 580 .ether_type = MAC_ETHER_SONIC, 590 .ether_type = MAC_ETHER_MACE, [all …]
|
| /Linux-v5.15/drivers/net/ethernet/sfc/falcon/ |
| D | filter.h | 138 __be16 ether_type; member 187 spec->ether_type = htons(ETH_P_IP); in ef4_filter_set_ipv4_local() 212 spec->ether_type = htons(ETH_P_IP); in ef4_filter_set_ipv4_full()
|
| D | ethtool.c | 813 spec.ether_type == htons(ETH_P_IP) && in ef4_ethtool_get_class_rule() 840 spec.ether_type == htons(ETH_P_IPV6) && in ef4_ethtool_get_class_rule() 887 mac_entry->h_proto = spec.ether_type; in ef4_ethtool_get_class_rule() 891 spec.ether_type == htons(ETH_P_IP) && in ef4_ethtool_get_class_rule() 911 spec.ether_type == htons(ETH_P_IPV6) && in ef4_ethtool_get_class_rule() 1063 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule() 1098 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule() 1134 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule() 1159 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule() 1201 spec.ether_type = mac_entry->h_proto; in ef4_ethtool_set_class_rule()
|
| D | rx.c | 859 spec.ether_type = fk.basic.n_proto; in ef4_filter_rfs() 882 if (spec.ether_type == htons(ETH_P_IP)) in ef4_filter_rfs() 960 if (spec->ether_type == htons(ETH_P_IP) && in ef4_filter_is_mc_recipient() 963 if (spec->ether_type == htons(ETH_P_IPV6) && in ef4_filter_is_mc_recipient()
|
| /Linux-v5.15/drivers/staging/r8188eu/hal/ |
| D | rtl8188eu_xmit.c | 236 if ((pattrib->ether_type != 0x888e) && in update_txdesc() 237 (pattrib->ether_type != 0x0806) && in update_txdesc() 238 (pattrib->ether_type != 0x88b4) && in update_txdesc() 344 (pxmitframe->attrib.ether_type != 0x0806) && in rtw_dump_xframe() 345 (pxmitframe->attrib.ether_type != 0x888e) && in rtw_dump_xframe() 346 (pxmitframe->attrib.ether_type != 0x88b4) && in rtw_dump_xframe() 563 if ((pfirstframe->attrib.ether_type != 0x0806) && in rtl8188eu_xmitframe_complete() 564 (pfirstframe->attrib.ether_type != 0x888e) && in rtl8188eu_xmitframe_complete() 565 (pfirstframe->attrib.ether_type != 0x88b4) && in rtl8188eu_xmitframe_complete()
|
| /Linux-v5.15/drivers/net/wireless/intel/ipw2x00/ |
| D | libipw_tx.c | 250 __be16 ether_type; in libipw_xmit() local 281 ether_type = ((struct ethhdr *)skb->data)->h_proto; in libipw_xmit() 285 encrypt = !(ether_type == htons(ETH_P_PAE) && ieee->ieee802_1x) && in libipw_xmit() 292 ieee->drop_unencrypted && ether_type != htons(ETH_P_PAE)) { in libipw_xmit() 351 ether_type); in libipw_xmit() 474 ether_type); in libipw_xmit()
|
| /Linux-v5.15/drivers/net/ethernet/sfc/ |
| D | filter.h | 164 __be16 ether_type; member 213 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_local() 238 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_full()
|
| D | ethtool_common.c | 677 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule() 704 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule() 751 mac_entry->h_proto = spec.ether_type; in efx_ethtool_get_class_rule() 755 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule() 775 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule() 972 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule() 1007 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule() 1043 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule() 1068 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule() 1110 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
|
| D | rx_common.c | 649 if (spec->ether_type == htons(ETH_P_IP) && in efx_filter_is_mc_recipient() 652 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_filter_is_mc_recipient() 904 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work() 920 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work() 992 req->spec.ether_type = fk.basic.n_proto; in efx_filter_rfs()
|
| /Linux-v5.15/drivers/firewire/ |
| D | net.c | 89 unsigned ether_type) in fwnet_make_uf_hdr() argument 92 | fwnet_set_hdr_ether_type(ether_type); in fwnet_make_uf_hdr() 96 unsigned ether_type, unsigned dg_size, unsigned dgl) in fwnet_make_ff_hdr() argument 100 | fwnet_set_hdr_ether_type(ether_type); in fwnet_make_ff_hdr() 127 u16 ether_type; member 489 bool is_broadcast, u16 ether_type) in fwnet_finish_incoming_packet() argument 493 switch (ether_type) { in fwnet_finish_incoming_packet() 512 if (dev_hard_header(skb, net, ether_type, in fwnet_finish_incoming_packet() 580 u16 ether_type; in fwnet_incoming_packet() local 593 ether_type = fwnet_get_hdr_ether_type(&hdr); in fwnet_incoming_packet() [all …]
|
| /Linux-v5.15/drivers/staging/rtl8192e/ |
| D | rtllib_tx.c | 557 int ether_type = 0, encrypt; in rtllib_xmit_inter() local 599 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in rtllib_xmit_inter() 617 if (ether_type == ETH_P_IP) { in rtllib_xmit_inter() 633 } else if (ether_type == ETH_P_ARP) { in rtllib_xmit_inter() 644 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && in rtllib_xmit_inter() 647 ieee->drop_unencrypted && ether_type != ETH_P_PAE) { in rtllib_xmit_inter() 651 if (crypt && !encrypt && ether_type == ETH_P_PAE) { in rtllib_xmit_inter() 832 sizeof(u16)), ether_type); in rtllib_xmit_inter() 889 if (ether_type == ETH_P_PAE) { in rtllib_xmit_inter()
|
| /Linux-v5.15/drivers/staging/rtl8192u/ieee80211/ |
| D | ieee80211_tx.c | 537 int ether_type = 0, encrypt; in ieee80211_xmit() local 572 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in ieee80211_xmit() 576 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && in ieee80211_xmit() 580 ieee->drop_unencrypted && ether_type != ETH_P_PAE) { in ieee80211_xmit() 585 if (crypt && !encrypt && ether_type == ETH_P_PAE) { in ieee80211_xmit() 747 ether_type); in ieee80211_xmit()
|
| /Linux-v5.15/drivers/staging/rtl8712/ |
| D | rtl8712_xmit.c | 293 if (pxmitframe->attrib.ether_type != 0x0806) { in r8712_append_mpdu_unit() 294 if ((pxmitframe->attrib.ether_type != 0x888e) && in r8712_append_mpdu_unit() 518 if ((pattrib->ether_type != 0x888e) && in update_txdesc() 519 (pattrib->ether_type != 0x0806) && in update_txdesc() 696 if (pxmitframe->attrib.ether_type != 0x0806) { in dump_xframe() 697 if (pxmitframe->attrib.ether_type != 0x888e) in dump_xframe()
|
| D | xmit_linux.c | 75 if (pattrib->ether_type == 0x0800) { in r8712_set_qos() 85 if (pattrib->ether_type == 0x888e) in r8712_set_qos()
|
| D | rtl871x_xmit.c | 194 pattrib->ether_type = ntohs(etherhdr.h_proto); in r8712_update_attrib() 200 if (pattrib->ether_type == 0x0806) { in r8712_update_attrib() 225 if (pattrib->ether_type != 0x8712) in r8712_update_attrib() 238 if (pattrib->ether_type == ETH_P_IP) { in r8712_update_attrib() 248 if (pattrib->ether_type == ETH_P_IP) {/* IP header*/ in r8712_update_attrib() 301 if ((pattrib->ether_type != 0x888e) && in r8712_update_attrib() 608 if (pattrib->ether_type == 0x8712) { in r8712_xmitframe_coalesce() 656 llc_sz = r8712_put_snap(pframe, pattrib->ether_type); in r8712_xmitframe_coalesce()
|
| D | rtl871x_recv.c | 234 u16 ether_type; in r8712_portctrl() local 245 ether_type = get_unaligned_be16(ptr); in r8712_portctrl() 251 if (ether_type == 0x888e) { in r8712_portctrl() 266 if (ether_type == 0x888e) { in r8712_portctrl()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | fs_tt_redirect.h | 23 u32 tir_num, u16 ether_type);
|
| D | fs_tt_redirect.c | 351 static void fs_any_set_ethertype_flow(struct mlx5_flow_spec *spec, u16 ether_type) in fs_any_set_ethertype_flow() argument 355 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ethertype, ether_type); in fs_any_set_ethertype_flow() 360 u32 tir_num, u16 ether_type) in mlx5e_fs_tt_redirect_any_add_rule() argument 377 fs_any_set_ethertype_flow(spec, ether_type); in mlx5e_fs_tt_redirect_any_add_rule()
|
| /Linux-v5.15/drivers/infiniband/hw/qedr/ |
| D | qedr_roce_cm.c | 392 u16 ether_type; in qedr_gsi_build_header() local 413 ether_type = ETH_P_IBOE; in qedr_gsi_build_header() 418 ether_type = ETH_P_IP; in qedr_gsi_build_header() 424 ether_type = ETH_P_IPV6; in qedr_gsi_build_header() 441 udh->vlan.type = htons(ether_type); in qedr_gsi_build_header() 443 udh->eth.type = htons(ether_type); in qedr_gsi_build_header()
|
| /Linux-v5.15/arch/m68k/include/asm/ |
| D | macintosh.h | 40 char ether_type; member
|
| /Linux-v5.15/drivers/staging/r8188eu/core/ |
| D | rtw_xmit.c | 392 if (pattrib->ether_type == 0x0800) { in set_qos() 396 } else if (pattrib->ether_type == 0x888e) { in set_qos() 425 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib() 446 if (ETH_P_IP == pattrib->ether_type) { in update_attrib() 453 if (ETH_P_IP == pattrib->ether_type) {/* IP header */ in update_attrib() 463 } else if (0x888e == pattrib->ether_type) { in update_attrib() 467 if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib() 471 if ((pattrib->ether_type == 0x0806) || (pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib() 523 if ((pattrib->ether_type != 0x888e) && !check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in update_attrib() 983 llc_sz = rtw_put_snap(pframe, pattrib->ether_type); in rtw_xmitframe_coalesce()
|
| /Linux-v5.15/drivers/staging/rtl8723bs/core/ |
| D | rtw_xmit.c | 477 if ((pattrib->ether_type != 0x888e) && (check_fwstate(pmlmepriv, WIFI_MP_STATE) == false)) { in update_attrib_sec_info() 502 …if (((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) && (pattrib->ether_type == 0… in update_attrib_sec_info() 602 if (pattrib->ether_type == 0x0800) { in set_qos() 626 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib() 645 if (pattrib->ether_type == ETH_P_IP) { in update_attrib() 655 if (pattrib->ether_type == ETH_P_IP) {/* IP header */ in update_attrib() 673 } else if (pattrib->ether_type == 0x888e) { in update_attrib() 677 if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib() 1074 llc_sz = rtw_put_snap(pframe, pattrib->ether_type); in rtw_xmitframe_coalesce() 1989 if (attrib->ether_type == 0x0806 || in xmitframe_hiq_filter() [all …]
|
| /Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/ |
| D | base.c | 1499 u16 ether_type; in rtl_is_special_data() local 1507 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_special_data() 1509 if (ETH_P_IP == ether_type) { in rtl_is_special_data() 1533 } else if (ETH_P_ARP == ether_type) { in rtl_is_special_data() 1538 } else if (ETH_P_PAE == ether_type) { in rtl_is_special_data() 1555 } else if (ETH_P_IPV6 == ether_type) { in rtl_is_special_data() 1599 u16 ether_type; in rtl_is_tx_report_skb() local 1604 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_tx_report_skb() 1606 if (ether_type == ETH_P_PAE || ieee80211_is_nullfunc(fc)) in rtl_is_tx_report_skb()
|
| /Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_tc.h | 24 __be16 ether_type; member
|
| /Linux-v5.15/drivers/net/ethernet/intel/ice/ |
| D | ice_fdir.h | 152 __be16 ether_type; /* for NON_IP_L2 */ member
|