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()
153 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
135 ip4_hdr_len = ip4_hdr_in->ip_hl << 2; in packet_handler()
233 iphdr->ip_hl = 5; in send_udp_frags()
263 iph->ip_hl = sizeof(*iph) / 4; in fils_dhcp_handler()
328 u_char ip_hl:4, ip_v:4; member
8273 sizeof(struct ip) + 8 + (inner_ip->ip_hl << 2) + sizeof(struct udphdr) + 8) {8276 udp = (struct udphdr *)((caddr_t)inner_ip + (inner_ip->ip_hl << 2));8327 8 + (inner_ip->ip_hl << 2) + 8 + 20) {
6592 offset = (ip->ip_hl << 2) + sizeof(struct sctphdr);6600 sh = (struct sctphdr *)((caddr_t)ip + (ip->ip_hl << 2));
445 sh = (struct sctphdr *)((caddr_t)inner_ip + (inner_ip->ip_hl << 2));489 8 + (inner_ip->ip_hl << 2) + 20) {
4229 ip->ip_hl = (sizeof(struct ip) >> 2);11826 ip->ip_hl = (sizeof(struct ip) >> 2);
1981 if (ip.ip_hl != 5 || ip.ip_v != 4 || in hostapd_data_test_rx()2093 ip->ip_hl = 5; in hostapd_ctrl_iface_data_test_tx()
265 extralen += sizeof(*udp) + ip->ip_hl;
1019 - Enable "ip_hl vs. ip_vhl" workaround for OSF4 too.
9417 if (ip.ip_hl != 5 || ip.ip_v != 4 || ntohs(ip.ip_len) > HWSIM_IP_LEN) { in wpas_data_test_rx()9526 ip->ip_hl = 5; in wpas_ctrl_iface_data_test_tx()