Home
last modified time | relevance | path

Searched refs:ether_type (Results 1 – 25 of 56) sorted by relevance

123

/linux/arch/m68k/mac/
A Dconfig.c392 .ether_type = MAC_ETHER_SONIC,
412 .ether_type = MAC_ETHER_SONIC,
424 .ether_type = MAC_ETHER_SONIC,
434 .ether_type = MAC_ETHER_SONIC,
444 .ether_type = MAC_ETHER_MACE,
454 .ether_type = MAC_ETHER_SONIC,
464 .ether_type = MAC_ETHER_SONIC,
570 .ether_type = MAC_ETHER_SONIC,
580 .ether_type = MAC_ETHER_SONIC,
590 .ether_type = MAC_ETHER_MACE,
[all …]
/linux/drivers/staging/r8188eu/hal/
A Drtl8188eu_xmit.c213 if ((pattrib->ether_type != 0x888e) && in update_txdesc()
214 (pattrib->ether_type != 0x0806) && in update_txdesc()
215 (pattrib->ether_type != 0x88b4) && in update_txdesc()
318 (pxmitframe->attrib.ether_type != 0x0806) && in rtw_dump_xframe()
319 (pxmitframe->attrib.ether_type != 0x888e) && in rtw_dump_xframe()
320 (pxmitframe->attrib.ether_type != 0x88b4) && in rtw_dump_xframe()
533 if ((pfirstframe->attrib.ether_type != 0x0806) && in rtl8188eu_xmitframe_complete()
534 (pfirstframe->attrib.ether_type != 0x888e) && in rtl8188eu_xmitframe_complete()
535 (pfirstframe->attrib.ether_type != 0x88b4) && in rtl8188eu_xmitframe_complete()
/linux/drivers/net/wireless/intel/ipw2x00/
A Dlibipw_tx.c250 __be16 ether_type; in libipw_xmit() local
281 ether_type = ((struct ethhdr *)skb->data)->h_proto; in libipw_xmit()
285 encrypt = !(ether_type == htons(ETH_P_PAE) && ieee->ieee802_1x) && in libipw_xmit()
292 ieee->drop_unencrypted && ether_type != htons(ETH_P_PAE)) { in libipw_xmit()
351 ether_type); in libipw_xmit()
474 ether_type); in libipw_xmit()
/linux/drivers/firewire/
A Dnet.c89 unsigned ether_type) in fwnet_make_uf_hdr() argument
92 | fwnet_set_hdr_ether_type(ether_type); in fwnet_make_uf_hdr()
127 u16 ether_type; member
489 bool is_broadcast, u16 ether_type) in fwnet_finish_incoming_packet() argument
493 switch (ether_type) { in fwnet_finish_incoming_packet()
580 u16 ether_type; in fwnet_incoming_packet() local
607 is_broadcast, ether_type); in fwnet_incoming_packet()
622 ether_type = 0; in fwnet_incoming_packet()
685 pd->ether_type = ether_type; in fwnet_incoming_packet()
688 ether_type = pd->ether_type; in fwnet_incoming_packet()
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
A Dfilter.h138 __be16 ether_type; member
187 spec->ether_type = htons(ETH_P_IP); in ef4_filter_set_ipv4_local()
212 spec->ether_type = htons(ETH_P_IP); in ef4_filter_set_ipv4_full()
A Dethtool.c813 spec.ether_type == htons(ETH_P_IP) && in ef4_ethtool_get_class_rule()
840 spec.ether_type == htons(ETH_P_IPV6) && in ef4_ethtool_get_class_rule()
887 mac_entry->h_proto = spec.ether_type; in ef4_ethtool_get_class_rule()
891 spec.ether_type == htons(ETH_P_IP) && in ef4_ethtool_get_class_rule()
911 spec.ether_type == htons(ETH_P_IPV6) && in ef4_ethtool_get_class_rule()
1063 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule()
1098 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule()
1134 spec.ether_type = htons(ETH_P_IP); in ef4_ethtool_set_class_rule()
1159 spec.ether_type = htons(ETH_P_IPV6); in ef4_ethtool_set_class_rule()
1201 spec.ether_type = mac_entry->h_proto; in ef4_ethtool_set_class_rule()
A Drx.c867 spec.ether_type = fk.basic.n_proto; in ef4_filter_rfs()
890 if (spec.ether_type == htons(ETH_P_IP)) in ef4_filter_rfs()
968 if (spec->ether_type == htons(ETH_P_IP) && in ef4_filter_is_mc_recipient()
971 if (spec->ether_type == htons(ETH_P_IPV6) && in ef4_filter_is_mc_recipient()
/linux/drivers/net/ethernet/sfc/
A Dfilter.h164 __be16 ether_type; member
213 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_local()
238 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_full()
A Dethtool_common.c671 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule()
698 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule()
745 mac_entry->h_proto = spec.ether_type; in efx_ethtool_get_class_rule()
749 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule()
769 spec.ether_type == htons(ETH_P_IPV6) && in efx_ethtool_get_class_rule()
966 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
1001 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1037 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
1062 spec.ether_type = htons(ETH_P_IPV6); in efx_ethtool_set_class_rule()
1104 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
A Drx_common.c657 if (spec->ether_type == htons(ETH_P_IP) && in efx_filter_is_mc_recipient()
660 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_filter_is_mc_recipient()
912 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
928 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
1000 req->spec.ether_type = fk.basic.n_proto; in efx_filter_rfs()
/linux/drivers/staging/rtl8192e/
A Drtllib_tx.c557 int ether_type = 0, encrypt; in rtllib_xmit_inter() local
599 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in rtllib_xmit_inter()
617 if (ether_type == ETH_P_IP) { in rtllib_xmit_inter()
633 } else if (ether_type == ETH_P_ARP) { in rtllib_xmit_inter()
644 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && in rtllib_xmit_inter()
647 ieee->drop_unencrypted && ether_type != ETH_P_PAE) { in rtllib_xmit_inter()
651 if (crypt && !encrypt && ether_type == ETH_P_PAE) { in rtllib_xmit_inter()
832 sizeof(u16)), ether_type); in rtllib_xmit_inter()
889 if (ether_type == ETH_P_PAE) { in rtllib_xmit_inter()
/linux/drivers/staging/rtl8192u/ieee80211/
A Dieee80211_tx.c537 int ether_type = 0, encrypt; in ieee80211_xmit() local
572 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in ieee80211_xmit()
576 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && in ieee80211_xmit()
580 ieee->drop_unencrypted && ether_type != ETH_P_PAE) { in ieee80211_xmit()
585 if (crypt && !encrypt && ether_type == ETH_P_PAE) { in ieee80211_xmit()
747 ether_type); in ieee80211_xmit()
/linux/drivers/staging/rtl8712/
A Drtl8712_xmit.c293 if (pxmitframe->attrib.ether_type != 0x0806) { in r8712_append_mpdu_unit()
294 if ((pxmitframe->attrib.ether_type != 0x888e) && in r8712_append_mpdu_unit()
518 if ((pattrib->ether_type != 0x888e) && in update_txdesc()
519 (pattrib->ether_type != 0x0806) && in update_txdesc()
696 if (pxmitframe->attrib.ether_type != 0x0806) { in dump_xframe()
697 if (pxmitframe->attrib.ether_type != 0x888e) in dump_xframe()
A Dxmit_linux.c75 if (pattrib->ether_type == 0x0800) { in r8712_set_qos()
85 if (pattrib->ether_type == 0x888e) in r8712_set_qos()
A Drtl871x_xmit.c194 pattrib->ether_type = ntohs(etherhdr.h_proto); in r8712_update_attrib()
200 if (pattrib->ether_type == 0x0806) { in r8712_update_attrib()
225 if (pattrib->ether_type != 0x8712) in r8712_update_attrib()
238 if (pattrib->ether_type == ETH_P_IP) { in r8712_update_attrib()
248 if (pattrib->ether_type == ETH_P_IP) {/* IP header*/ in r8712_update_attrib()
301 if ((pattrib->ether_type != 0x888e) && in r8712_update_attrib()
608 if (pattrib->ether_type == 0x8712) { in r8712_xmitframe_coalesce()
656 llc_sz = r8712_put_snap(pframe, pattrib->ether_type); in r8712_xmitframe_coalesce()
A Drtl871x_recv.c234 u16 ether_type; in r8712_portctrl() local
245 ether_type = get_unaligned_be16(ptr); in r8712_portctrl()
251 if (ether_type == 0x888e) { in r8712_portctrl()
266 if (ether_type == 0x888e) { in r8712_portctrl()
/linux/drivers/infiniband/hw/qedr/
A Dqedr_roce_cm.c392 u16 ether_type; in qedr_gsi_build_header() local
413 ether_type = ETH_P_IBOE; in qedr_gsi_build_header()
418 ether_type = ETH_P_IP; in qedr_gsi_build_header()
424 ether_type = ETH_P_IPV6; in qedr_gsi_build_header()
441 udh->vlan.type = htons(ether_type); in qedr_gsi_build_header()
443 udh->eth.type = htons(ether_type); in qedr_gsi_build_header()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dfs_tt_redirect.h23 u32 tir_num, u16 ether_type);
A Dfs_tt_redirect.c351 static void fs_any_set_ethertype_flow(struct mlx5_flow_spec *spec, u16 ether_type) in fs_any_set_ethertype_flow() argument
355 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ethertype, ether_type); in fs_any_set_ethertype_flow()
360 u32 tir_num, u16 ether_type) in mlx5e_fs_tt_redirect_any_add_rule() argument
377 fs_any_set_ethertype_flow(spec, ether_type); in mlx5e_fs_tt_redirect_any_add_rule()
/linux/drivers/staging/r8188eu/core/
A Drtw_xmit.c392 if (pattrib->ether_type == 0x0800) { in set_qos()
396 } else if (pattrib->ether_type == 0x888e) { in set_qos()
425 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib()
446 if (ETH_P_IP == pattrib->ether_type) { in update_attrib()
453 if (ETH_P_IP == pattrib->ether_type) {/* IP header */ in update_attrib()
463 } else if (0x888e == pattrib->ether_type) { in update_attrib()
467 if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib()
471 if ((pattrib->ether_type == 0x0806) || (pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib()
523 if ((pattrib->ether_type != 0x888e) && !check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in update_attrib()
963 llc_sz = rtw_put_snap(pframe, pattrib->ether_type); in rtw_xmitframe_coalesce()
/linux/arch/m68k/include/asm/
A Dmacintosh.h40 char ether_type; member
/linux/drivers/staging/rtl8723bs/core/
A Drtw_xmit.c488 if ((pattrib->ether_type != 0x888e) && (check_fwstate(pmlmepriv, WIFI_MP_STATE) == false)) { in update_attrib_sec_info()
513 …if (((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) && (pattrib->ether_type == 0… in update_attrib_sec_info()
613 if (pattrib->ether_type == 0x0800) { in set_qos()
637 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib()
656 if (pattrib->ether_type == ETH_P_IP) { in update_attrib()
666 if (pattrib->ether_type == ETH_P_IP) {/* IP header */ in update_attrib()
684 } else if (pattrib->ether_type == 0x888e) { in update_attrib()
688 if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib()
1085 llc_sz = rtw_put_snap(pframe, pattrib->ether_type); in rtw_xmitframe_coalesce()
2000 if (attrib->ether_type == 0x0806 || in xmitframe_hiq_filter()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/
A Dbase.c1499 u16 ether_type; in rtl_is_special_data() local
1507 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_special_data()
1509 if (ETH_P_IP == ether_type) { in rtl_is_special_data()
1533 } else if (ETH_P_ARP == ether_type) { in rtl_is_special_data()
1538 } else if (ETH_P_PAE == ether_type) { in rtl_is_special_data()
1555 } else if (ETH_P_IPV6 == ether_type) { in rtl_is_special_data()
1599 u16 ether_type; in rtl_is_tx_report_skb() local
1604 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_tx_report_skb()
1606 if (ether_type == ETH_P_PAE || ieee80211_is_nullfunc(fc)) in rtl_is_tx_report_skb()
/linux/drivers/staging/rtl8723bs/hal/
A Drtl8723bs_xmit.c502 (pxmitframe->attrib.ether_type != 0x0806) && in rtl8723bs_hal_xmit()
503 (pxmitframe->attrib.ether_type != 0x888e) && in rtl8723bs_hal_xmit()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_tc.h24 __be16 ether_type; member

Completed in 59 milliseconds

123