Home
last modified time | relevance | path

Searched refs:oal_net2host_short (Results 1 - 7 of 7) sorted by relevance

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/
H A Dmac_data.c69 if ((hi_u16)(oal_net2host_short(eapol_header->us_length)) >= (hi_u16)sizeof(mac_eapol_key_stru)) { in mac_is_eapol_key_ptk()
88 if ((ip_hdr->protocol == MAC_UDP_PROTOCAL) && ((oal_net2host_short(ip_hdr->us_frag_off) & 0x1FFF) == 0)) { in mac_is_dhcp_port()
91 if (oal_net2host_short(udp_hdr->us_des_port) == 67 || /* 67 端口为dhcp端口 */ in mac_is_dhcp_port()
92 oal_net2host_short(udp_hdr->us_des_port) == 68) { /* 68 端口也为dhcp端口 */ in mac_is_dhcp_port()
242 ether_type = oal_net2host_short(((mac_ether_header_stru *)puc_frame_hdr)->us_ether_type); in mac_get_data_type_from_8023()
245 ether_type = oal_net2host_short(((mac_llc_snap_stru *)puc_frame_hdr)->us_ether_type); in mac_get_data_type_from_8023()
H A Dmac_data.h80 if (oal_net2host_short(rx_arp_hdr->us_ar_op) == MAC_ARP_REQUEST) { in mac_get_arp_type_by_arphdr()
82 } else if (oal_net2host_short(rx_arp_hdr->us_ar_op) == MAC_ARP_RESPONSE) { in mac_get_arp_type_by_arphdr()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Dhmac_edca_opt.c167 if (oal_net2host_short(ip->us_tot_len) < HMAC_EDCA_OPT_MIN_PKT_LEN) { in hmac_edca_opt_rx_pkts_stat()
212 if (oal_net2host_short(ip->us_tot_len) < HMAC_EDCA_OPT_MIN_PKT_LEN) { in hmac_edca_opt_tx_pkts_stat()
H A Dhmac_traffic_classify.c284 judge_info->len = oal_net2host_short(ip->us_tot_len) - sizeof(mac_ip_header_stru) - sizeof(udp_hdr_stru); in hmac_tx_traffic_classify_list_proc()
H A Dhmac_tx_data.c319 hi_u16 vlan_tci = oal_net2host_short(vlan_ethhdr->h_vlan_tci); in hmac_tx_classify_lan_to_wlan()
H A Dhmac_rx_data.c463 if (oal_net2host_short(ip->us_tot_len) < WLAN_SHORT_NETBUF_SIZE) { in hmac_pkt_mem_opt_rx_pkts_stat()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_netbuf.h34 #define oal_net2host_short(_x) ntohs(_x) macro

Completed in 7 milliseconds