Home
last modified time | relevance | path

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

12

/drivers/staging/r8188eu/hal/
Drtl8188eu_xmit.c236 if ((pattrib->ether_type != 0x888e) && in update_txdesc()
237 (pattrib->ether_type != 0x0806) && in update_txdesc()
238 (pattrib->ether_type != 0x88b4) && in update_txdesc()
344 (pxmitframe->attrib.ether_type != 0x0806) && in rtw_dump_xframe()
345 (pxmitframe->attrib.ether_type != 0x888e) && in rtw_dump_xframe()
346 (pxmitframe->attrib.ether_type != 0x88b4) && in rtw_dump_xframe()
563 if ((pfirstframe->attrib.ether_type != 0x0806) && in rtl8188eu_xmitframe_complete()
564 (pfirstframe->attrib.ether_type != 0x888e) && in rtl8188eu_xmitframe_complete()
565 (pfirstframe->attrib.ether_type != 0x88b4) && in rtl8188eu_xmitframe_complete()
/drivers/net/wireless/intel/ipw2x00/
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()
/drivers/firewire/
Dnet.c89 unsigned ether_type) in fwnet_make_uf_hdr() argument
92 | fwnet_set_hdr_ether_type(ether_type); in fwnet_make_uf_hdr()
96 unsigned ether_type, unsigned dg_size, unsigned dgl) in fwnet_make_ff_hdr() argument
100 | fwnet_set_hdr_ether_type(ether_type); in fwnet_make_ff_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()
512 if (dev_hard_header(skb, net, ether_type, in fwnet_finish_incoming_packet()
582 u16 ether_type; in fwnet_incoming_packet() local
595 ether_type = fwnet_get_hdr_ether_type(&hdr); in fwnet_incoming_packet()
[all …]
/drivers/net/ethernet/sfc/falcon/
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()
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()
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()
/drivers/net/ethernet/sfc/
Dfilter.h165 __be16 ether_type; member
214 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_local()
239 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_full()
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()
Drx_common.c660 if (spec->ether_type == htons(ETH_P_IP) && in efx_filter_is_mc_recipient()
663 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_filter_is_mc_recipient()
917 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
933 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
1005 req->spec.ether_type = fk.basic.n_proto; in efx_filter_rfs()
/drivers/staging/rtl8192e/
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()
/drivers/staging/rtl8192u/ieee80211/
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()
/drivers/staging/rtl8712/
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()
Drtl871x_xmit.c219 pattrib->ether_type = ntohs(etherhdr.h_proto); in r8712_update_attrib()
225 if (pattrib->ether_type == 0x0806) { in r8712_update_attrib()
250 if (pattrib->ether_type != 0x8712) in r8712_update_attrib()
263 if (pattrib->ether_type == ETH_P_IP) { in r8712_update_attrib()
273 if (pattrib->ether_type == ETH_P_IP) {/* IP header*/ in r8712_update_attrib()
326 if ((pattrib->ether_type != 0x888e) && in r8712_update_attrib()
633 if (pattrib->ether_type == 0x8712) { in r8712_xmitframe_coalesce()
681 llc_sz = r8712_put_snap(pframe, pattrib->ether_type); in r8712_xmitframe_coalesce()
Dxmit_linux.c75 if (pattrib->ether_type == 0x0800) { in r8712_set_qos()
85 if (pattrib->ether_type == 0x888e) in r8712_set_qos()
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()
/drivers/infiniband/hw/qedr/
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()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs_tt_redirect.h23 u32 tir_num, u16 ether_type);
Dfs_tt_redirect.c352 static void fs_any_set_ethertype_flow(struct mlx5_flow_spec *spec, u16 ether_type) in fs_any_set_ethertype_flow() argument
356 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ethertype, ether_type); in fs_any_set_ethertype_flow()
361 u32 tir_num, u16 ether_type) in mlx5e_fs_tt_redirect_any_add_rule() argument
378 fs_any_set_ethertype_flow(spec, ether_type); in mlx5e_fs_tt_redirect_any_add_rule()
/drivers/staging/r8188eu/core/
Drtw_xmit.c396 if (pattrib->ether_type == 0x0800) { in set_qos()
400 } else if (pattrib->ether_type == 0x888e) { in set_qos()
429 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib()
450 if (ETH_P_IP == pattrib->ether_type) { in update_attrib()
457 if (ETH_P_IP == pattrib->ether_type) {/* IP header */ in update_attrib()
467 } else if (0x888e == pattrib->ether_type) { in update_attrib()
471 if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib()
475 if ((pattrib->ether_type == 0x0806) || (pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib()
527 if ((pattrib->ether_type != 0x888e) && !check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in update_attrib()
987 llc_sz = rtw_put_snap(pframe, pattrib->ether_type); in rtw_xmitframe_coalesce()
/drivers/staging/rtl8723bs/core/
Drtw_xmit.c477 if ((pattrib->ether_type != 0x888e) && (check_fwstate(pmlmepriv, WIFI_MP_STATE) == false)) { in update_attrib_sec_info()
502 …if (((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) && (pattrib->ether_type == 0… in update_attrib_sec_info()
602 if (pattrib->ether_type == 0x0800) { in set_qos()
626 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib()
645 if (pattrib->ether_type == ETH_P_IP) { in update_attrib()
655 if (pattrib->ether_type == ETH_P_IP) {/* IP header */ in update_attrib()
673 } else if (pattrib->ether_type == 0x888e) { in update_attrib()
677 if ((pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1)) in update_attrib()
1074 llc_sz = rtw_put_snap(pframe, pattrib->ether_type); in rtw_xmitframe_coalesce()
1989 if (attrib->ether_type == 0x0806 || in xmitframe_hiq_filter()
[all …]
/drivers/net/wireless/realtek/rtlwifi/
Dbase.c1500 u16 ether_type; in rtl_is_special_data() local
1508 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_special_data()
1510 if (ETH_P_IP == ether_type) { in rtl_is_special_data()
1534 } else if (ETH_P_ARP == ether_type) { in rtl_is_special_data()
1539 } else if (ETH_P_PAE == ether_type) { in rtl_is_special_data()
1556 } else if (ETH_P_IPV6 == ether_type) { in rtl_is_special_data()
1600 u16 ether_type; in rtl_is_tx_report_skb() local
1605 ether_type = be16_to_cpup((__be16 *)ether_type_ptr); in rtl_is_tx_report_skb()
1607 if (ether_type == ETH_P_PAE || ieee80211_is_nullfunc(fc)) in rtl_is_tx_report_skb()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.h24 __be16 ether_type; member
/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c502 (pxmitframe->attrib.ether_type != 0x0806) && in rtl8723bs_hal_xmit()
503 (pxmitframe->attrib.ether_type != 0x888e) && in rtl8723bs_hal_xmit()
/drivers/net/ethernet/intel/ice/
Dice_fdir.h152 __be16 ether_type; /* for NON_IP_L2 */ member
/drivers/net/wireless/ath/ath6kl/
Dtxrx.c111 u16 ether_type; in ath6kl_process_uapsdq() local
133 ether_type = be16_to_cpu(datap->h_proto); in ath6kl_process_uapsdq()
134 if (is_ethertype(ether_type)) { in ath6kl_process_uapsdq()
141 ether_type = be16_to_cpu(llc_hdr->eth_type); in ath6kl_process_uapsdq()
145 if (ether_type == IP_ETHERTYPE) in ath6kl_process_uapsdq()

12