Searched refs:IP_VHL_HL (Results 1 - 16 of 16) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dip.h110 #define IP_VHL_HL(vhl) ((vhl) & 0x0f) macro
H A Dip_icmp.h158 #define ICMP_ADVLEN(p) (8 + (IP_VHL_HL((p)->icmp_ip.ip_vhl) << 2) + 8)
H A Dip_icmp.c209 oiplen = IP_VHL_HL(oip->ip_vhl) << 2;
448 IP_VHL_HL(icp->icmp_ip.ip_vhl) < (sizeof(struct ip) >> 2)) {
586 IP_VHL_HL(icp->icmp_ip.ip_vhl) < (sizeof(struct ip) >> 2)) {
651 int optlen = (IP_VHL_HL(ip->ip_vhl) << 2) - sizeof(struct ip);
822 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
1103 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
H A Dip_input.c749 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
769 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
800 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
923 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
1314 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
1469 int hlen = IP_VHL_HL(ip->ip_vhl) << 2;
1653 if (next + (IP_VHL_HL(ip->ip_vhl) << 2) > IP_MAXPACKET) {
1711 m->m_len += (IP_VHL_HL(ip->ip_vhl) << 2);
1712 m->m_data -= (IP_VHL_HL(ip->ip_vhl) << 2);
1842 cnt = (IP_VHL_HL(i
[all...]
H A Dip_output.c429 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
520 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
1040 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
1234 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
1642 u_short offset = (IP_VHL_HL(ip->ip_vhl) << 2) +14 ; /* IP+Enet header length */
1838 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
2012 offset = IP_VHL_HL(ip->ip_vhl) << 2 ;
2127 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
2254 cnt = (IP_VHL_HL(ip->ip_vhl) << 2) - sizeof (struct ip);
H A Dkpi_ipfilter.c243 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
H A Draw_ip.c407 if (((IP_VHL_HL(ip->ip_vhl) != (sizeof (*ip) >> 2))
410 || (ip->ip_len < (IP_VHL_HL(ip->ip_vhl) << 2))) {
H A Dtcp_subr.c1744 bcopy(((caddr_t)ip + (IP_VHL_HL(ip->ip_vhl) << 2)),
/darwin-on-arm/xnu/bsd/netinet6/
H A Dah_output.c244 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
569 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
H A Desp_output.c376 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
807 udp->uh_ulen = htons(ntohs(ip->ip_len) - (IP_VHL_HL(ip->ip_vhl) << 2));
H A Dipcomp_input.c123 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
H A Dipcomp_output.c257 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
H A Dah_input.c176 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
H A Desp_input.c214 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
H A Dah_core.c1293 hlen = IP_VHL_HL(iphdr.ip_vhl) << 2;
H A Dipsec.c3064 hlen = IP_VHL_HL(ip->ip_vhl) << 2;

Completed in 118 milliseconds