Home
last modified time | relevance | path

Searched refs:oal_host2net_short (Results 1 - 5 of 5) sorted by relevance

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_net.c569 eth->us_ether_type = (hi_u16)oal_host2net_short(eth_header_info->type); in oal_eth_header()
571 eth->us_ether_type = (hi_u16)oal_host2net_short(eth_header_info->len); in oal_eth_header()
613 netbuf->protocol = oal_host2net_short(ETHER_TYPE_ARP); in oal_arp_create()
631 arp->us_ar_hrd = (hi_u16)oal_host2net_short(netdev->type); in oal_arp_create()
632 arp->us_ar_pro = (hi_u16)oal_host2net_short(ETHER_TYPE_IP); in oal_arp_create()
636 arp->us_ar_op = (hi_u16)oal_host2net_short(p_arp_create_info->l_type); in oal_arp_create()
H A Doal_netbuf.h33 #define oal_host2net_short(_x) htons(_x) macro
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/
H A Dmac_data.c199 if (udp_hdr->us_des_port == oal_host2net_short(MAC_IPV6_UDP_DES_PORT) || in mac_is_dhcp6()
200 udp_hdr->us_des_port == oal_host2net_short(MAC_IPV6_UDP_SRC_PORT)) { in mac_is_dhcp6()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Dhmac_tx_data.c279 if (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_IP)) { in hmac_tx_classify_lan_to_wlan()
282 } else if (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_IPV6)) { in hmac_tx_classify_lan_to_wlan()
285 } else if (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_PAE)) { in hmac_tx_classify_lan_to_wlan()
294 } else if (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_TDLS)) { in hmac_tx_classify_lan_to_wlan()
298 } else if ((ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_PPP_DISC)) || in hmac_tx_classify_lan_to_wlan()
299 (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_PPP_SES)) || in hmac_tx_classify_lan_to_wlan()
300 (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_WAI))) { in hmac_tx_classify_lan_to_wlan()
306 } else if (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_ARP)) { in hmac_tx_classify_lan_to_wlan()
310 } else if (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_VLAN)) { in hmac_tx_classify_lan_to_wlan()
324 if (ether_header->us_ether_type == oal_host2net_short(ETHER_TYPE_6L in hmac_tx_classify_lan_to_wlan()
[all...]
H A Dhmac_rx_data.c487 if (oal_host2net_short(ETHER_TYPE_IP) == ether_hdr->us_ether_type) { in hmac_rx_transmit_edca_opt_ap()

Completed in 6 milliseconds