Home
last modified time | relevance | path

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

/drivers/net/ethernet/aquantia/atlantic/macsec/
A 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
A 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/
A 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/net/ethernet/rocker/
A Drocker_ofdpa.c47 __be16 eth_type; member
56 __be16 eth_type; member
80 __be16 eth_type; member
461 entry->key.acl.eth_type)) in ofdpa_cmd_flow_tbl_add_acl()
906 entry->key.term_mac.eth_type = eth_type; in ofdpa_flow_tbl_term_mac()
985 entry->key.ucast_routing.eth_type = eth_type; in ofdpa_flow_tbl_ucast4_routing()
1035 entry->key.acl.eth_type = eth_type; in ofdpa_flow_tbl_acl()
1331 eth_type, ip_addr, in ofdpa_port_ipv4_neigh()
1546 __be16 eth_type; member
1614 ctrl->eth_type, in ofdpa_port_ctrl_vlan_acl()
[all …]
/drivers/staging/rtl8723bs/os_dep/
A Drecv_linux.c54 u16 eth_type; in rtw_os_alloc_msdu_pkt() local
67 eth_type = get_unaligned_be16(&sub_skb->data[6]); in rtw_os_alloc_msdu_pkt()
71 eth_type != ETH_P_AARP && eth_type != ETH_P_IPX) || in rtw_os_alloc_msdu_pkt()
A Dos_intfs.c359 __be16 eth_type; in rtw_recv_select_queue() local
363 memcpy(&eth_type, pdata + (ETH_ALEN << 1), 2); in rtw_recv_select_queue()
365 switch (be16_to_cpu(eth_type)) { in rtw_recv_select_queue()
/drivers/net/wireless/ath/ath6kl/
A Dcommon.h67 __be16 eth_type; member
A 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()
A Dtxrx.c141 ether_type = be16_to_cpu(llc_hdr->eth_type); in ath6kl_process_uapsdq()
/drivers/infiniband/hw/ocrdma/
A 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()
A Docrdma_sli.h1896 __be16 eth_type; member
1902 __be16 eth_type; member
/drivers/net/wireless/ath/ath12k/
A Dwow.h32 __be16 eth_type; member
A Dwow.c164 size_t r1042_eth_ofs = offsetof(struct rfc1042_hdr, eth_type); in ath12k_wow_convert_8023_to_80211()
/drivers/staging/most/net/
A 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/rtl8723bs/core/
A Drtw_recv.c1480 u16 eth_type; in validate_recv_frame() local
1485 memcpy(&eth_type, ptr + pattrib->hdrlen + pattrib->iv_len + LLC_HEADER_LENGTH, 2); in validate_recv_frame()
1486 eth_type = ntohs((unsigned short) eth_type); in validate_recv_frame()
1503 u16 eth_type, len; in wlanhdr_to_ethhdr() local
1535 eth_type = ntohs(be_tmp); /* pattrib->ether_type */ in wlanhdr_to_ethhdr()
1536 pattrib->eth_type = eth_type; in wlanhdr_to_ethhdr()
1543 eth_type = 0x8712; in wlanhdr_to_ethhdr()
/drivers/net/ethernet/qlogic/qed/
A 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/
A Drtw_recv.h116 u16 eth_type; member
/drivers/infiniband/hw/mlx5/
A Dfs.c593 u16 eth_type = 0; in is_valid_ethertype() local
603 eth_type = ntohs(ib_spec->eth.val.ether_type); in is_valid_ethertype()
613 ipv4_spec_valid = (eth_type == ETH_P_IP) && in is_valid_ethertype()
615 ipv6_spec_valid = (eth_type == ETH_P_IPV6) && in is_valid_ethertype()
619 (((eth_type == ETH_P_MPLS_UC) || in is_valid_ethertype()
620 (eth_type == ETH_P_MPLS_MC)) && match_ipv); in is_valid_ethertype()
/drivers/net/ethernet/fungible/funcore/
A Dfun_hci.h1196 __be16 eth_type; member
1213 .eth_type = cpu_to_be16(_eth_type), .tci = cpu_to_be16(_tci), \
/drivers/net/ethernet/aquantia/atlantic/
A Daq_macsec.c702 pre_class_record.eth_type = ETH_P_MACSEC; in aq_set_rxsc()
1522 tx_ctlf_rec.eth_type = ctl_ether_types[index]; in aq_macsec_enable()
1530 rx_prectlf_rec.eth_type = ctl_ether_types[index]; in aq_macsec_enable()
/drivers/net/ethernet/chelsio/cxgb/
A Dsge.c1833 int eth_type; in t1_start_xmit() local
1838 eth_type = skb_network_offset(skb) == ETH_HLEN ? in t1_start_xmit()
1846 hdr->eth_type_mss = htons(MK_ETH_TYPE_MSS(eth_type, in t1_start_xmit()
/drivers/net/ethernet/chelsio/cxgb3/
A Dsge.c1195 int eth_type; in write_tx_pkt_wr() local
1201 eth_type = skb_network_offset(skb) == ETH_HLEN ? in write_tx_pkt_wr()
1203 tso_info |= V_LSO_ETH_TYPE(eth_type) | in write_tx_pkt_wr()
/drivers/infiniband/hw/bnxt_re/
A Dib_verbs.c3468 u16 eth_type; in bnxt_re_is_loopback_packet() local
3481 eth_type = ntohs(eth_hdr->h_proto); in bnxt_re_is_loopback_packet()
3482 switch (eth_type) { in bnxt_re_is_loopback_packet()
3491 len = (eth_type == ETH_P_IP ? sizeof(struct iphdr) : in bnxt_re_is_loopback_packet()

Completed in 876 milliseconds