Home
last modified time | relevance | path

Searched refs:ntoh16_ua (Results 1 – 25 of 29) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_ip.c609 ntoh16_ua(&tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpdata_psh_acked()
610 ntoh16_ua(&tcp_hdr[TCP_DEST_PORT_OFFSET]), in dhd_tcpdata_psh_acked()
619 ntoh16_ua(tcpdata_info_tmp->tcp_port.src), in dhd_tcpdata_psh_acked()
620 ntoh16_ua(tcpdata_info_tmp->tcp_port.dst))); in dhd_tcpdata_psh_acked()
736 new_ip_total_len = ntoh16_ua(&new_ip_hdr[IPV4_PKTLEN_OFFSET]); in dhd_tcpack_suppress()
754 ntoh16_ua(&new_tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpack_suppress()
755 ntoh16_ua(&new_tcp_hdr[TCP_DEST_PORT_OFFSET]))); in dhd_tcpack_suppress()
810 ntoh16_ua(&old_tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpack_suppress()
811 ntoh16_ua(&old_tcp_hdr[TCP_DEST_PORT_OFFSET]))); in dhd_tcpack_suppress()
949 ip_total_len = ntoh16_ua(&ip_hdr[IPV4_PKTLEN_OFFSET]); in dhd_tcpdata_info_get()
[all …]
H A Dbcmevent.c303 subtype = ntoh16_ua((void *)&bcm_event->bcm_hdr.subtype); in is_wlc_event_frame()
315 usr_subtype = ntoh16_ua((void *)&bcm_event->bcm_hdr.usr_subtype); in is_wlc_event_frame()
354 data_len = ntoh16_ua((void *)&((bcm_dngl_event_t *)pktdata)->dngl_event.datalen); in is_wlc_event_frame()
H A Ddhd_common.c2777 uint16 type = ntoh16_ua((void *)&dngl_event->event_type); in dngl_host_event_process()
2778 uint16 datalen = ntoh16_ua((void *)&dngl_event->datalen); in dngl_host_event_process()
2779 uint16 version = ntoh16_ua((void *)&dngl_event->version); in dngl_host_event_process()
2983 usr_subtype = ntoh16_ua((void *)&pvt_data->bcm_hdr.usr_subtype); in wl_process_host_event()
3008 flags = ntoh16_ua((void *)&event->flags); in wl_process_host_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_ip.c655 ntoh16_ua(&tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpdata_psh_acked()
656 ntoh16_ua(&tcp_hdr[TCP_DEST_PORT_OFFSET]), in dhd_tcpdata_psh_acked()
665 ntoh16_ua(tcpdata_info_tmp->tcp_port.src), in dhd_tcpdata_psh_acked()
666 ntoh16_ua(tcpdata_info_tmp->tcp_port.dst))); in dhd_tcpdata_psh_acked()
781 new_ip_total_len = ntoh16_ua(&new_ip_hdr[IPV4_PKTLEN_OFFSET]); in dhd_tcpack_suppress()
799 ntoh16_ua(&new_tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpack_suppress()
800 ntoh16_ua(&new_tcp_hdr[TCP_DEST_PORT_OFFSET]))); in dhd_tcpack_suppress()
855 ntoh16_ua(&old_tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpack_suppress()
856 ntoh16_ua(&old_tcp_hdr[TCP_DEST_PORT_OFFSET]))); in dhd_tcpack_suppress()
994 ip_total_len = ntoh16_ua(&ip_hdr[IPV4_PKTLEN_OFFSET]); in dhd_tcpdata_info_get()
[all …]
H A Dbcmevent.c353 evlen = ntoh16_ua((void *)&bcm_event->bcm_hdr.length); in is_wlc_event_frame()
362 subtype = ntoh16_ua((void *)&bcm_event->bcm_hdr.subtype); in is_wlc_event_frame()
374 usr_subtype = ntoh16_ua((void *)&bcm_event->bcm_hdr.usr_subtype); in is_wlc_event_frame()
413 data_len = ntoh16_ua((void *)&((bcm_dngl_event_t *)pktdata)->dngl_event.datalen); in is_wlc_event_frame()
H A Dbcm_l2_filter.c184 } else if (ntoh16_ua(frame + ETHER_TYPE_OFFSET) >= ETHER_TYPE_MIN) { in get_pkt_ether_type()
196 ethertype = ntoh16_ua(pt); in get_pkt_ether_type()
207 ethertype = ntoh16_ua(pt); in get_pkt_ether_type()
319 port = ntoh16_ua(udph + UDP_DEST_PORT_OFFSET); in bcm_l2_filter_get_mac_addr_dhcp_pkt()
H A Dbcmwpa.c484 len = ntoh16_ua(EAPOL_WPA_KEY_HDR_DATA_LEN_PTR(body, rsn_info->kck_mic_len)); in wpa_decr_key_data()
493 len = ntoh16_ua(EAPOL_WPA_KEY_HDR_DATA_LEN_PTR(body, rsn_info->kck_mic_len)); in wpa_decr_key_data()
582 data_len = 4 + ntoh16_ua((uint8 *)&eapol->length); in wpa_make_mic()
658 len = ntoh16_ua((uint8 *)&body->key_len); in wpa_encr_key_data()
660 len = ntoh16_ua(EAPOL_WPA_KEY_HDR_DATA_LEN_PTR(body, in wpa_encr_key_data()
682 len = ntoh16_ua(EAPOL_WPA_KEY_HDR_DATA_LEN_PTR(body, in wpa_encr_key_data()
997 uint alen = WPS_AT_FIXED_LEN + ntoh16_ua(((wps_at_fixed_t *)at)->len); in bcm_wps_find_at()
998 if (ntoh16_ua(((wps_at_fixed_t *)at)->at) == id && alen <= len) in bcm_wps_find_at()
1075 body_len = ntoh16_ua(&eapol->length); in wpa_find_eapol_kde_data()
1077 data_len = ntoh16_ua(EAPOL_WPA_KEY_HDR_DATA_LEN_PTR(body, in wpa_find_eapol_kde_data()
H A Ddhd_pktlog.c1341 key_info = ntoh16_ua(&ek->key_info); in dhd_cpkt_log_get_802_1x_subtype()
1413 subtype = ntoh16_ua(pdata + sizeof(*icmp)) & 0xFF; in dhd_cpkt_log_get_pkt_info()
1417 subtype = ntoh16_ua(pdata + sizeof(*icmp)) & 0xFF; in dhd_cpkt_log_get_pkt_info()
1432 src_port = ntoh16_ua(pdata); in dhd_cpkt_log_get_pkt_info()
1433 dst_port = ntoh16_ua(pdata + UDP_DEST_PORT_OFFSET); in dhd_cpkt_log_get_pkt_info()
1456 subtype = ntoh16_ua(pdata + UDP_HDR_LEN) & 0xFF; in dhd_cpkt_log_get_pkt_info()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_ip.c668 ntoh16_ua(&tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpdata_psh_acked()
669 ntoh16_ua(&tcp_hdr[TCP_DEST_PORT_OFFSET]), in dhd_tcpdata_psh_acked()
678 ntoh16_ua(tcpdata_info_tmp->tcp_port.src), in dhd_tcpdata_psh_acked()
679 ntoh16_ua(tcpdata_info_tmp->tcp_port.dst))); in dhd_tcpdata_psh_acked()
794 new_ip_total_len = ntoh16_ua(&new_ip_hdr[IPV4_PKTLEN_OFFSET]); in dhd_tcpack_suppress()
812 ntoh16_ua(&new_tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpack_suppress()
813 ntoh16_ua(&new_tcp_hdr[TCP_DEST_PORT_OFFSET]))); in dhd_tcpack_suppress()
868 ntoh16_ua(&old_tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpack_suppress()
869 ntoh16_ua(&old_tcp_hdr[TCP_DEST_PORT_OFFSET]))); in dhd_tcpack_suppress()
1007 ip_total_len = ntoh16_ua(&ip_hdr[IPV4_PKTLEN_OFFSET]); in dhd_tcpdata_info_get()
[all …]
H A Dbcmevent.c318 subtype = ntoh16_ua((void *)&bcm_event->bcm_hdr.subtype); in is_wlc_event_frame()
330 usr_subtype = ntoh16_ua((void *)&bcm_event->bcm_hdr.usr_subtype); in is_wlc_event_frame()
369 data_len = ntoh16_ua((void *)&((bcm_dngl_event_t *)pktdata)->dngl_event.datalen); in is_wlc_event_frame()
H A Ddhd_common.c3184 uint16 type = ntoh16_ua((void *)&dngl_event->event_type); in dngl_host_event_process()
3185 uint16 datalen = ntoh16_ua((void *)&dngl_event->datalen); in dngl_host_event_process()
3186 uint16 version = ntoh16_ua((void *)&dngl_event->version); in dngl_host_event_process()
3415 usr_subtype = ntoh16_ua((void *)&pvt_data->bcm_hdr.usr_subtype); in wl_process_host_event()
3440 flags = ntoh16_ua((void *)&event->flags); in wl_process_host_event()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_ip.c655 ntoh16_ua(&tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpdata_psh_acked()
656 ntoh16_ua(&tcp_hdr[TCP_DEST_PORT_OFFSET]), in dhd_tcpdata_psh_acked()
665 ntoh16_ua(tcpdata_info_tmp->tcp_port.src), in dhd_tcpdata_psh_acked()
666 ntoh16_ua(tcpdata_info_tmp->tcp_port.dst))); in dhd_tcpdata_psh_acked()
781 new_ip_total_len = ntoh16_ua(&new_ip_hdr[IPV4_PKTLEN_OFFSET]); in dhd_tcpack_suppress()
799 ntoh16_ua(&new_tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpack_suppress()
800 ntoh16_ua(&new_tcp_hdr[TCP_DEST_PORT_OFFSET]))); in dhd_tcpack_suppress()
855 ntoh16_ua(&old_tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpack_suppress()
856 ntoh16_ua(&old_tcp_hdr[TCP_DEST_PORT_OFFSET]))); in dhd_tcpack_suppress()
994 ip_total_len = ntoh16_ua(&ip_hdr[IPV4_PKTLEN_OFFSET]); in dhd_tcpdata_info_get()
[all …]
H A Dbcmevent.c351 evlen = ntoh16_ua((void *)&bcm_event->bcm_hdr.length); in is_wlc_event_frame()
360 subtype = ntoh16_ua((void *)&bcm_event->bcm_hdr.subtype); in is_wlc_event_frame()
372 usr_subtype = ntoh16_ua((void *)&bcm_event->bcm_hdr.usr_subtype); in is_wlc_event_frame()
411 data_len = ntoh16_ua((void *)&((bcm_dngl_event_t *)pktdata)->dngl_event.datalen); in is_wlc_event_frame()
H A Dbcm_l2_filter.c184 } else if (ntoh16_ua(frame + ETHER_TYPE_OFFSET) >= ETHER_TYPE_MIN) { in get_pkt_ether_type()
196 ethertype = ntoh16_ua(pt); in get_pkt_ether_type()
207 ethertype = ntoh16_ua(pt); in get_pkt_ether_type()
319 port = ntoh16_ua(udph + UDP_DEST_PORT_OFFSET); in bcm_l2_filter_get_mac_addr_dhcp_pkt()
H A Ddhd_pktlog.c1341 key_info = ntoh16_ua(&ek->key_info); in dhd_cpkt_log_get_802_1x_subtype()
1413 subtype = ntoh16_ua(pdata + sizeof(*icmp)) & 0xFF; in dhd_cpkt_log_get_pkt_info()
1417 subtype = ntoh16_ua(pdata + sizeof(*icmp)) & 0xFF; in dhd_cpkt_log_get_pkt_info()
1432 src_port = ntoh16_ua(pdata); in dhd_cpkt_log_get_pkt_info()
1433 dst_port = ntoh16_ua(pdata + UDP_DEST_PORT_OFFSET); in dhd_cpkt_log_get_pkt_info()
1456 subtype = ntoh16_ua(pdata + UDP_HDR_LEN) & 0xFF; in dhd_cpkt_log_get_pkt_info()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_ip.c668 ntoh16_ua(&tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpdata_psh_acked()
669 ntoh16_ua(&tcp_hdr[TCP_DEST_PORT_OFFSET]), in dhd_tcpdata_psh_acked()
678 ntoh16_ua(tcpdata_info_tmp->tcp_port.src), in dhd_tcpdata_psh_acked()
679 ntoh16_ua(tcpdata_info_tmp->tcp_port.dst))); in dhd_tcpdata_psh_acked()
794 new_ip_total_len = ntoh16_ua(&new_ip_hdr[IPV4_PKTLEN_OFFSET]); in dhd_tcpack_suppress()
812 ntoh16_ua(&new_tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpack_suppress()
813 ntoh16_ua(&new_tcp_hdr[TCP_DEST_PORT_OFFSET]))); in dhd_tcpack_suppress()
868 ntoh16_ua(&old_tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpack_suppress()
869 ntoh16_ua(&old_tcp_hdr[TCP_DEST_PORT_OFFSET]))); in dhd_tcpack_suppress()
1007 ip_total_len = ntoh16_ua(&ip_hdr[IPV4_PKTLEN_OFFSET]); in dhd_tcpdata_info_get()
[all …]
H A Dbcmevent.c319 subtype = ntoh16_ua((void *)&bcm_event->bcm_hdr.subtype); in is_wlc_event_frame()
331 usr_subtype = ntoh16_ua((void *)&bcm_event->bcm_hdr.usr_subtype); in is_wlc_event_frame()
370 data_len = ntoh16_ua((void *)&((bcm_dngl_event_t *)pktdata)->dngl_event.datalen); in is_wlc_event_frame()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_ip.c668 ntoh16_ua(&tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpdata_psh_acked()
669 ntoh16_ua(&tcp_hdr[TCP_DEST_PORT_OFFSET]), in dhd_tcpdata_psh_acked()
678 ntoh16_ua(tcpdata_info_tmp->tcp_port.src), in dhd_tcpdata_psh_acked()
679 ntoh16_ua(tcpdata_info_tmp->tcp_port.dst))); in dhd_tcpdata_psh_acked()
794 new_ip_total_len = ntoh16_ua(&new_ip_hdr[IPV4_PKTLEN_OFFSET]); in dhd_tcpack_suppress()
812 ntoh16_ua(&new_tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpack_suppress()
813 ntoh16_ua(&new_tcp_hdr[TCP_DEST_PORT_OFFSET]))); in dhd_tcpack_suppress()
868 ntoh16_ua(&old_tcp_hdr[TCP_SRC_PORT_OFFSET]), in dhd_tcpack_suppress()
869 ntoh16_ua(&old_tcp_hdr[TCP_DEST_PORT_OFFSET]))); in dhd_tcpack_suppress()
1007 ip_total_len = ntoh16_ua(&ip_hdr[IPV4_PKTLEN_OFFSET]); in dhd_tcpdata_info_get()
[all …]
H A Dbcmevent.c319 subtype = ntoh16_ua((void *)&bcm_event->bcm_hdr.subtype); in is_wlc_event_frame()
331 usr_subtype = ntoh16_ua((void *)&bcm_event->bcm_hdr.usr_subtype); in is_wlc_event_frame()
370 data_len = ntoh16_ua((void *)&((bcm_dngl_event_t *)pktdata)->dngl_event.datalen); in is_wlc_event_frame()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dbcmendian.h138 #define load16_ua(a) ntoh16_ua(a)
283 #define ntoh16_ua(bytes) ({ \ macro
427 ntoh16_ua(const void *bytes) in ntoh16_ua() function
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dbcmendian.h138 #define load16_ua(a) ntoh16_ua(a)
283 #define ntoh16_ua(bytes) ({ \ macro
427 ntoh16_ua(const void *bytes) in ntoh16_ua() function
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dbcmendian.h201 #define ntoh16_ua(bytes) ({ \ macro
318 ntoh16_ua(const void *bytes) in ntoh16_ua() function
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dbcmendian.h250 #define ntoh16_ua(bytes) ({ \ macro
394 ntoh16_ua(const void *bytes) in ntoh16_ua() function
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dbcmendian.h250 #define ntoh16_ua(bytes) ({ \ macro
394 ntoh16_ua(const void *bytes) in ntoh16_ua() function
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dbcmendian.h250 #define ntoh16_ua(bytes) ({ \ macro
394 ntoh16_ua(const void *bytes) in ntoh16_ua() function

12