| /freebsd-10-stable/sbin/natd/ |
| D | icmp.c | 77 failHdrLen = (failedDgram->ip_hl << 2); in SendNeedFragIcmp() 97 ip->ip_hl = 5; in SendNeedFragIcmp()
|
| /freebsd-10-stable/sys/netinet/ |
| D | ip_options.c | 120 cnt = (ip->ip_hl << 2) - sizeof (struct ip); in ip_dooptions() 467 olen = (ip->ip_hl << 2) - sizeof(struct ip); in ip_stripoptions() 472 ip->ip_hl = sizeof(struct ip) >> 2; in ip_stripoptions() 526 ip->ip_hl = *phlen >> 2; in ip_insertoptions() 543 cnt = (ip->ip_hl << 2) - sizeof (struct ip); in ip_optcopy() 706 cnt = (ip->ip_hl << 2) - sizeof (struct ip); in ip_checkrouteralert()
|
| D | ip.h | 51 u_char ip_hl:4, /* header length */ member 56 ip_hl:4; /* header length */ member
|
| D | ip_output.c | 186 ip->ip_hl = hlen >> 2; in ip_output() 191 hlen = ip->ip_hl << 2; in ip_output() 504 hlen = ip->ip_hl << 2; in ip_output() 596 sctp_delayed_cksum(m, (uint32_t)(ip->ip_hl << 2)); in ip_output() 706 int hlen = ip->ip_hl << 2; in ip_fragment() 823 mhip->ip_hl = mhlen >> 2; in ip_fragment() 881 offset = ip->ip_hl << 2 ; in in_delayed_cksum()
|
| D | ip_icmp.c | 221 register unsigned oiphlen = oip->ip_hl << 2; in icmp_error() 355 nip->ip_hl = 5; in icmp_error() 517 icp->icmp_ip.ip_hl < (sizeof(struct ip) >> 2)) { in icmp_input() 645 icp->icmp_ip.ip_hl < (sizeof(struct ip) >> 2)) { in icmp_input() 711 int optlen = (ip->ip_hl << 2) - sizeof(struct ip); in icmp_reflect() 898 hlen = ip->ip_hl << 2; in icmp_send()
|
| D | ip_input.c | 376 hlen = ip->ip_hl << 2; in ip_input() 398 hlen = ip->ip_hl << 2; in ip_input() 715 hlen = ip->ip_hl << 2; in ip_input() 834 hlen = ip->ip_hl << 2; in ip_reass() 1059 if (next + (ip->ip_hl << 2) > IP_MAXPACKET) { in ip_reass() 1100 ip->ip_len = htons((ip->ip_hl << 2) + next); in ip_reass() 1106 m->m_len += (ip->ip_hl << 2); in ip_reass() 1107 m->m_data -= (ip->ip_hl << 2); in ip_reass()
|
| D | siftr.c | 832 unsigned int ip_hl; in siftr_chkpkt() local 867 ip_hl = (ip->ip_hl << 2); in siftr_chkpkt() 868 th = (struct tcphdr *)((caddr_t)ip + ip_hl); in siftr_chkpkt() 967 ip_hl); in siftr_chkpkt() 976 pn->hash = hash_pkt(*m, ip_hl); in siftr_chkpkt()
|
| /freebsd-10-stable/sys/netinet/libalias/ |
| D | alias_util.c | 102 (pip->ip_hl << 2))); in IpChecksum() 114 nhdr = pip->ip_hl << 2; in TcpChecksum()
|
| D | alias_ftp.c | 236 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleFtpOut() 300 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleFtpIn() 676 hlen = (pip->ip_hl + tc->th_off) << 2; in NewFtpMessage() 747 AddSeq(lnk, delta + slen - dlen, pip->ip_hl, in NewFtpMessage()
|
| D | alias_smedia.c | 254 hlen = (pip->ip_hl + tc->th_off) << 2; in alias_rtsp_out() 409 AddSeq(lnk, delta + new_dlen - dlen, pip->ip_hl, pip->ip_len, in alias_rtsp_out() 495 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleRtspOut()
|
| D | alias_proxy.c | 332 hlen = (pip->ip_hl + tc->th_off) << 2; in ProxyEncodeTcpStream() 354 AddSeq(lnk, delta + slen, pip->ip_hl, pip->ip_len, tc->th_seq, in ProxyEncodeTcpStream() 397 if (pip->ip_hl > (0x0f - OPTION_LEN_INT32)) in ProxyEncodeIpHeader() 433 pip->ip_hl += OPTION_LEN_INT32; in ProxyEncodeIpHeader()
|
| D | alias_irc.c | 182 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleIrcOut() 444 AddSeq(lnk, delta + copyat + iCopy - dlen, pip->ip_hl, in AliasHandleIrcOut()
|
| D | alias_local.h | 344 void AddSeq(struct alias_link *lnk, int delta, u_int ip_hl, 383 return (&p[iphdr->ip_hl * 4]); in ip_next()
|
| /freebsd-10-stable/sys/net/ |
| D | slcompress.c | 162 register u_int hlen = ip->ip_hl; 192 *(int32_t *)th != ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) { 214 ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) 492 hlen = ip->ip_hl << 2; 533 hlen = cs->cs_ip.ip_hl << 2;
|
| /freebsd-10-stable/usr.sbin/ppp/ |
| D | slcompress.c | 164 register u_int hlen = ip->ip_hl; in sl_compress_tcp() 200 *(int *) th != ((int *) &cs->cs_ip)[cs->cs_ip.ip_hl]) { in sl_compress_tcp() 221 && *(int *) th == ((int *) &cs->cs_ip)[cs->cs_ip.ip_hl]) in sl_compress_tcp() 454 hlen = ip->ip_hl << 2; in sl_uncompress_tcp() 501 hlen = cs->cs_ip.ip_hl << 2; in sl_uncompress_tcp()
|
| /freebsd-10-stable/contrib/ipfilter/ipsd/Celler/ |
| D | ip_compat.h | 162 __u8 ip_hl:4; member 165 __u8 ip_hl:4;
|
| /freebsd-10-stable/contrib/ipfilter/ipsend/.OLD/ |
| D | ip_compat.h | 164 __u8 ip_hl:4; member 167 __u8 ip_hl:4;
|
| /freebsd-10-stable/contrib/ipfilter/lib/ |
| D | printiphdr.c | 17 ip->ip_v, ip->ip_hl, ntohs(ip->ip_len), ip->ip_tos,
|
| /freebsd-10-stable/lib/libstand/ |
| D | udp.c | 91 ip->ip_hl = sizeof(*ip) >> 2; /* half-char */ 191 hlen = ip->ip_hl << 2;
|
| /freebsd-10-stable/sys/netipsec/ |
| D | ipsec_output.c | 207 const int hlen = (ip->ip_hl << 2); in ipsec_process_done() 512 ip->ip_sum = in_cksum(m, ip->ip_hl << 2); in ipsec4_process_packet() 576 i = ip->ip_hl << 2; in ipsec4_process_packet() 722 i = ip->ip_hl << 2; in ipsec6_process_packet()
|
| /freebsd-10-stable/contrib/ipfilter/ipsd/ |
| D | slinux.c | 56 bcopy(bp + (ip.ip_hl << 2), (char *)tcp, sizeof(*tcp));
|
| /freebsd-10-stable/cddl/lib/libdtrace/ |
| D | ip.d | 228 ntohs(((struct ip *)p)->ip_len) - (((struct ip *)p)->ip_hl << 2): 253 ipv4_ihl = p == NULL ? 0 : p->ip_hl;
|
| /freebsd-10-stable/tools/tools/net80211/w00t/redir/ |
| D | buddy.c | 69 if (ih->ip_hl != 5) in handle_data()
|
| /freebsd-10-stable/contrib/traceroute/ |
| D | traceroute.c | 784 outip->ip_hl = (outp - (u_char *)outip) >> 2; in main() 1044 -(outip->ip_hl << 3), in main() 1045 outip->ip_hl << 3, in main() 1329 hlen = ip->ip_hl << 2; in packet_ok() 1363 hlen = hip->ip_hl << 2; in packet_ok() 1574 hlen = ip->ip_hl << 2; in print()
|
| /freebsd-10-stable/contrib/ipfilter/iplang/ |
| D | iplang_y.y | 875 ip->ip_hl = sizeof(ip_t) >> 2; in new_packet() 939 inc = (newhl - ip->ip_hl) << 2; 941 ip->ip_hl = newhl; 1715 ip->ip_hl = (sizeof(*ip) + canip->ah_optlen) >> 2; in end_ipopt() 1750 ip->ip_sum = chksum((u_short *)ip, ip->ip_hl << 2); in end_ipv4() 1782 iptmp.ip_len = htons(ip->ip_len - (ip->ip_hl << 2)); in end_udp() 1803 iptmp.ip_len = htons(ip->ip_len - (ip->ip_hl << 2)); in end_tcp()
|