Home
last modified time | relevance | path

Searched refs:eth_type (Results 1 – 20 of 20) sorted by relevance

/drivers/staging/rtl8723bs/os_dep/
Drecv_linux.c55 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()
Dos_intfs.c416 __be16 eth_type; in rtw_recv_select_queue() local
420 memcpy(&eth_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/
Drocker_ofdpa.c47 __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/
Dcommon.h67 __be16 eth_type; member
Dwmi.c201 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()
Dtxrx.c141 ether_type = be16_to_cpu(llc_hdr->eth_type); in ath6kl_process_uapsdq()
/drivers/staging/rtl8723bs/core/
Drtw_recv.c1580 u16 eth_type; in validate_recv_frame() local
1585 memcpy(&eth_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/
Docrdma_ah.c108 eth.eth_type = cpu_to_be16(0x8100); in set_av_attr()
115 eth.eth_type = cpu_to_be16(proto_num); in set_av_attr()
Docrdma_sli.h1896 __be16 eth_type; member
1902 __be16 eth_type; member
/drivers/staging/most/net/
Dnet.c80 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/
Drtw_recv.c1265 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/
Dos_intfs.c266 __be16 eth_type; in rtw_recv_select_queue() local
270 memcpy(&eth_type, pdata + (ETH_ALEN << 1), 2); in rtw_recv_select_queue()
272 switch (eth_type) { in rtw_recv_select_queue()
/drivers/staging/rtl8712/
Drtl8712_recv.c325 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/
Drtw_recv.h109 u16 eth_type; member
/drivers/net/ethernet/qlogic/qed/
Dqed_iwarp.c1685 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/
Drtw_recv.h156 u16 eth_type; member
/drivers/net/ethernet/chelsio/cxgb/
Dsge.c1795 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/
Dsge.c1198 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/
Dib_verbs.c2811 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/
Dmain.c3132 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()