Searched refs:ip_hl (Results 1 - 18 of 18) sorted by relevance

/external/qemu/slirp/
H A Dip.h78 ip_hl:4; /* header length */ member in struct:ip
80 u_int ip_hl:4, /* header length */
H A Dip_icmp.c230 shlen=ip->ip_hl << 2;
297 ip->ip_hl = hlen >> 2;
323 int hlen = ip->ip_hl << 2;
350 ip->ip_hl = hlen >> 2;
H A Dip_input.c99 hlen = ip->ip_hl << 2;
272 int hlen = ip->ip_hl << 2;
408 m->m_len += (ip->ip_hl << 2);
409 m->m_data -= (ip->ip_hl << 2);
515 cnt = (ip->ip_hl << 2) - sizeof (struct ip);
685 /* ip->ip_len -= ip->ip_hl << 2; XXX icmp_error adds in hdr length */
711 olen = (ip->ip_hl<<2) - sizeof (struct ip);
717 ip->ip_hl = sizeof(struct ip) >> 2;
H A Dip_icmp.h105 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
106 /* N.B.: must separately check that ip_hl >= 5 */
H A Dip_output.c80 ip->ip_hl = hlen >> 2;
148 * mhip->ip_hl = mhlen >> 2;
/external/qemu/slirp-android/
H A Dip.h80 u_int ip_hl:4; /* header length */ member in struct:ip
82 u_int ip_hl:4; /* header length */
H A Dip_icmp.c232 shlen=ip->ip_hl << 2;
299 ip->ip_hl = hlen >> 2;
325 int hlen = ip->ip_hl << 2;
352 ip->ip_hl = hlen >> 2;
H A Dip_input.c99 hlen = ip->ip_hl << 2;
272 int hlen = ip->ip_hl << 2;
408 m->m_len += (ip->ip_hl << 2);
409 m->m_data -= (ip->ip_hl << 2);
515 cnt = (ip->ip_hl << 2) - sizeof (struct ip);
685 /* ip->ip_len -= ip->ip_hl << 2; XXX icmp_error adds in hdr length */
711 olen = (ip->ip_hl<<2) - sizeof (struct ip);
717 ip->ip_hl = sizeof(struct ip) >> 2;
H A Dip_icmp.h107 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
108 /* N.B.: must separately check that ip_hl >= 5 */
H A Dip_output.c80 ip->ip_hl = hlen >> 2;
148 * mhip->ip_hl = mhlen >> 2;
/external/chromium_org/third_party/usrsctp/usrsctplib/
H A Duser_ip_icmp.h153 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
154 /* N.B.: must separately check that ip_hl >= 5 */
/external/dnsmasq/src/
H A Dbpf.c206 ip.ip_hl = sizeof(struct ip) / 4;
/external/dhcpcd/
H A Dnet.c739 ip->ip_hl = sizeof(*ip) >> 2;
795 packet.ip.ip_hl = 0;
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_os_userspace.h365 u_char ip_hl:4, ip_v:4; member in struct:ip
H A Dsctp_pcb.c6625 offset = (ip->ip_hl << 2) + sizeof(struct sctphdr);
6633 sh = (struct sctphdr *)((caddr_t)ip + (ip->ip_hl << 2));
H A Dsctp_output.c4218 ip->ip_hl = (sizeof(struct ip) >> 2);
11575 ip->ip_hl = (sizeof(struct ip) >> 2);
H A Dsctp_usrreq.c533 sh = (struct sctphdr *)((caddr_t)ip + (ip->ip_hl << 2));
/external/ipsec-tools/src/racoon/
H A Disakmp.c261 extralen += sizeof(*udp) + ip->ip_hl;

Completed in 236 milliseconds