Searched refs:ip_hl (Results 1 – 22 of 22) 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)
153 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
263 iph->ip_hl = sizeof(*iph) / 4; in fils_dhcp_handler()
324 u_char ip_hl:4, ip_v:4; member
8172 sizeof(struct ip) + 8 + (inner_ip->ip_hl << 2) + sizeof(struct udphdr) + 8) {8175 udp = (struct udphdr *)((caddr_t)inner_ip + (inner_ip->ip_hl << 2));8226 8 + (inner_ip->ip_hl << 2) + 8 + 20) {
6508 offset = (ip->ip_hl << 2) + sizeof(struct sctphdr);6516 sh = (struct sctphdr *)((caddr_t)ip + (ip->ip_hl << 2));
398 sh = (struct sctphdr *)((caddr_t)inner_ip + (inner_ip->ip_hl << 2));442 8 + (inner_ip->ip_hl << 2) + 20) {
4207 ip->ip_hl = (sizeof(struct ip) >> 2);11746 ip->ip_hl = (sizeof(struct ip) >> 2);
2041 if (ip.ip_hl != 5 || ip.ip_v != 4 || in hostapd_data_test_rx()2153 ip->ip_hl = 5; in hostapd_ctrl_iface_data_test_tx()
9666 if (ip.ip_hl != 5 || ip.ip_v != 4 || ntohs(ip.ip_len) > HWSIM_IP_LEN) { in wpas_data_test_rx()9775 ip->ip_hl = 5; in wpas_ctrl_iface_data_test_tx()