/Linux-v4.19/arch/m68k/mac/ |
D | config.c | 414 .ether_type = MAC_ETHER_SONIC, 434 .ether_type = MAC_ETHER_SONIC, 446 .ether_type = MAC_ETHER_SONIC, 456 .ether_type = MAC_ETHER_SONIC, 466 .ether_type = MAC_ETHER_MACE, 476 .ether_type = MAC_ETHER_SONIC, 486 .ether_type = MAC_ETHER_SONIC, 592 .ether_type = MAC_ETHER_SONIC, 602 .ether_type = MAC_ETHER_SONIC, 612 .ether_type = MAC_ETHER_MACE, [all …]
|
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/ |
D | filter.h | 141 __be16 ether_type; member 190 spec->ether_type = htons(ETH_P_IP); in ef4_filter_set_ipv4_local() 215 spec->ether_type = htons(ETH_P_IP); in ef4_filter_set_ipv4_full()
|
D | ethtool.c | 815 spec.ether_type == htons(ETH_P_IP) && in ef4_ethtool_get_class_rule() 842 spec.ether_type == htons(ETH_P_IPV6) && in ef4_ethtool_get_class_rule() 889 mac_entry->h_proto = spec.ether_type; in ef4_ethtool_get_class_rule() 893 spec.ether_type == htons(ETH_P_IP) && in ef4_ethtool_get_class_rule() 913 spec.ether_type == htons(ETH_P_IPV6) && in ef4_ethtool_get_class_rule() 1065 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule() 1100 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule() 1136 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule() 1161 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule() 1203 spec.ether_type = mac_entry->h_proto; in ef4_ethtool_set_class_rule()
|
D | rx.c | 863 spec.ether_type = fk.basic.n_proto; in ef4_filter_rfs() 886 if (spec.ether_type == htons(ETH_P_IP)) in ef4_filter_rfs() 964 if (spec->ether_type == htons(ETH_P_IP) && in ef4_filter_is_mc_recipient() 967 if (spec->ether_type == htons(ETH_P_IPV6) && in ef4_filter_is_mc_recipient()
|
/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_xmit.c | 238 if ((pattrib->ether_type != 0x888e) && in update_txdesc() 239 (pattrib->ether_type != 0x0806) && in update_txdesc() 240 (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() 565 if ((pfirstframe->attrib.ether_type != 0x0806) && in rtl8188eu_xmitframe_complete() 566 (pfirstframe->attrib.ether_type != 0x888e) && in rtl8188eu_xmitframe_complete() 567 (pfirstframe->attrib.ether_type != 0x88b4) && in rtl8188eu_xmitframe_complete()
|
/Linux-v4.19/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_tx.c | 264 __be16 ether_type; in libipw_xmit() local 295 ether_type = ((struct ethhdr *)skb->data)->h_proto; in libipw_xmit() 299 encrypt = !(ether_type == htons(ETH_P_PAE) && ieee->ieee802_1x) && in libipw_xmit() 306 ieee->drop_unencrypted && ether_type != htons(ETH_P_PAE)) { in libipw_xmit() 365 ether_type); in libipw_xmit() 488 ether_type); in libipw_xmit()
|
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | filter.h | 167 __be16 ether_type; member 216 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_local() 241 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_full()
|
D | ethtool.c | 838 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule() 865 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule() 912 mac_entry->h_proto = spec.ether_type; in efx_ethtool_get_class_rule() 916 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule() 936 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule() 1130 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule() 1165 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule() 1201 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule() 1226 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule() 1268 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
|
D | rx.c | 876 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work() 942 req->spec.ether_type = fk.basic.n_proto; in efx_filter_rfs() 1060 if (spec->ether_type == htons(ETH_P_IP) && in efx_filter_is_mc_recipient() 1063 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_filter_is_mc_recipient()
|
/Linux-v4.19/drivers/firewire/ |
D | net.c | 88 unsigned ether_type) in fwnet_make_uf_hdr() argument 91 | fwnet_set_hdr_ether_type(ether_type); in fwnet_make_uf_hdr() 95 unsigned ether_type, unsigned dg_size, unsigned dgl) in fwnet_make_ff_hdr() argument 99 | fwnet_set_hdr_ether_type(ether_type); in fwnet_make_ff_hdr() 126 u16 ether_type; member 484 bool is_broadcast, u16 ether_type) in fwnet_finish_incoming_packet() argument 490 switch (ether_type) { in fwnet_finish_incoming_packet() 511 if (dev_hard_header(skb, net, ether_type, in fwnet_finish_incoming_packet() 579 u16 ether_type; in fwnet_incoming_packet() local 592 ether_type = fwnet_get_hdr_ether_type(&hdr); in fwnet_incoming_packet() [all …]
|
/Linux-v4.19/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 573 int ether_type = 0, encrypt; in rtllib_xmit_inter() local 615 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in rtllib_xmit_inter() 633 if (ether_type == ETH_P_IP) { in rtllib_xmit_inter() 649 } else if (ether_type == ETH_P_ARP) { in rtllib_xmit_inter() 660 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && in rtllib_xmit_inter() 663 ieee->drop_unencrypted && ether_type != ETH_P_PAE) { in rtllib_xmit_inter() 667 if (crypt && !encrypt && ether_type == ETH_P_PAE) { in rtllib_xmit_inter() 848 sizeof(u16)), ether_type); in rtllib_xmit_inter() 905 if (ether_type == ETH_P_PAE) { in rtllib_xmit_inter()
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl8712_xmit.c | 309 if (pxmitframe->attrib.ether_type != 0x0806) { in r8712_append_mpdu_unit() 310 if ((pxmitframe->attrib.ether_type != 0x888e) && in r8712_append_mpdu_unit() 542 if ((pattrib->ether_type != 0x888e) && in update_txdesc() 543 (pattrib->ether_type != 0x0806) && in update_txdesc() 720 if (pxmitframe->attrib.ether_type != 0x0806) { in dump_xframe() 721 if (pxmitframe->attrib.ether_type != 0x888e) in dump_xframe()
|
D | xmit_linux.c | 88 if (pattrib->ether_type == 0x0800) { in r8712_set_qos() 98 if (pattrib->ether_type == 0x888e) in r8712_set_qos()
|
D | rtl871x_xmit.c | 206 pattrib->ether_type = ntohs(etherhdr.h_proto); in r8712_update_attrib() 212 if (pattrib->ether_type == 0x0806) { in r8712_update_attrib() 237 if (pattrib->ether_type != 0x8712) in r8712_update_attrib() 250 if (pattrib->ether_type == ETH_P_IP) { in r8712_update_attrib() 260 if (pattrib->ether_type == ETH_P_IP) {/* IP header*/ in r8712_update_attrib() 313 if ((pattrib->ether_type != 0x888e) && in r8712_update_attrib() 625 if (pattrib->ether_type == 0x8712) { in r8712_xmitframe_coalesce() 676 llc_sz = r8712_put_snap(pframe, pattrib->ether_type); in r8712_xmitframe_coalesce()
|
D | rtl871x_recv.c | 249 u16 ether_type; in r8712_portctrl() local 260 memcpy(ðer_type, ptr, 2); in r8712_portctrl() 261 be16_to_cpus(ðer_type); in r8712_portctrl() 267 if (ether_type == 0x888e) { in r8712_portctrl() 282 if (ether_type == 0x888e) { in r8712_portctrl()
|
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_tx.c | 604 int ether_type = 0, encrypt; in ieee80211_xmit() local 640 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in ieee80211_xmit() 644 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && in ieee80211_xmit() 648 ieee->drop_unencrypted && ether_type != ETH_P_PAE) { in ieee80211_xmit() 653 if (crypt && !encrypt && ether_type == ETH_P_PAE) { in ieee80211_xmit() 823 ether_type); in ieee80211_xmit()
|
/Linux-v4.19/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 393 u16 ether_type; in qedr_gsi_build_header() local 411 ether_type = ETH_P_IBOE; in qedr_gsi_build_header() 416 ether_type = ETH_P_IP; in qedr_gsi_build_header() 422 ether_type = ETH_P_IPV6; in qedr_gsi_build_header() 439 udh->vlan.type = htons(ether_type); in qedr_gsi_build_header() 441 udh->eth.type = htons(ether_type); in qedr_gsi_build_header()
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | macintosh.h | 35 char ether_type; member
|
/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_xmit.c | 380 if (pattrib->ether_type == 0x0800) { in set_qos() 385 } else if (pattrib->ether_type == ETH_P_PAE) { in set_qos() 411 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib() 432 if (pattrib->ether_type == ETH_P_IP) { in update_attrib() 441 if (pattrib->ether_type == ETH_P_IP) {/* IP header */ in update_attrib() 452 } else if (pattrib->ether_type == ETH_P_PAE) { in update_attrib() 456 if ((pattrib->ether_type == ETH_P_PAE) || (pattrib->dhcp_pkt == 1)) in update_attrib() 460 …if ((pattrib->ether_type == ETH_P_ARP) || (pattrib->ether_type == ETH_P_PAE) || (pattrib->dhcp_pkt… in update_attrib() 514 if (pattrib->ether_type != ETH_P_PAE) { in update_attrib() 515 …psta->ieee8021x_blocked == true, pattrib->ether_type(%.4x) != ETH_P_PAE\n", pattrib->ether_type)); in update_attrib() [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_xmit.c | 518 if ((pattrib->ether_type != 0x888e) && (check_fwstate(pmlmepriv, WIFI_MP_STATE) == false)) { in update_attrib_sec_info() 519 …"\npsta->ieee8021x_blocked == true, pattrib->ether_type(%.4x) != 0x888e\n", pattrib->ether_type)); in update_attrib_sec_info() 521 …ieee8021x_blocked == true, pattrib->ether_type(%04x) != 0x888e\n", __func__, pattrib->ether_type); in update_attrib_sec_info() 547 …if (((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) && (pattrib->ether_type == 0… in update_attrib_sec_info() 666 if (pattrib->ether_type == 0x0800) { in set_qos() 694 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib() 719 if (ETH_P_IP == pattrib->ether_type) { in update_attrib() 729 if (ETH_P_IP == pattrib->ether_type) {/* IP header */ in update_attrib() 753 } else if (0x888e == pattrib->ether_type) { in update_attrib() 757 if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib() [all …]
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.h | 24 __be16 ether_type; member
|
D | bnxt_tc.c | 215 flow->l2_key.ether_type = key->n_proto; in bnxt_tc_parse_flow() 216 flow->l2_mask.ether_type = mask->n_proto; in bnxt_tc_parse_flow() 458 req.ethertype = flow->l2_key.ether_type; in bnxt_hwrm_cfa_flow_alloc() 480 flow_flags |= flow->l2_key.ether_type == htons(ETH_P_IP) ? in bnxt_hwrm_cfa_flow_alloc() 850 if (!is_exactmatch(&flow->l2_mask.ether_type, in bnxt_tc_can_offload() 851 sizeof(flow->l2_mask.ether_type))) { in bnxt_tc_can_offload()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/ |
D | base.c | 1515 u16 ether_type; in rtl_is_special_data() local 1523 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_special_data() 1525 if (ETH_P_IP == ether_type) { in rtl_is_special_data() 1549 } else if (ETH_P_ARP == ether_type) { in rtl_is_special_data() 1554 } else if (ETH_P_PAE == ether_type) { in rtl_is_special_data() 1571 } else if (ETH_P_IPV6 == ether_type) { in rtl_is_special_data() 1615 u16 ether_type; in rtl_is_tx_report_skb() local 1620 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_tx_report_skb() 1622 if (ether_type == ETH_P_PAE || ieee80211_is_nullfunc(fc)) in rtl_is_tx_report_skb()
|
/Linux-v4.19/drivers/staging/rtlwifi/ |
D | base.c | 1478 u16 ether_type; in rtl_is_special_data() local 1486 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_special_data() 1488 if (ether_type == ETH_P_IP) { in rtl_is_special_data() 1512 } else if (ether_type == ETH_P_ARP) { in rtl_is_special_data() 1517 } else if (ether_type == ETH_P_PAE) { in rtl_is_special_data() 1535 } else if (ether_type == ETH_P_IPV6) { in rtl_is_special_data() 1549 u16 ether_type; in rtl_is_tx_report_skb() local 1553 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_tx_report_skb() 1556 if (ether_type == ETH_P_PAE) in rtl_is_tx_report_skb()
|
/Linux-v4.19/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_xmit.c | 574 (pxmitframe->attrib.ether_type != 0x0806) && in rtl8723bs_hal_xmit() 575 (pxmitframe->attrib.ether_type != 0x888e) && in rtl8723bs_hal_xmit()
|