Home
last modified time | relevance | path

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

/drivers/net/ethernet/aquantia/atlantic/macsec/
Dmacsec_struct.h20 u32 eth_type; member
67 u32 eth_type; member
328 u32 eth_type; member
366 u32 eth_type; member
590 u32 eth_type; member
678 u32 eth_type; member
Dmacsec_api.c276 packed_record[3] = rec->eth_type & 0xFFFF; in set_ingress_prectlf_record()
329 rec->eth_type = packed_record[3]; in get_ingress_prectlf_record()
372 packed_record[5] = rec->eth_type & 0xFFFF; in set_ingress_preclass_record()
486 rec->eth_type = packed_record[5]; in get_ingress_preclass_record()
887 packed_record[2] = rec->eth_type & 0xFFFF; in set_ingress_postclass_record()
991 rec->eth_type = packed_record[2]; in get_ingress_postclass_record()
1076 packed_record[3] = rec->eth_type & 0xFFFF; in set_ingress_postctlf_record()
1130 rec->eth_type = packed_record[3]; in get_ingress_postctlf_record()
1167 packed_record[3] = rec->eth_type & 0xFFFF; in set_egress_ctlf_record()
1217 rec->eth_type = packed_record[3]; in get_egress_ctlf_record()
[all …]
/drivers/net/ethernet/marvell/prestera/
Dprestera_ethtool.c228 u8 eth_type; member
232 .eth_type = PORT_NONE,
236 .eth_type = PORT_TP,
240 .eth_type = PORT_AUI,
244 .eth_type = PORT_MII,
248 .eth_type = PORT_FIBRE,
252 .eth_type = PORT_BNC,
256 .eth_type = PORT_TP,
260 .eth_type = PORT_OTHER,
316 return port_types[port->caps.type].eth_type; in prestera_port_type_get()
[all …]
/drivers/staging/rtl8723bs/os_dep/
Drecv_linux.c58 u16 eth_type; in rtw_os_alloc_msdu_pkt() local
73 eth_type = get_unaligned_be16(&sub_skb->data[6]); in rtw_os_alloc_msdu_pkt()
77 eth_type != ETH_P_AARP && eth_type != ETH_P_IPX) || in rtw_os_alloc_msdu_pkt()
216 DBG_871X("eth rx: got eth_type = 0x%x\n", pattrib->eth_type); in rtw_os_ksocket_send()
273 if (0x8899 == pattrib->eth_type) { in rtw_recv_indicatepkt()
Dos_intfs.c396 __be16 eth_type; in rtw_recv_select_queue() local
400 memcpy(&eth_type, pdata + (ETH_ALEN << 1), 2); in rtw_recv_select_queue()
402 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/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/rtl8723bs/core/
Drtw_recv.c1575 u16 eth_type; in validate_recv_frame() local
1580 memcpy(&eth_type, ptr + pattrib->hdrlen + pattrib->iv_len + LLC_HEADER_SIZE, 2); in validate_recv_frame()
1581 eth_type = ntohs((unsigned short) eth_type); in validate_recv_frame()
1582 if ((bDumpRxPkt == 4) && (eth_type == 0x888e)) in validate_recv_frame()
1608 u16 eth_type, len; in wlanhdr_to_ethhdr() local
1643 eth_type = ntohs(be_tmp); /* pattrib->ether_type */ in wlanhdr_to_ethhdr()
1644 pattrib->eth_type = eth_type; in wlanhdr_to_ethhdr()
1647 if (0x8899 == pattrib->eth_type) { in wlanhdr_to_ethhdr()
1650 DBG_871X("wlan rx: got eth_type = 0x%x\n", pattrib->eth_type); in wlanhdr_to_ethhdr()
1683 eth_type = 0x8712; in wlanhdr_to_ethhdr()
/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.c1256 u16 eth_type, len; in wlanhdr_to_ethhdr() local
1289 eth_type = ntohs(be_tmp); /* pattrib->ether_type */ in wlanhdr_to_ethhdr()
1290 pattrib->eth_type = eth_type; in wlanhdr_to_ethhdr()
1484 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local
1552 eth_type = get_unaligned_be16(&sub_skb->data[6]); in amsdu_to_msdu()
1555 eth_type != ETH_P_AARP && eth_type != ETH_P_IPX) || in amsdu_to_msdu()
1722 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.c316 u16 eth_type, nSubframe_Length; in amsdu_to_msdu() local
371 eth_type = (sub_skb->data[6] << 8) | sub_skb->data[7]; in amsdu_to_msdu()
374 eth_type != ETH_P_AARP && eth_type != ETH_P_IPX) || in amsdu_to_msdu()
/drivers/staging/rtl8188eu/include/
Drtw_recv.h110 u16 eth_type; member
/drivers/infiniband/hw/mlx5/
Dfs.c645 u16 eth_type = 0; in is_valid_ethertype() local
655 eth_type = ntohs(ib_spec->eth.val.ether_type); in is_valid_ethertype()
665 ipv4_spec_valid = (eth_type == ETH_P_IP) && in is_valid_ethertype()
667 ipv6_spec_valid = (eth_type == ETH_P_IPV6) && in is_valid_ethertype()
671 (((eth_type == ETH_P_MPLS_UC) || in is_valid_ethertype()
672 (eth_type == ETH_P_MPLS_MC)) && match_ipv); in is_valid_ethertype()
/drivers/net/ethernet/qlogic/qed/
Dqed_iwarp.c1683 int eth_type; in qed_iwarp_parse_rx_pkt() local
1687 eth_type = ntohs(ethh->h_proto); in qed_iwarp_parse_rx_pkt()
1688 if (eth_type == ETH_P_8021Q) { in qed_iwarp_parse_rx_pkt()
1692 eth_type = ntohs(vethh->h_vlan_encapsulated_proto); in qed_iwarp_parse_rx_pkt()
1710 eth_type, ethh->h_source); in qed_iwarp_parse_rx_pkt()
1717 if (eth_type == ETH_P_IP) { in qed_iwarp_parse_rx_pkt()
1731 } else if (eth_type == ETH_P_IPV6) { in qed_iwarp_parse_rx_pkt()
1752 DP_NOTICE(p_hwfn, "Unexpected ethertype on ll2 %x\n", eth_type); in qed_iwarp_parse_rx_pkt()
/drivers/staging/rtl8723bs/include/
Drtw_recv.h152 u16 eth_type; member
/drivers/net/ethernet/chelsio/cxgb/
Dsge.c1803 int eth_type; in t1_start_xmit() local
1808 eth_type = skb_network_offset(skb) == ETH_HLEN ? in t1_start_xmit()
1816 hdr->eth_type_mss = htons(MK_ETH_TYPE_MSS(eth_type, in t1_start_xmit()
/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c726 pre_class_record.eth_type = ETH_P_MACSEC; in aq_set_rxsc()
1579 tx_ctlf_rec.eth_type = ctl_ether_types[index]; in aq_macsec_enable()
1587 rx_prectlf_rec.eth_type = ctl_ether_types[index]; in aq_macsec_enable()
/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c1200 int eth_type; in write_tx_pkt_wr() local
1206 eth_type = skb_network_offset(skb) == ETH_HLEN ? in write_tx_pkt_wr()
1208 tso_info |= V_LSO_ETH_TYPE(eth_type) | in write_tx_pkt_wr()
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c3096 u16 eth_type; in bnxt_re_is_loopback_packet() local
3109 eth_type = ntohs(eth_hdr->h_proto); in bnxt_re_is_loopback_packet()
3110 switch (eth_type) { in bnxt_re_is_loopback_packet()
3119 len = (eth_type == ETH_P_IP ? sizeof(struct iphdr) : in bnxt_re_is_loopback_packet()