| /OK3568_Linux_fs/kernel/drivers/staging/rtl8712/ |
| H A D | xmit_linux.c | 68 struct ethhdr etherhdr; in r8712_set_qos() local 73 _r8712_pktfile_read(ppktfile, (unsigned char *)ðerhdr, ETH_HLEN); in r8712_set_qos()
|
| H A D | rtl871x_xmit.c | 180 struct ethhdr etherhdr; in r8712_update_attrib() local 192 _r8712_pktfile_read(&pktfile, (unsigned char *)ðerhdr, ETH_HLEN); in r8712_update_attrib() 194 pattrib->ether_type = ntohs(etherhdr.h_proto); in r8712_update_attrib() 210 memcpy(pattrib->dst, ðerhdr.h_dest, ETH_ALEN); in r8712_update_attrib() 211 memcpy(pattrib->src, ðerhdr.h_source, ETH_ALEN); in r8712_update_attrib()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/mesh/ |
| H A D | rtw_mesh.c | 3345 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3358 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_mesh.c | 3366 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3379 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_mesh.c | 3345 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3358 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_mesh.c | 3345 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3358 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_mesh.c | 3620 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3633 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_mesh.c | 3636 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3649 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_mesh.c | 3636 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3649 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_mesh.c | 3636 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3649 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_mesh.c | 3636 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3649 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_mesh.c | 3637 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3650 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_mesh.c | 3637 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3650 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_mesh.c | 3636 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3649 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_mesh.c | 3636 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3649 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_mesh.c | 3620 struct ethhdr etherhdr; in rtw_mesh_addr_resolve() local 3633 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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 D | rtw_xmit.c | 630 struct ethhdr etherhdr; in set_qos() local 635 _rtw_pktfile_read(ppktfile, (unsigned char *)ðerhdr, ETH_HLEN); in set_qos() 651 struct ethhdr etherhdr; in update_attrib() local 662 _rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, ETH_HLEN); in update_attrib() 664 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib() 666 memcpy(pattrib->dst, ðerhdr.h_dest, ETH_ALEN); in update_attrib() 667 memcpy(pattrib->src, ðerhdr.h_source, ETH_ALEN); in update_attrib()
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/ |
| H A D | rtw_xmit.c | 396 struct ethhdr etherhdr; in update_attrib() local 405 skb_copy_bits(pkt, 0, ðerhdr, ETH_HLEN); in update_attrib() 407 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib() 409 memcpy(pattrib->dst, ðerhdr.h_dest, ETH_ALEN); in update_attrib() 410 memcpy(pattrib->src, ðerhdr.h_source, ETH_ALEN); in update_attrib()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/ |
| H A D | recv_linux.c | 708 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 D | rtw_xmit.c | 1661 struct ethhdr etherhdr; 1665 _rtw_pktfile_read(&ppktfile, (unsigned char *)ðerhdr, ETH_HLEN); 1697 struct ethhdr etherhdr; in set_qos() local 1701 _rtw_pktfile_read(&ppktfile, (unsigned char *)ðerhdr, ETH_HLEN); in set_qos() 1848 struct ethhdr etherhdr; 1867 i = _rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, ETH_HLEN); 1869 pxframe->attrib.ether_type = ntohs(etherhdr.h_proto); 1874 _rtw_memcpy(pxframe->attrib.dst, ðerhdr.h_dest, ETH_ALEN); 1875 _rtw_memcpy(pxframe->attrib.src, ðerhdr.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 D | rtw_xmit.c | 1656 struct ethhdr etherhdr; 1660 _rtw_pktfile_read(&ppktfile, (unsigned char *)ðerhdr, ETH_HLEN); 1692 struct ethhdr etherhdr; in set_qos() local 1696 _rtw_pktfile_read(&ppktfile, (unsigned char *)ðerhdr, ETH_HLEN); in set_qos() 1843 struct ethhdr etherhdr; 1862 i = _rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, ETH_HLEN); 1864 pxframe->attrib.ether_type = ntohs(etherhdr.h_proto); 1869 _rtw_memcpy(pxframe->attrib.dst, ðerhdr.h_dest, ETH_ALEN); 1870 _rtw_memcpy(pxframe->attrib.src, ðerhdr.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 D | recv_linux.c | 786 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 D | recv_linux.c | 711 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 D | rtw_xmit.c | 884 struct ethhdr etherhdr; in set_qos() local 890 _rtw_pktfile_read(ppktfile, (unsigned char*)ðerhdr, ETH_HLEN); in set_qos() 1012 struct ethhdr etherhdr; in update_attrib() local 1027 i = _rtw_pktfile_read(&pktfile, (u8*)ðerhdr, ETH_HLEN); in update_attrib() 1029 pattrib->ether_type = ntohs(etherhdr.h_proto); in update_attrib() 1032 _rtw_memcpy(pattrib->dst, ðerhdr.h_dest, ETH_ALEN); in update_attrib() 1033 _rtw_memcpy(pattrib->src, ðerhdr.h_source, ETH_ALEN); in update_attrib()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_ap.c | 5891 struct ethhdr etherhdr; in rtw_ap_addr_resolve() local 5899 if (_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, 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()
|