Searched refs:iph (Results 1 – 1 of 1) sorted by relevance
4060 ip_hdr *iph = NULL; in wlan_is_tcp_ack() local4077 iph = (ip_hdr *)(((outbuf_t *)pmbuf)->payload); in wlan_is_tcp_ack()4078 if (iph == NULL) in wlan_is_tcp_ack()4083 iph = (ip_hdr *)((t_u8 *)ethh + sizeof(eth_hdr)); in wlan_is_tcp_ack()4085 if (iph->protocol != WIFI_IPPROTO_TCP) in wlan_is_tcp_ack()4091 … tcph = (tcp_hdr *)(net_stack_buffer_skip(((outbuf_t *)pmbuf)->buffer, (uint16_t)(iph->ihl * 4))); in wlan_is_tcp_ack()4093 tcph = (tcp_hdr *)((t_u8 *)iph + iph->ihl * 4); in wlan_is_tcp_ack()4099 if (mlan_ntohs(iph->tot_len) > (iph->ihl + tcph->_hdrlen_rsvd_flags.doff) * 4) in wlan_is_tcp_ack()