Searched refs:ip_hl (Results 1 – 14 of 14) sorted by relevance
257 ricmp = (struct icmp *) ((char*)rcv_pkt + (rcv_pkt->ip_hl << 2)); in do_trace()271 hudp = (struct udphdr*) ((char*)hip + (hip->ip_hl << 2)); in do_trace()272 if ((hip->ip_hl << 2) + 12 <=(rcv_len - (rcv_pkt->ip_hl << 2)) in do_trace()278 hicmp = (struct icmp *) ((char*)hip + (hip->ip_hl << 2)); in do_trace()283 else if ((hip->ip_hl << 2) + ICMP_HD_SIZE4 in do_trace()284 <= (rcv_len - (rcv_pkt->ip_hl << 2)) in do_trace()
45 unsigned int ip_hl:4; member49 unsigned int ip_hl:4;
139 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
263 iph->ip_hl = sizeof(*iph) / 4; in fils_dhcp_handler()
2040 if (ip.ip_hl != 5 || ip.ip_v != 4 || in hostapd_data_test_rx()2154 ip->ip_hl = 5; in hostapd_ctrl_iface_data_test_tx()
9925 if (ip.ip_hl != 5 || ip.ip_v != 4 || ntohs(ip.ip_len) > HWSIM_IP_LEN) {10036 ip->ip_hl = 5;