hlen              361 dev/acpi/acpiec.c 	int			len, hlen;
hlen              376 dev/acpi/acpiec.c 		hlen = 3;
hlen              380 dev/acpi/acpiec.c 		hlen = 1;
hlen              387 dev/acpi/acpiec.c 	if (size < hlen + len)
hlen              394 dev/acpi/acpiec.c 	return (hlen + len);
hlen              752 dev/ic/hme.c   	int32_t hlen, len, pktlen;
hlen              776 dev/ic/hme.c   	hlen = ip->ip_hl << 2;
hlen              778 dev/ic/hme.c   	if (hlen < sizeof(struct ip))
hlen              780 dev/ic/hme.c   	if (ntohs(ip->ip_len) < hlen)
hlen              789 dev/ic/hme.c   		if (pktlen < (hlen + sizeof(struct tcphdr)))
hlen              793 dev/ic/hme.c   		if (pktlen < (hlen + sizeof(struct udphdr)))
hlen              795 dev/ic/hme.c   		uh = (struct udphdr *)((caddr_t)ip + hlen);
hlen              805 dev/ic/hme.c   	len = hlen - sizeof(struct ip);
hlen              815 dev/ic/hme.c   	ph.h.len = htons(ntohs(ip->ip_len) - hlen);
hlen             1826 dev/pci/if_sk.c 	int hlen, len, plen;
hlen             1859 dev/pci/if_sk.c 	hlen = ip->ip_hl << 2;
hlen             1860 dev/pci/if_sk.c 	if (hlen < sizeof(struct ip))
hlen             1862 dev/pci/if_sk.c 	if (hlen > ntohs(ip->ip_len))
hlen             1869 dev/pci/if_sk.c 	len = hlen - sizeof(struct ip);
hlen             1889 dev/pci/if_sk.c 	pp += hlen;
hlen             1901 dev/pci/if_sk.c 	    htonl(ntohs(ip->ip_len) - hlen + ip->ip_p) + ipd_csum);
hlen               88 kern/uipc_mbuf2.c 	int hlen, tlen, olen;
hlen              152 kern/uipc_mbuf2.c 	hlen = n->m_len - off;
hlen              153 kern/uipc_mbuf2.c 	tlen = len - hlen;
hlen              162 kern/uipc_mbuf2.c 	if (hlen + olen < len) {
hlen              178 kern/uipc_mbuf2.c 	if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen &&
hlen              180 kern/uipc_mbuf2.c 		n->m_next->m_data -= hlen;
hlen              181 kern/uipc_mbuf2.c 		n->m_next->m_len += hlen;
hlen              182 kern/uipc_mbuf2.c 		bcopy(mtod(n, caddr_t) + off, mtod(n->m_next, caddr_t), hlen);
hlen              183 kern/uipc_mbuf2.c 		n->m_len -= hlen;
hlen              206 kern/uipc_mbuf2.c 	o->m_len = hlen;
hlen              207 kern/uipc_mbuf2.c 	bcopy(mtod(n, caddr_t) + off, mtod(o, caddr_t), hlen);
hlen              208 kern/uipc_mbuf2.c 	n->m_len -= hlen;
hlen              132 lib/libsa/net.c 	size_t hlen;
hlen              181 lib/libsa/net.c 	hlen = ip->ip_hl << 2;
hlen              182 lib/libsa/net.c 	if (hlen < sizeof(*ip) ||
hlen              183 lib/libsa/net.c 	    in_cksum(ip, hlen) != 0) {
hlen              209 lib/libsa/net.c 	if (hlen != sizeof(*ip)) {
hlen              210 lib/libsa/net.c 		bcopy(((u_char *)ip) + hlen, uh, len - hlen);
hlen              212 lib/libsa/net.c 		n -= hlen - sizeof(*ip);
hlen              286 lib/libsa/nfs.c 	int hlen, rlen;
hlen              297 lib/libsa/nfs.c 	hlen = sizeof(*repl) - NFSREAD_SIZE;
hlen              306 lib/libsa/nfs.c 	if (cc < hlen) {
hlen              314 lib/libsa/nfs.c 	rlen = cc - hlen;
hlen              111 net/bpf.c      	u_int hlen;
hlen              128 net/bpf.c      		hlen = 0;
hlen              133 net/bpf.c      		hlen = 0;
hlen              139 net/bpf.c      		hlen = ETHER_HDR_LEN;
hlen              145 net/bpf.c      		hlen = 24;
hlen              151 net/bpf.c      		hlen = 0;
hlen              157 net/bpf.c      		hlen = 0;
hlen              167 net/bpf.c      		hlen = 12; 	/* XXX 4(ATM_PH) + 3(LLC) + 5(SNAP) */
hlen              180 net/bpf.c      	m->m_pkthdr.len = len - hlen;
hlen              202 net/bpf.c      	if (m->m_len < hlen) {
hlen              209 net/bpf.c      	if (hlen != 0) {
hlen              210 net/bpf.c      		bcopy(m->m_data, sockp->sa_data, hlen);
hlen              211 net/bpf.c      		m->m_len -= hlen;
hlen              212 net/bpf.c      		m->m_data += hlen; /* XXX */
hlen             2216 net/if_bridge.c     int dir, int af, int hlen, struct mbuf *m)
hlen             2236 net/if_bridge.c 			if (m->m_pkthdr.len - hlen < 2 * sizeof(u_int32_t))
hlen             2255 net/if_bridge.c 				m_copydata(m, hlen, sizeof(u_int32_t),
hlen             2258 net/if_bridge.c 				m_copydata(m, hlen + sizeof(u_int32_t),
hlen             2261 net/if_bridge.c 				m_copydata(m, hlen + sizeof(u_int16_t),
hlen             2269 net/if_bridge.c 			if (m->m_pkthdr.len - hlen < 2 * sizeof(u_int32_t))
hlen             2290 net/if_bridge.c 				m_copydata(m, hlen, sizeof(u_int32_t),
hlen             2293 net/if_bridge.c 				m_copydata(m, hlen + sizeof(u_int32_t),
hlen             2296 net/if_bridge.c 				m_copydata(m, hlen + sizeof(u_int16_t),
hlen             2345 net/if_bridge.c 			(*(tdb->tdb_xform->xf_input))(m, tdb, hlen, off);
hlen             2355 net/if_bridge.c 		tdb = ipsp_spd_lookup(m, af, hlen, &error,
hlen             2420 net/if_bridge.c 	int hlen;
hlen             2471 net/if_bridge.c 		hlen = ip->ip_hl << 2;	/* get whole header length */
hlen             2472 net/if_bridge.c 		if (hlen < sizeof(struct ip)) {
hlen             2477 net/if_bridge.c 		if (hlen > m->m_len) {
hlen             2478 net/if_bridge.c 			if ((m = m_pullup(m, hlen)) == NULL) {
hlen             2485 net/if_bridge.c 		if ((ip->ip_sum = in_cksum(m, hlen)) != 0) {
hlen             2490 net/if_bridge.c 		if (ntohs(ip->ip_len) < hlen)
hlen             2506 net/if_bridge.c 		    dir, AF_INET, hlen, m))
hlen             2518 net/if_bridge.c 		if (m->m_len < hlen && ((m = m_pullup(m, hlen)) == NULL))
hlen             2524 net/if_bridge.c 		ip->ip_sum = in_cksum(m, hlen);
hlen             2549 net/if_bridge.c 		hlen = sizeof(struct ip6_hdr);
hlen             2553 net/if_bridge.c 		    dir, AF_INET6, hlen, m))
hlen             2743 net/if_bridge.c 	int hlen;
hlen             2760 net/if_bridge.c 	hlen = ip->ip_hl << 2;
hlen             2765 net/if_bridge.c 	m->m_data += hlen;
hlen             2766 net/if_bridge.c 	m->m_len -= hlen;
hlen             2769 net/if_bridge.c 	icp->icmp_cksum = in_cksum(m, ntohs(ip->ip_len) - hlen);
hlen             2770 net/if_bridge.c 	m->m_data -= hlen;
hlen             2771 net/if_bridge.c 	m->m_len += hlen;
hlen             2778 net/if_bridge.c 	ip->ip_sum = in_cksum(m, hlen);
hlen             1291 net/if_ppp.c       u_int hlen;
hlen             1387 net/if_ppp.c   				      sc->sc_comp, &iphdr, &hlen);
hlen             1402 net/if_ppp.c   	if (hlen + PPP_HDRLEN > MHLEN) {
hlen             1404 net/if_ppp.c   	    if (M_TRAILINGSPACE(mp) < hlen + PPP_HDRLEN) {
hlen             1417 net/if_ppp.c   	bcopy(iphdr, cp + PPP_HDRLEN, hlen);
hlen             1418 net/if_ppp.c   	mp->m_len = hlen + PPP_HDRLEN;
hlen             1433 net/if_ppp.c   	ilen += hlen - xlen;
hlen             1441 net/if_ppp.c   				      sc->sc_comp, &iphdr, &hlen);
hlen             1507 net/pf.c       	int hlen = (th->th_off << 2) - sizeof(*th), thoptlen = hlen;
hlen             1513 net/pf.c       	if (hlen < TCPOLEN_SACKLEN ||
hlen             1514 net/pf.c       	    !pf_pull_hdr(m, off + sizeof(*th), opts, hlen, NULL, NULL, pd->af))
hlen             1517 net/pf.c       	while (hlen >= TCPOLEN_SACKLEN) {
hlen             1523 net/pf.c       			hlen--;
hlen             1526 net/pf.c       			if (olen > hlen)
hlen             1527 net/pf.c       				olen = hlen;
hlen             1546 net/pf.c       			hlen -= olen;
hlen             2638 net/pf.c       	int		 hlen;
hlen             2643 net/pf.c       	hlen = th_off << 2;		/* hlen <= sizeof(hdr) */
hlen             2644 net/pf.c       	if (hlen <= sizeof(struct tcphdr))
hlen             2646 net/pf.c       	if (!pf_pull_hdr(m, off, hdr, hlen, NULL, NULL, af))
hlen             2649 net/pf.c       	hlen -= sizeof(struct tcphdr);
hlen             2650 net/pf.c       	while (hlen >= 3) {
hlen             2655 net/pf.c       			--hlen;
hlen             2667 net/pf.c       			hlen -= optlen;
hlen             2678 net/pf.c       	int		 hlen;
hlen             2683 net/pf.c       	hlen = th_off << 2;	/* hlen <= sizeof(hdr) */
hlen             2684 net/pf.c       	if (hlen <= sizeof(struct tcphdr))
hlen             2686 net/pf.c       	if (!pf_pull_hdr(m, off, hdr, hlen, NULL, NULL, af))
hlen             2689 net/pf.c       	hlen -= sizeof(struct tcphdr);
hlen             2690 net/pf.c       	while (hlen >= TCPOLEN_MAXSEG) {
hlen             2695 net/pf.c       			--hlen;
hlen             2705 net/pf.c       			hlen -= optlen;
hlen             2725 net/pf.c       	int			 hlen;
hlen             2731 net/pf.c       		hlen = sizeof(struct ip);
hlen             2743 net/pf.c       		hlen = sizeof(struct ip6_hdr);
hlen             2756 net/pf.c       		mss = rt->rt_ifp->if_mtu - hlen - sizeof(struct tcphdr);
hlen              328 net/pf_norm.c  	int		 hlen = ip->ip_hl << 2;
hlen              336 net/pf_norm.c  	m->m_data += hlen;
hlen              337 net/pf_norm.c  	m->m_len -= hlen;
hlen              494 net/pf_norm.c  	hlen = ip->ip_hl << 2;
hlen              495 net/pf_norm.c  	ip->ip_len = htons(off + hlen);
hlen              496 net/pf_norm.c  	m->m_len += hlen;
hlen              497 net/pf_norm.c  	m->m_data -= hlen;
hlen              825 net/pf_norm.c  	int			 hlen = h->ip_hl << 2;
hlen              862 net/pf_norm.c  	if (hlen < (int)sizeof(struct ip))
hlen              865 net/pf_norm.c  	if (hlen > ntohs(h->ip_len))
hlen              889 net/pf_norm.c  	ip_len = ntohs(h->ip_len) - hlen;
hlen             1379 net/pf_norm.c  		int hlen;
hlen             1381 net/pf_norm.c  		hlen = (th->th_off << 2) - sizeof(struct tcphdr);
hlen             1382 net/pf_norm.c  		while (hlen >= TCPOLEN_TIMESTAMP) {
hlen             1387 net/pf_norm.c  				hlen--;
hlen             1408 net/pf_norm.c  				hlen -= MAX(opt[1], 2);
hlen             1479 net/pf_norm.c  		int hlen;
hlen             1481 net/pf_norm.c  		hlen = (th->th_off << 2) - sizeof(struct tcphdr);
hlen             1482 net/pf_norm.c  		while (hlen >= TCPOLEN_TIMESTAMP) {
hlen             1487 net/pf_norm.c  				hlen--;
hlen             1537 net/pf_norm.c  				hlen -= MAX(opt[1], 2);
hlen              181 net/slcompress.c 	u_int hlen = ip->ip_hl;
hlen              198 net/slcompress.c 	th = (struct tcphdr *)&((int32_t *)ip)[hlen];
hlen              247 net/slcompress.c 		hlen += th->th_off;
hlen              248 net/slcompress.c 		hlen <<= 2;
hlen              275 net/slcompress.c 	oth = (struct tcphdr *)&((int32_t *)&cs->cs_ip)[hlen];
hlen              276 net/slcompress.c 	deltaS = hlen;
hlen              277 net/slcompress.c 	hlen += th->th_off;
hlen              278 net/slcompress.c 	hlen <<= 2;
hlen              341 net/slcompress.c 		    ntohs(cs->cs_ip.ip_len) == hlen)
hlen              356 net/slcompress.c 		    deltaS == ntohs(cs->cs_ip.ip_len) - hlen) {
hlen              364 net/slcompress.c 		if (deltaS == ntohs(cs->cs_ip.ip_len) - hlen) {
hlen              384 net/slcompress.c 	BCOPY(ip, &cs->cs_ip, hlen);
hlen              399 net/slcompress.c 		hlen -= deltaS + 4;
hlen              400 net/slcompress.c 		cp += hlen;
hlen              404 net/slcompress.c 		hlen -= deltaS + 3;
hlen              405 net/slcompress.c 		cp += hlen;
hlen              408 net/slcompress.c 	m->m_len -= hlen;
hlen              409 net/slcompress.c 	m->m_data += hlen;
hlen              422 net/slcompress.c 	BCOPY(ip, &cs->cs_ip, hlen);
hlen              437 net/slcompress.c 	int hlen, vjlen;
hlen              440 net/slcompress.c 	vjlen = sl_uncompress_tcp_core(cp, len, len, type, comp, &hdr, &hlen);
hlen              462 net/slcompress.c 	cp -= hlen;
hlen              463 net/slcompress.c 	len += hlen;
hlen              464 net/slcompress.c 	BCOPY(hdr, cp, hlen);
hlen              487 net/slcompress.c 	u_int hlen, changes;
hlen              507 net/slcompress.c 		hlen = ip->ip_hl << 2;
hlen              508 net/slcompress.c 		if (hlen + sizeof(struct tcphdr) > buflen)
hlen              510 net/slcompress.c 		hlen += ((struct tcphdr *)&((char *)ip)[hlen])->th_off << 2;
hlen              511 net/slcompress.c 		if (hlen > MAX_HDR || hlen > buflen)
hlen              513 net/slcompress.c 		BCOPY(ip, &cs->cs_ip, hlen);
hlen              514 net/slcompress.c 		cs->cs_hlen = hlen;
hlen              517 net/slcompress.c 		*hlenp = hlen;
hlen              548 net/slcompress.c 	hlen = cs->cs_ip.ip_hl << 2;
hlen              549 net/slcompress.c 	th = (struct tcphdr *)&((u_char *)&cs->cs_ip)[hlen];
hlen              608 net/slcompress.c 	for (changes = 0; hlen > 0; hlen -= 2)
hlen             1631 netbt/rfcomm_session.c 	int hlen;
hlen             1672 netbt/rfcomm_session.c 	hlen = hdr - mtod(m, uint8_t *);
hlen             1676 netbt/rfcomm_session.c 		m_copyback(m, hlen, len, data);
hlen             1677 netbt/rfcomm_session.c 		if (m->m_pkthdr.len != max(MHLEN, hlen + len)) {
hlen             1683 netbt/rfcomm_session.c 	m->m_pkthdr.len = hlen + len;
hlen              508 netinet/ip_carp.c 	int iplen, len, hlen;
hlen              512 netinet/ip_carp.c 	hlen = va_arg(ap, int);
hlen              294 netinet/ip_esp.c 	int plen, alen, hlen;
hlen              303 netinet/ip_esp.c 		hlen = sizeof(u_int32_t) + tdb->tdb_ivlen; /* "old" ESP */
hlen              305 netinet/ip_esp.c 		hlen = 2 * sizeof(u_int32_t) + tdb->tdb_ivlen; /* "new" ESP */
hlen              312 netinet/ip_esp.c 	plen = m->m_pkthdr.len - (skip + hlen + alen);
hlen              365 netinet/ip_esp.c 	tdb->tdb_cur_bytes += m->m_pkthdr.len - skip - hlen - alen;
hlen              366 netinet/ip_esp.c 	espstat.esps_ibytes += m->m_pkthdr.len - skip - hlen - alen;
hlen              463 netinet/ip_esp.c 		crde->crd_skip = skip + hlen;
hlen              464 netinet/ip_esp.c 		crde->crd_len = m->m_pkthdr.len - (skip + hlen + alen);
hlen              465 netinet/ip_esp.c 		crde->crd_inject = skip + hlen - tdb->tdb_ivlen;
hlen              497 netinet/ip_esp.c 	int s, hlen, roff, skip, protoff, error;
hlen              620 netinet/ip_esp.c 		hlen = sizeof(u_int32_t) + tdb->tdb_ivlen; /* "old" ESP */
hlen              622 netinet/ip_esp.c 		hlen = 2 * sizeof(u_int32_t) + tdb->tdb_ivlen; /* "new" ESP */
hlen              638 netinet/ip_esp.c 		m_adj(m1, hlen);
hlen              640 netinet/ip_esp.c 			m->m_pkthdr.len -= hlen;
hlen              641 netinet/ip_esp.c 	} else if (roff + hlen >= m1->m_len) {
hlen              647 netinet/ip_esp.c 		if (roff + hlen > m1->m_len) {
hlen              649 netinet/ip_esp.c 			m_adj(m1->m_next, roff + hlen - m1->m_len);
hlen              652 netinet/ip_esp.c 			m->m_pkthdr.len -= (roff + hlen - m1->m_len);
hlen              672 netinet/ip_esp.c 		bcopy(mtod(m1, u_char *) + roff + hlen,
hlen              673 netinet/ip_esp.c 		    mtod(m1, u_char *) + roff, m1->m_len - (roff + hlen));
hlen              674 netinet/ip_esp.c 		m1->m_len -= hlen;
hlen              675 netinet/ip_esp.c 		m->m_pkthdr.len -= hlen;
hlen              732 netinet/ip_esp.c 	int ilen, hlen, rlen, padding, blks, alen;
hlen              764 netinet/ip_esp.c 		hlen = sizeof(u_int32_t) + tdb->tdb_ivlen;
hlen              766 netinet/ip_esp.c 		hlen = 2 * sizeof(u_int32_t) + tdb->tdb_ivlen;
hlen              787 netinet/ip_esp.c 		if (skip + hlen + rlen + padding + alen > IP_MAXPACKET)	{
hlen              801 netinet/ip_esp.c 		if (skip + hlen + rlen + padding + alen > IPV6_MAXPACKET) {
hlen              873 netinet/ip_esp.c 	mo = m_inject(m, skip, hlen, M_DONTWAIT);
hlen              935 netinet/ip_esp.c 		crde->crd_skip = skip + hlen;
hlen              936 netinet/ip_esp.c 		crde->crd_len = m->m_pkthdr.len - (skip + hlen + alen);
hlen              938 netinet/ip_esp.c 		crde->crd_inject = skip + hlen - tdb->tdb_ivlen;
hlen              286 netinet/ip_ether.c 	ushort hlen;
hlen              320 netinet/ip_ether.c 		hlen = sizeof(struct ip);
hlen              325 netinet/ip_ether.c 		hlen = sizeof(struct ip6_hdr);
hlen              337 netinet/ip_ether.c 	hlen += sizeof(struct etherip_header);
hlen              354 netinet/ip_ether.c 	m0->m_len = hlen;
hlen              355 netinet/ip_ether.c 	m0->m_pkthdr.len += hlen;
hlen              360 netinet/ip_ether.c 	etheripstat.etherip_obytes += m->m_pkthdr.len - hlen;
hlen              405 netinet/ip_ether.c 	m_copyback(m, hlen - sizeof(struct etherip_header),
hlen               96 netinet/ip_gre.c gre_input2(m , hlen, proto)
hlen               98 netinet/ip_gre.c 	int hlen;
hlen              127 netinet/ip_gre.c 		hlen += sizeof (struct gre_h);
hlen              134 netinet/ip_gre.c 			hlen += 4;
hlen              141 netinet/ip_gre.c 			hlen += 4;
hlen              144 netinet/ip_gre.c 			hlen += 4;
hlen              188 netinet/ip_gre.c 	if (hlen > m->m_pkthdr.len) {
hlen              192 netinet/ip_gre.c 	m_adj(m, hlen);
hlen              214 netinet/ip_gre.c 	int hlen, ret;
hlen              218 netinet/ip_gre.c 	hlen = va_arg(ap, int);
hlen              226 netinet/ip_gre.c 	ret = gre_input2(m, hlen, IPPROTO_GRE);
hlen              235 netinet/ip_gre.c 		rip_input(m, hlen, IPPROTO_GRE);
hlen              252 netinet/ip_gre.c 	int hlen, s;
hlen              258 netinet/ip_gre.c 	hlen = va_arg(ap, int);
hlen              307 netinet/ip_icmp.c 	int hlen;
hlen              312 netinet/ip_icmp.c 	hlen = va_arg(ap, int);
hlen              319 netinet/ip_icmp.c 	icmplen = ntohs(ip->ip_len) - hlen;
hlen              333 netinet/ip_icmp.c 	i = hlen + min(icmplen, ICMP_ADVLENMIN);
hlen              339 netinet/ip_icmp.c 	m->m_len -= hlen;
hlen              340 netinet/ip_icmp.c 	m->m_data += hlen;
hlen              346 netinet/ip_icmp.c 	m->m_len += hlen;
hlen              347 netinet/ip_icmp.c 	m->m_data -= hlen;
hlen              780 netinet/ip_icmp.c 	int hlen;
hlen              783 netinet/ip_icmp.c 	hlen = ip->ip_hl << 2;
hlen              784 netinet/ip_icmp.c 	m->m_data += hlen;
hlen              785 netinet/ip_icmp.c 	m->m_len -= hlen;
hlen              788 netinet/ip_icmp.c 	icp->icmp_cksum = in_cksum(m, ntohs(ip->ip_len) - hlen);
hlen              789 netinet/ip_icmp.c 	m->m_data -= hlen;
hlen              790 netinet/ip_icmp.c 	m->m_len += hlen;
hlen              286 netinet/ip_input.c 	int hlen, mff, len;
hlen              312 netinet/ip_input.c 	hlen = ip->ip_hl << 2;
hlen              313 netinet/ip_input.c 	if (hlen < sizeof(struct ip)) {	/* minimum header length */
hlen              317 netinet/ip_input.c 	if (hlen > m->m_len) {
hlen              318 netinet/ip_input.c 		if ((m = m_pullup(m, hlen)) == NULL) {
hlen              341 netinet/ip_input.c 		if (in_cksum(m, hlen) != 0) {
hlen              356 netinet/ip_input.c 	if (len < hlen) {
hlen              399 netinet/ip_input.c 	hlen = ip->ip_hl << 2;
hlen              410 netinet/ip_input.c 	if (hlen > sizeof (struct ip) && ip_dooptions(m)) {
hlen              427 netinet/ip_input.c 			if ((m = m_pullup(m, hlen)) == NULL) {
hlen              509 netinet/ip_input.c 	        ipsp_spd_lookup(m, AF_INET, hlen, &error,
hlen              540 netinet/ip_input.c 			if ((m = m_pullup(m, hlen)) == NULL) {
hlen              566 netinet/ip_input.c 		ip->ip_len = htons(ntohs(ip->ip_len) - hlen);
hlen              613 netinet/ip_input.c 			hlen = ip->ip_hl << 2;
hlen              614 netinet/ip_input.c 			ip->ip_len = htons(ntohs(ip->ip_len) + hlen);
hlen              674 netinet/ip_input.c 	ipsp_spd_lookup(m, AF_INET, hlen, &error, IPSP_DIRECTION_IN,
hlen              693 netinet/ip_input.c 	(*inetsw[ip_protox[ip->ip_p]].pr_input)(m, hlen, NULL, 0);
hlen              749 netinet/ip_input.c 	int hlen = ipqe->ipqe_ip->ip_hl << 2;
hlen              757 netinet/ip_input.c 	m->m_data += hlen;
hlen              758 netinet/ip_input.c 	m->m_len -= hlen;
hlen              150 netinet/ip_ipcomp.c 	int hlen;
hlen              155 netinet/ip_ipcomp.c 	hlen = IPCOMP_HLENGTH;
hlen              178 netinet/ip_ipcomp.c 	crdc->crd_skip = skip + hlen;
hlen              179 netinet/ip_ipcomp.c 	crdc->crd_len = m->m_pkthdr.len - (skip + hlen);
hlen              188 netinet/ip_ipcomp.c 	crp->crp_ilen = m->m_pkthdr.len - (skip + hlen);
hlen              212 netinet/ip_ipcomp.c 	int error, s, skip, protoff, roff, hlen = IPCOMP_HLENGTH, clen;
hlen              253 netinet/ip_ipcomp.c 	tdb->tdb_cur_bytes += m->m_pkthdr.len - (skip + hlen);
hlen              254 netinet/ip_ipcomp.c 	ipcompstat.ipcomps_ibytes += m->m_pkthdr.len - (skip + hlen);
hlen              294 netinet/ip_ipcomp.c 	m->m_pkthdr.len = clen + hlen + skip;
hlen              296 netinet/ip_ipcomp.c 	if ((m->m_len < skip + hlen) && (m = m_pullup(m, skip + hlen)) == 0) {
hlen              318 netinet/ip_ipcomp.c 		m_adj(m1, hlen);
hlen              320 netinet/ip_ipcomp.c 			m->m_pkthdr.len -= hlen;
hlen              321 netinet/ip_ipcomp.c 	} else if (roff + hlen >= m1->m_len) {
hlen              322 netinet/ip_ipcomp.c 		if (roff + hlen > m1->m_len) {
hlen              324 netinet/ip_ipcomp.c 			m_adj(m1->m_next, roff + hlen - m1->m_len);
hlen              330 netinet/ip_ipcomp.c 			m->m_pkthdr.len -= (roff + hlen - m1->m_len);
hlen              344 netinet/ip_ipcomp.c 		bcopy(mtod(m1, u_char *) + roff + hlen,
hlen              346 netinet/ip_ipcomp.c 		    m1->m_len - (roff + hlen));
hlen              347 netinet/ip_ipcomp.c 		m1->m_len -= hlen;
hlen              348 netinet/ip_ipcomp.c 		m->m_pkthdr.len -= hlen;
hlen              385 netinet/ip_ipcomp.c 	int             hlen;
hlen              405 netinet/ip_ipcomp.c 	hlen = IPCOMP_HLENGTH;
hlen              417 netinet/ip_ipcomp.c 		if (m->m_pkthdr.len + hlen > IP_MAXPACKET) {
hlen              430 netinet/ip_ipcomp.c 		if (m->m_pkthdr.len + hlen > IPV6_MAXPACKET) {
hlen              154 netinet/ip_ipip.c 	int hlen, s;
hlen              163 netinet/ip_ipip.c 		hlen = sizeof(struct ip);
hlen              168 netinet/ip_ipip.c 		hlen = sizeof(struct ip6_hdr);
hlen              178 netinet/ip_ipip.c 	if (m->m_len < hlen) {
hlen              179 netinet/ip_ipip.c 		if ((m = m_pullup(m, hlen)) == NULL) {
hlen              219 netinet/ip_ipip.c 		hlen = sizeof(struct ip);
hlen              225 netinet/ip_ipip.c 		hlen = sizeof(struct ip6_hdr);
hlen              237 netinet/ip_ipip.c 	if (m->m_len < hlen) {
hlen              238 netinet/ip_ipip.c 		if ((m = m_pullup(m, hlen)) == NULL) {
hlen             1435 netinet/ip_mroute.c 		int hlen = ip->ip_hl << 2;
hlen             1462 netinet/ip_mroute.c 		M_PULLUP(mb0, hlen);
hlen             1502 netinet/ip_mroute.c 			mm = m_copy(m, 0, hlen);
hlen             1503 netinet/ip_mroute.c 			M_PULLUP(mm, hlen);
hlen             1736 netinet/ip_mroute.c 				int hlen = ip->ip_hl << 2;
hlen             1737 netinet/ip_mroute.c 				struct mbuf *mm = m_copy(m, 0, hlen);
hlen             1739 netinet/ip_mroute.c 				M_PULLUP(mm, hlen);
hlen             1827 netinet/ip_mroute.c 	int hlen = ip->ip_hl << 2;
hlen             1835 netinet/ip_mroute.c 	M_PULLUP(mb_copy, hlen);
hlen              102 netinet/ip_output.c 	int hlen = sizeof (struct ip);
hlen              144 netinet/ip_output.c 		hlen = len;
hlen              156 netinet/ip_output.c 		ip->ip_hl = hlen >> 2;
hlen              159 netinet/ip_output.c 		hlen = ip->ip_hl << 2;
hlen              270 netinet/ip_output.c 		tdb = ipsp_spd_lookup(m, AF_INET, hlen, &error,
hlen              590 netinet/ip_output.c 		hlen = ip->ip_hl << 2;
hlen              700 netinet/ip_output.c 	hlen = ip->ip_hl << 2;
hlen              730 netinet/ip_output.c 			ip->ip_sum = in_cksum(m, hlen);
hlen              803 netinet/ip_output.c 	int len, hlen, off;
hlen              811 netinet/ip_output.c 	hlen = ip->ip_hl << 2;
hlen              813 netinet/ip_output.c 	len = (mtu - hlen) &~ 7;
hlen              837 netinet/ip_output.c 	for (off = hlen + len; off < ntohs(ip->ip_len); off += len) {
hlen              851 netinet/ip_output.c 		if (hlen > sizeof (struct ip)) {
hlen              856 netinet/ip_output.c 		mhip->ip_off = ((off - hlen) >> 3) +
hlen              891 netinet/ip_output.c 	m_adj(m, hlen + firstlen - ntohs(ip->ip_len));
hlen              892 netinet/ip_output.c 	m->m_pkthdr.len = hlen + firstlen;
hlen              902 netinet/ip_output.c 		ip->ip_sum = in_cksum(m, hlen);
hlen               80 netinet/ip_spd.c ipsp_spd_lookup(struct mbuf *m, int af, int hlen, int *error, int direction,
hlen              119 netinet/ip_spd.c 		if (hlen < sizeof (struct ip) || m->m_pkthdr.len < hlen) {
hlen              146 netinet/ip_spd.c 			if (m->m_pkthdr.len < hlen + 2 * sizeof(u_int16_t)) {
hlen              157 netinet/ip_spd.c 			m_copydata(m, hlen, sizeof(u_int16_t),
hlen              159 netinet/ip_spd.c 			m_copydata(m, hlen + sizeof(u_int16_t), sizeof(u_int16_t),
hlen              173 netinet/ip_spd.c 		if (hlen < sizeof (struct ip6_hdr) || m->m_pkthdr.len < hlen) {
hlen              203 netinet/ip_spd.c 			if (m->m_pkthdr.len < hlen + 2 * sizeof(u_int16_t)) {
hlen              214 netinet/ip_spd.c 			m_copydata(m, hlen, sizeof(u_int16_t),
hlen              216 netinet/ip_spd.c 			m_copydata(m, hlen + sizeof(u_int16_t), sizeof(u_int16_t),
hlen              241 netinet/ip_spd.c 		return ipsp_spd_inp(m, af, hlen, error, direction,
hlen              266 netinet/ip_spd.c 		return ipsp_spd_inp(m, af, hlen, error, direction, tdbp,
hlen              366 netinet/ip_spd.c 			return ipsp_spd_inp(m, af, hlen, error, direction,
hlen              401 netinet/ip_spd.c 				return ipsp_spd_inp(m, af, hlen, error,
hlen              430 netinet/ip_spd.c 			return ipsp_spd_inp(m, af, hlen, error, direction,
hlen              438 netinet/ip_spd.c 				return ipsp_spd_inp(m, af, hlen, error,
hlen              471 netinet/ip_spd.c 			return ipsp_spd_inp(m, af, hlen, error, direction,
hlen              540 netinet/ip_spd.c 				return ipsp_spd_inp(m, af, hlen, error,
hlen              551 netinet/ip_spd.c 			return ipsp_spd_inp(m, af, hlen, error, direction,
hlen              890 netinet/ip_spd.c ipsp_spd_inp(struct mbuf *m, int af, int hlen, int *error, int direction,
hlen              826 netinet/ipsec_input.c 		int hlen = ip->ip_hl << 2;
hlen              847 netinet/ipsec_input.c 		bcopy((caddr_t)ip + hlen, &spi, sizeof(u_int32_t));
hlen             3139 netinet/tcp_input.c 	u_int hlen;
hlen             3144 netinet/tcp_input.c 		hlen = sizeof(struct ip6_hdr);
hlen             3148 netinet/tcp_input.c 		hlen = sizeof(struct ip);
hlen             3151 netinet/tcp_input.c 		hlen = 0;
hlen             3154 netinet/tcp_input.c 	hlen += sizeof(struct tcphdr);
hlen             3158 netinet/tcp_input.c 		hlen += TCPOLEN_TSTAMP_APPA;
hlen             3161 netinet/tcp_input.c 		hlen += TCPOLEN_SIGLEN;
hlen             3163 netinet/tcp_input.c 	return (hlen);
hlen             3631 netinet/tcp_input.c syn_cache_get(src, dst, th, hlen, tlen, so, m)
hlen             3635 netinet/tcp_input.c 	unsigned int hlen, tlen;
hlen             4145 netinet/tcp_input.c 	u_int hlen;
hlen             4150 netinet/tcp_input.c 		hlen = sizeof(struct ip);
hlen             4155 netinet/tcp_input.c 		hlen = sizeof(struct ip6_hdr);
hlen             4175 netinet/tcp_input.c 	tlen = hlen + sizeof(struct tcphdr) + optlen;
hlen             4313 netinet/tcp_input.c 		    hlen, 0, optp) < 0) {
hlen             4331 netinet/tcp_input.c 		ip->ip_len = htons(tlen - hlen);
hlen             4337 netinet/tcp_input.c 		ip6->ip6_plen = htons(tlen - hlen);
hlen             4339 netinet/tcp_input.c 		th->th_sum = in6_cksum(m, IPPROTO_TCP, hlen, tlen - hlen);
hlen             4363 netinet/tcp_input.c 		ip6->ip6_plen = htons(tlen - hlen);
hlen              159 netinet6/ip6_output.c 	int hlen, tlen, len, off;
hlen              868 netinet6/ip6_output.c 		hlen = unfragpartlen;
hlen              881 netinet6/ip6_output.c 		len = (mtu - hlen - sizeof(struct ip6_frag)) & ~7;
hlen              914 netinet6/ip6_output.c 		for (off = hlen; off < tlen; off += len) {
hlen              931 netinet6/ip6_output.c 			error = ip6_insertfraghdr(m0, m, hlen, &ip6f);
hlen              936 netinet6/ip6_output.c 			ip6f->ip6f_offlg = htons((u_int16_t)((off - hlen) & ~7));
hlen              941 netinet6/ip6_output.c 			mhip6->ip6_plen = htons((u_int16_t)(len + hlen +
hlen              951 netinet6/ip6_output.c 			m->m_pkthdr.len = len + hlen + sizeof(*ip6f);
hlen             1003 netinet6/ip6_output.c ip6_copyexthdr(mp, hdr, hlen)
hlen             1006 netinet6/ip6_output.c 	int hlen;
hlen             1010 netinet6/ip6_output.c 	if (hlen > MCLBYTES)
hlen             1017 netinet6/ip6_output.c 	if (hlen > MLEN) {
hlen             1024 netinet6/ip6_output.c 	m->m_len = hlen;
hlen             1026 netinet6/ip6_output.c 		bcopy(hdr, mtod(m, caddr_t), hlen);
hlen             1133 netinet6/ip6_output.c ip6_insertfraghdr(m0, m, hlen, frghdrp)
hlen             1135 netinet6/ip6_output.c 	int hlen;
hlen             1140 netinet6/ip6_output.c 	if (hlen > sizeof(struct ip6_hdr)) {
hlen             1142 netinet6/ip6_output.c 		    hlen - sizeof(struct ip6_hdr), M_DONTWAIT);
hlen             2246 netinet6/ip6_output.c 		int hlen = (((struct ip6_ext *)src->type)->ip6e_len + 1) << 3;\
hlen             2247 netinet6/ip6_output.c 		dst->type = malloc(hlen, M_IP6OPT, canwait);\
hlen             2250 netinet6/ip6_output.c 		bcopy(src->type, dst->type, hlen);\
hlen              129 netinet6/udp6_output.c 	int af, hlen;
hlen              216 netinet6/udp6_output.c 		hlen = sizeof(struct ip6_hdr);
hlen              219 netinet6/udp6_output.c 		hlen = sizeof(struct ip);
hlen              226 netinet6/udp6_output.c 	M_PREPEND(m, hlen + sizeof(struct udphdr), M_DONTWAIT);
hlen              235 netinet6/udp6_output.c 	udp6 = (struct udphdr *)(mtod(m, caddr_t) + hlen);