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