Home
last modified time | relevance | path

Searched refs:etherhdr (Results 1 – 25 of 63) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/staging/rtl8712/
H A Dxmit_linux.c68 struct ethhdr etherhdr; in r8712_set_qos() local
73 _r8712_pktfile_read(ppktfile, (unsigned char *)&etherhdr, ETH_HLEN); in r8712_set_qos()
H A Drtl871x_xmit.c180 struct ethhdr etherhdr; in r8712_update_attrib() local
192 _r8712_pktfile_read(&pktfile, (unsigned char *)&etherhdr, ETH_HLEN); in r8712_update_attrib()
194 pattrib->ether_type = ntohs(etherhdr.h_proto); in r8712_update_attrib()
210 memcpy(pattrib->dst, &etherhdr.h_dest, ETH_ALEN); in r8712_update_attrib()
211 memcpy(pattrib->src, &etherhdr.h_source, ETH_ALEN); in r8712_update_attrib()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/mesh/
H A Drtw_mesh.c3345 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3358 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3368 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3373 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3386 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3394 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3395 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3397 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3400 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3402 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/mesh/
H A Drtw_mesh.c3366 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3379 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3389 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3394 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3407 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3415 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3416 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3418 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3421 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3423 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/mesh/
H A Drtw_mesh.c3345 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3358 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3368 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3373 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3386 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3394 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3395 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3397 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3400 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3402 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/mesh/
H A Drtw_mesh.c3345 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3358 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3368 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3373 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3386 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3394 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3395 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3397 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3400 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3402 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/mesh/
H A Drtw_mesh.c3620 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3633 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3643 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3648 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3661 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3669 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3670 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3672 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3675 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3677 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/mesh/
H A Drtw_mesh.c3636 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3649 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3659 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3664 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3677 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3685 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3686 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3688 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3691 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3693 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/mesh/
H A Drtw_mesh.c3636 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3649 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3659 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3664 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3677 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3685 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3686 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3688 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3691 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3693 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/mesh/
H A Drtw_mesh.c3636 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3649 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3659 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3664 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3677 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3685 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3686 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3688 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3691 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3693 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/mesh/
H A Drtw_mesh.c3636 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3649 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3659 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3664 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3677 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3685 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3686 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3688 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3691 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3693 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/mesh/
H A Drtw_mesh.c3637 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3650 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3660 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3665 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3678 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3686 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3687 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3689 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3692 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3694 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/mesh/
H A Drtw_mesh.c3637 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3650 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3660 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3665 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3678 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3686 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3687 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3689 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3692 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3694 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/mesh/
H A Drtw_mesh.c3636 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3649 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3659 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3664 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3677 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3685 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3686 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3688 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3691 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3693 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/mesh/
H A Drtw_mesh.c3636 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3649 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3659 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3664 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3677 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3685 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3686 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3688 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3691 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3693 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/mesh/
H A Drtw_mesh.c3620 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local
3633 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_mesh_addr_resolve()
3643 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_mesh_addr_resolve()
3648 mpath = rtw_mesh_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3661 mppath = rtw_mpp_path_lookup(adapter, etherhdr.h_dest); in rtw_mesh_addr_resolve()
3669 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE in rtw_mesh_addr_resolve()
3670 || (mppath && _rtw_memcmp(mppath->mpp, etherhdr.h_dest, ETH_ALEN) == _FALSE); in rtw_mesh_addr_resolve()
3672 ae_need = _rtw_memcmp(adapter_mac_addr(adapter), etherhdr.h_source, ETH_ALEN) == _FALSE; in rtw_mesh_addr_resolve()
3675 if (rtw_msrc_b2u_policy_chk(adapter->mesh_cfg.b2u_flags_msrc, etherhdr.h_dest)) { in rtw_mesh_addr_resolve()
3677 , etherhdr.h_dest, etherhdr.h_source in rtw_mesh_addr_resolve()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/
H A Drtw_xmit.c630 struct ethhdr etherhdr; in set_qos() local
635 _rtw_pktfile_read(ppktfile, (unsigned char *)&etherhdr, ETH_HLEN); in set_qos()
651 struct ethhdr etherhdr; in update_attrib() local
662 _rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN); in update_attrib()
664 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib()
666 memcpy(pattrib->dst, &etherhdr.h_dest, ETH_ALEN); in update_attrib()
667 memcpy(pattrib->src, &etherhdr.h_source, ETH_ALEN); in update_attrib()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/
H A Drtw_xmit.c396 struct ethhdr etherhdr; in update_attrib() local
405 skb_copy_bits(pkt, 0, &etherhdr, ETH_HLEN); in update_attrib()
407 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib()
409 memcpy(pattrib->dst, &etherhdr.h_dest, ETH_ALEN); in update_attrib()
410 memcpy(pattrib->src, &etherhdr.h_source, ETH_ALEN); in update_attrib()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/
H A Drecv_linux.c708 struct ethhdr *etherhdr = (struct ethhdr *)pkt->data; in rtw_recv_indicatepkt() local
714 if (ntohs(etherhdr->h_proto) == ETH_P_IP) { in rtw_recv_indicatepkt()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/
H A Drtw_xmit.c1661 struct ethhdr etherhdr;
1665 _rtw_pktfile_read(&ppktfile, (unsigned char *)&etherhdr, ETH_HLEN);
1697 struct ethhdr etherhdr; in set_qos() local
1701 _rtw_pktfile_read(&ppktfile, (unsigned char *)&etherhdr, ETH_HLEN); in set_qos()
1848 struct ethhdr etherhdr;
1867 i = _rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN);
1869 pxframe->attrib.ether_type = ntohs(etherhdr.h_proto);
1874 _rtw_memcpy(pxframe->attrib.dst, &etherhdr.h_dest, ETH_ALEN);
1875 _rtw_memcpy(pxframe->attrib.src, &etherhdr.h_source, ETH_ALEN);
2022 dump_arp_pkt(RTW_DBGDUMP, etherhdr.h_dest, etherhdr.h_source, arp, 1);
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/
H A Drtw_xmit.c1656 struct ethhdr etherhdr;
1660 _rtw_pktfile_read(&ppktfile, (unsigned char *)&etherhdr, ETH_HLEN);
1692 struct ethhdr etherhdr; in set_qos() local
1696 _rtw_pktfile_read(&ppktfile, (unsigned char *)&etherhdr, ETH_HLEN); in set_qos()
1843 struct ethhdr etherhdr;
1862 i = _rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN);
1864 pxframe->attrib.ether_type = ntohs(etherhdr.h_proto);
1869 _rtw_memcpy(pxframe->attrib.dst, &etherhdr.h_dest, ETH_ALEN);
1870 _rtw_memcpy(pxframe->attrib.src, &etherhdr.h_source, ETH_ALEN);
2017 dump_arp_pkt(RTW_DBGDUMP, etherhdr.h_dest, etherhdr.h_source, arp, 1);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/os_dep/linux/
H A Drecv_linux.c786 struct ethhdr *etherhdr = (struct ethhdr *)pkt->data; in rtw_recv_indicatepkt() local
792 if (ntohs(etherhdr->h_proto) == ETH_P_IP) { in rtw_recv_indicatepkt()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/
H A Drecv_linux.c711 struct ethhdr *etherhdr = (struct ethhdr *)pkt->data; in rtw_recv_indicatepkt() local
717 if (ntohs(etherhdr->h_proto) == ETH_P_IP) { in rtw_recv_indicatepkt()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/
H A Drtw_xmit.c884 struct ethhdr etherhdr; in set_qos() local
890 _rtw_pktfile_read(ppktfile, (unsigned char*)&etherhdr, ETH_HLEN); in set_qos()
1012 struct ethhdr etherhdr; in update_attrib() local
1027 i = _rtw_pktfile_read(&pktfile, (u8*)&etherhdr, ETH_HLEN); in update_attrib()
1029 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib()
1032 _rtw_memcpy(pattrib->dst, &etherhdr.h_dest, ETH_ALEN); in update_attrib()
1033 _rtw_memcpy(pattrib->src, &etherhdr.h_source, ETH_ALEN); in update_attrib()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/
H A Drtw_ap.c5891 struct ethhdr etherhdr; in rtw_ap_addr_resolve() local
5899 if (_rtw_pktfile_read(&pktfile, (u8 *)&etherhdr, ETH_HLEN) != ETH_HLEN) { in rtw_ap_addr_resolve()
5909 is_da_mcast = IS_MCAST(etherhdr.h_dest); in rtw_ap_addr_resolve()
5912 if (rtw_ap_src_b2u_policy_chk(adapter->b2u_flags_ap_src, etherhdr.h_dest) in rtw_ap_addr_resolve()
5917 , etherhdr.h_dest, etherhdr.h_source, NULL, os_qid, f_list) == 0 in rtw_ap_addr_resolve()
5928 _rtw_memcpy(attrib->dst, etherhdr.h_dest, ETH_ALEN); in rtw_ap_addr_resolve()
5929 _rtw_memcpy(attrib->src, etherhdr.h_source, ETH_ALEN); in rtw_ap_addr_resolve()
5940 , etherhdr.h_dest, etherhdr.h_source, NULL, os_qid, f_list); in rtw_ap_addr_resolve()

123