Searched refs:iphlen (Results 1 – 9 of 9) sorted by relevance
/titanic_44/usr/src/stand/lib/inet/ |
H A D | ipv4.c | 88 fragment[i].ipid, fragment[i].iplen, fragment[i].iphlen); in frag_disp() 89 total += (fragment[i].iplen - fragment[i].iphlen); in frag_disp() 142 int16_t iplen, int16_t iphlen, uint8_t ipp) in frag_add() argument 162 fragment[i].iphlen = iphlen; in frag_add() 237 fragment[last_frag].iphlen; in frag_chk() 240 actual += (fragment[i].iplen - fragment[i].iphlen); in frag_chk() 271 first_iph_len = fragment[i].iphlen; in frag_load() 283 len = fragment[i].iplen - fragment[i].iphlen; in frag_load() 294 fragment[i].iphlen), in frag_load() 584 struct in_addr ipdst, uint16_t iphlen) in make_trans_datagram() argument [all …]
|
H A D | icmp4.c | 57 icmp4(struct inetgram *igp, struct ip *iphp, uint16_t iphlen, in icmp4() argument 64 icmp_len = ntohs(iphp->ip_len) - iphlen; in icmp4() 73 icmphp = (struct icmp *)(igp->igm_mp->b_rptr + iphlen); in icmp4()
|
H A D | ipv4_impl.h | 53 int16_t iphlen; /* Len of IP header */ member
|
/titanic_44/usr/src/uts/common/io/nxge/ |
H A D | nxge_send.c | 1262 int ehlen, iphlen, tcphlen; in nxge_do_softlso() local 1299 iphlen = oiph->ip_hl * 4; in nxge_do_softlso() 1300 otcph = (struct tcphdr *)(mp->b_rptr + ehlen + iphlen); in nxge_do_softlso() 1303 l4_len = pktlen - ehlen - iphlen; in nxge_do_softlso() 1319 ntohs(oiph->ip_len) - iphlen)); in nxge_do_softlso() 1352 otcph = (struct tcphdr *)(mp->b_rptr + ehlen + iphlen); in nxge_do_softlso() 1358 hdrlen = ehlen + iphlen + tcphlen; in nxge_do_softlso() 1375 pktlen, hdrlen, ehlen, iphlen, tcphlen, in nxge_do_softlso() 1590 niph->ip_len = htons(mss + iphlen + tcphlen); in nxge_do_softlso() 1592 ntcph = (struct tcphdr *)(nmp->b_rptr + ehlen + iphlen); in nxge_do_softlso() [all …]
|
/titanic_44/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | spppcomp.c | 1519 uint_t iphlen; in spppcomp_inpkt() local 1535 &cp->cp_vj, &iphdr, &iphlen); in spppcomp_inpkt() 1537 if (vjlen < 0 || iphlen == 0) { in spppcomp_inpkt() 1558 np = allocb(iphlen + PPP_HDRLEN, BPRI_MED); in spppcomp_inpkt() 1572 bcopy((caddr_t)iphdr, (caddr_t)dp + PPP_HDRLEN, iphlen); in spppcomp_inpkt() 1573 np->b_wptr = dp + iphlen + PPP_HDRLEN; in spppcomp_inpkt()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_probe.c | 374 int iphlen; in in_data() local 426 iphlen = ip->ip_hl << 2; in in_data() 427 if (len < iphlen + ICMP_MINLEN) { in in_data() 439 len -= iphlen; in in_data() 441 reply = (struct pr_icmp *)((char *)in_packet + iphlen); in in_data()
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | igmp.c | 315 int iphlen, igmplen, mblklen; in igmp_input() local 329 iphlen = ira->ira_ip_hdr_length; in igmp_input() 330 if (mblklen < 1 || mblklen < iphlen) { in igmp_input() 334 igmplen = ira->ira_pktlen - iphlen; in igmp_input() 339 if (MBLKL(mp) < (igmplen + iphlen)) { in igmp_input() 358 igmpa = (igmpa_t *)(&mp->b_rptr[iphlen]); in igmp_input()
|
H A D | ip_mroute.c | 2333 int iplen, pimlen, iphlen; in pim_input() local 2353 iphlen = IPH_HDR_LENGTH(ip); in pim_input() 2354 pimlen = ntohs(iplen) - iphlen; in pim_input() 2374 pimp = (struct pim *)((caddr_t)ip + iphlen); in pim_input() 2456 mp_copy->b_rptr += iphlen + sizeof (pim_t) + sizeof (*reghdr); in pim_input() 2458 ira->ira_pktlen -= iphlen + sizeof (pim_t) + sizeof (*reghdr); in pim_input()
|
/titanic_44/usr/src/uts/common/io/sfe/ |
H A D | sfe_util.c | 229 uint_t iphlen; in gem_dump_packet() local 312 iphlen = (p[0] & 0xf) * 4; in gem_dump_packet() 322 offset += iphlen; in gem_dump_packet() 325 tcplen = iplen - iphlen; in gem_dump_packet()
|