/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 55 u16 eth_type; in rtw_os_alloc_msdu_pkt() local 77 eth_type = RTW_GET_BE16(&sub_skb->data[6]); in rtw_os_alloc_msdu_pkt() 81 eth_type != ETH_P_AARP && eth_type != ETH_P_IPX) || in rtw_os_alloc_msdu_pkt() 224 DBG_871X("eth rx: got eth_type = 0x%x\n", pattrib->eth_type); in rtw_os_ksocket_send() 285 if (0x8899 == pattrib->eth_type) { in rtw_recv_indicatepkt()
|
D | os_intfs.c | 416 __be16 eth_type; in rtw_recv_select_queue() local 420 memcpy(ð_type, pdata + (ETH_ALEN << 1), 2); in rtw_recv_select_queue() 422 switch (be16_to_cpu(eth_type)) { in rtw_recv_select_queue()
|
/drivers/net/ethernet/rocker/ |
D | rocker_ofdpa.c | 47 __be16 eth_type; member 56 __be16 eth_type; member 80 __be16 eth_type; member 356 entry->key.term_mac.eth_type)) in ofdpa_cmd_flow_tbl_add_term_mac() 386 entry->key.ucast_routing.eth_type)) in ofdpa_cmd_flow_tbl_add_ucast_routing() 461 entry->key.acl.eth_type)) in ofdpa_cmd_flow_tbl_add_acl() 470 switch (ntohs(entry->key.acl.eth_type)) { in ofdpa_cmd_flow_tbl_add_acl() 882 __be16 eth_type, const u8 *eth_dst, in ofdpa_flow_tbl_term_mac() argument 906 entry->key.term_mac.eth_type = eth_type; in ofdpa_flow_tbl_term_mac() 971 __be16 eth_type, __be32 dst, in ofdpa_flow_tbl_ucast4_routing() argument [all …]
|
/drivers/net/wireless/ath/ath6kl/ |
D | common.h | 67 __be16 eth_type; member
|
D | wmi.c | 201 llc_hdr->eth_type = type; in ath6kl_wmi_dix_2_dot3() 332 if (llc_hdr->eth_type == htons(ip_type)) { in ath6kl_wmi_implicit_create_pstream() 420 eth_hdr.h_proto = llc_hdr->eth_type; in ath6kl_wmi_dot11_hdr_remove() 468 eth_hdr.h_proto = llc_hdr->eth_type; in ath6kl_wmi_dot3_2_dix()
|
D | txrx.c | 141 ether_type = be16_to_cpu(llc_hdr->eth_type); in ath6kl_process_uapsdq()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 1580 u16 eth_type; in validate_recv_frame() local 1585 memcpy(ð_type, ptr + pattrib->hdrlen + pattrib->iv_len + LLC_HEADER_SIZE, 2); in validate_recv_frame() 1586 eth_type = ntohs((unsigned short) eth_type); in validate_recv_frame() 1587 if ((bDumpRxPkt == 4) && (eth_type == 0x888e)) in validate_recv_frame() 1613 u16 eth_type, len; in wlanhdr_to_ethhdr() local 1648 eth_type = ntohs(be_tmp); /* pattrib->ether_type */ in wlanhdr_to_ethhdr() 1649 pattrib->eth_type = eth_type; in wlanhdr_to_ethhdr() 1652 if (0x8899 == pattrib->eth_type) { in wlanhdr_to_ethhdr() 1655 DBG_871X("wlan rx: got eth_type = 0x%x\n", pattrib->eth_type); in wlanhdr_to_ethhdr() 1688 eth_type = 0x8712; in wlanhdr_to_ethhdr()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 108 eth.eth_type = cpu_to_be16(0x8100); in set_av_attr() 115 eth.eth_type = cpu_to_be16(proto_num); in set_av_attr()
|
D | ocrdma_sli.h | 1896 __be16 eth_type; member 1902 __be16 eth_type; member
|
/drivers/staging/most/net/ |
D | net.c | 80 const u8 *eth_type = skb->data + 12; in skb_to_mamac() local 118 *buff++ = eth_type[0]; in skb_to_mamac() 119 *buff++ = eth_type[1]; in skb_to_mamac()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 1265 u16 eth_type, len; in wlanhdr_to_ethhdr() local 1298 eth_type = ntohs(be_tmp); /* pattrib->ether_type */ in wlanhdr_to_ethhdr() 1299 pattrib->eth_type = eth_type; in wlanhdr_to_ethhdr() 1493 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local 1568 eth_type = get_unaligned_be16(&sub_skb->data[6]); in amsdu_to_msdu() 1571 eth_type != ETH_P_AARP && eth_type != ETH_P_IPX) || in amsdu_to_msdu() 1738 if ((pattrib->qos != 1) || (pattrib->eth_type == 0x0806) || in recv_indicatepkt_reorder()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | os_intfs.c | 266 __be16 eth_type; in rtw_recv_select_queue() local 270 memcpy(ð_type, pdata + (ETH_ALEN << 1), 2); in rtw_recv_select_queue() 272 switch (eth_type) { in rtw_recv_select_queue()
|
/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 325 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local 380 eth_type = (sub_skb->data[6] << 8) | sub_skb->data[7]; in amsdu_to_msdu() 383 eth_type != ETH_P_AARP && eth_type != ETH_P_IPX) || in amsdu_to_msdu()
|
/drivers/staging/rtl8188eu/include/ |
D | rtw_recv.h | 109 u16 eth_type; member
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_iwarp.c | 1685 int eth_type; in qed_iwarp_parse_rx_pkt() local 1689 eth_type = ntohs(ethh->h_proto); in qed_iwarp_parse_rx_pkt() 1690 if (eth_type == ETH_P_8021Q) { in qed_iwarp_parse_rx_pkt() 1694 eth_type = ntohs(vethh->h_vlan_encapsulated_proto); in qed_iwarp_parse_rx_pkt() 1712 eth_type, ethh->h_source); in qed_iwarp_parse_rx_pkt() 1719 if (eth_type == ETH_P_IP) { in qed_iwarp_parse_rx_pkt() 1733 } else if (eth_type == ETH_P_IPV6) { in qed_iwarp_parse_rx_pkt() 1754 DP_NOTICE(p_hwfn, "Unexpected ethertype on ll2 %x\n", eth_type); in qed_iwarp_parse_rx_pkt()
|
/drivers/staging/rtl8723bs/include/ |
D | rtw_recv.h | 156 u16 eth_type; member
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1795 int eth_type; in t1_start_xmit() local 1800 eth_type = skb_network_offset(skb) == ETH_HLEN ? in t1_start_xmit() 1808 hdr->eth_type_mss = htons(MK_ETH_TYPE_MSS(eth_type, in t1_start_xmit()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 1198 int eth_type; in write_tx_pkt_wr() local 1204 eth_type = skb_network_offset(skb) == ETH_HLEN ? in write_tx_pkt_wr() 1206 tso_info |= V_LSO_ETH_TYPE(eth_type) | in write_tx_pkt_wr()
|
/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 2811 u16 eth_type; in bnxt_re_is_loopback_packet() local 2824 eth_type = ntohs(eth_hdr->h_proto); in bnxt_re_is_loopback_packet() 2825 switch (eth_type) { in bnxt_re_is_loopback_packet() 2834 len = (eth_type == ETH_P_IP ? sizeof(struct iphdr) : in bnxt_re_is_loopback_packet()
|
/drivers/infiniband/hw/mlx5/ |
D | main.c | 3132 u16 eth_type = 0; in is_valid_ethertype() local 3142 eth_type = ntohs(ib_spec->eth.val.ether_type); in is_valid_ethertype() 3152 ipv4_spec_valid = (eth_type == ETH_P_IP) && in is_valid_ethertype() 3154 ipv6_spec_valid = (eth_type == ETH_P_IPV6) && in is_valid_ethertype() 3158 (((eth_type == ETH_P_MPLS_UC) || in is_valid_ethertype() 3159 (eth_type == ETH_P_MPLS_MC)) && match_ipv); in is_valid_ethertype()
|