Searched refs:iplen (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ip.c91 uint16_t iplen, uitmp; local
94 iplen = interpret_ipv6(flags, (ip6_t *)ip, fraglen);
95 return (iplen);
105 iplen = ntohs(ip->ip_len) - hdrlen;
107 if (fraglen > iplen)
108 fraglen = iplen;
113 return (fraglen + iplen);
147 iplen > fraglen ? "?" : "",
155 show_header("IP: ", "IP Header", iplen);
186 iplen > fragle
315 int hdrlen, iplen; local
358 src_name, dst_name, iplen, ip6h->ip6_hops, class, flow); local
493 print_ipv6_extensions(int flags, uint8_t **hdr, uint8_t *next, int *iplen, int *fraglen) argument
[all...]
H A Dsnoop_ipsec.c52 interpret_esp(int flags, uint8_t *hdr, int iplen, int fraglen) argument
103 interpret_ah(int flags, uint8_t *hdr, int iplen, int fraglen) argument
187 new_iplen = iplen - ahlen;
195 (void) print_ipv6_extensions(flags, &data, &proto, &iplen,
H A Dsnoop_udp.c50 interpret_udp(int flags, struct udphdr *udp, int iplen, int fraglen) argument
H A Dsnoop_igmp.c51 interpret_igmp(int flags, char *data, int iplen, int ilen) argument
H A Dsnoop_tcp.c78 interpret_tcp(int flags, struct tcphdr *tcp, int iplen, int fraglen) argument
90 tcplen = iplen - hdrlen;
H A Dsnoop_icmp.c65 interpret_icmp(int flags, struct icmp *icmp, int iplen, int ilen) argument
440 interpret_icmpv6(flags, icmp6, iplen, ilen)
443 int iplen, ilen;
H A Dsnoop_ospf.c540 interpret_ospf(int flags, struct ospfhdr *ospf, int iplen, int fraglen) argument
612 return (interpret_ospf6(flags, ospf, iplen, fraglen));
H A Dsnoop_ospf6.c587 interpret_ospf6(int flags, struct ospf6hdr *ospf, int iplen, int fraglen) argument
604 return (interpret_ospf(flags, ospf, iplen, fraglen));
H A Dsnoop_sctp.c1066 interpret_sctp(int flags, sctp_hdr_t *sctp, int iplen, int fraglen) argument
1097 len_from_iphdr = iplen - sizeof (*sctp);
/illumos-gate/usr/src/stand/lib/inet/
H A Dipv4_impl.h52 int16_t iplen; /* IP datagram's length */ member in struct:ip_frag
H A Dipv4.c88 fragment[i].ipid, fragment[i].iplen, fragment[i].iphlen);
89 total += (fragment[i].iplen - fragment[i].iphlen);
142 int16_t iplen, int16_t iphlen, uint8_t ipp)
161 fragment[i].iplen = iplen;
236 total = fragment[last_frag].offset + fragment[last_frag].iplen -
240 actual += (fragment[i].iplen - fragment[i].iphlen);
280 len = fragment[i].iplen;
283 len = fragment[i].iplen - fragment[i].iphlen;
605 fragment[last_frag].iplen
141 frag_add(int16_t offset, mblk_t *mp, uint16_t ipid, int16_t iplen, int16_t iphlen, uint8_t ipp) argument
692 uint16_t iphlen, iplen, ip_id; local
[all...]
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c431 int hlen = 0, alen, iplen, len, isans; local
722 iplen = strlen(np);
724 len = iplen + 2 + hlen + alen;
732 blen += iplen;
733 bptr += iplen;
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dnic.c779 unsigned iplen = 0; local
784 iplen = (ip->verhdrlen & 0xf)*4;
786 if (ipchksum(igmp, ntohs(ip->len) - iplen) != 0)
885 unsigned iplen = 0; local
930 iplen = (ip->verhdrlen & 0xf) * 4;
931 if (ipchksum(ip, iplen) != 0)
944 ipoptlen = iplen - sizeof(struct iphdr);
950 &nic.packet[ETH_HLEN + iplen],
961 if (ntohs(udp->len) > (ntohs(ip->len) - iplen))
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_transceiver.c1690 uint8_t ipproto, iplen, l4len, maclen; local
1718 if (i40e_meoi_get_uint8(mp, off, &iplen) != 0)
1720 iplen &= 0x0f;
1721 if (iplen < 5 || iplen > 0x0f)
1723 iplen *= 4;
1729 iplen = 40;
1737 meoi->meoi_l3hlen = iplen;
1743 off = offsetof(tcph_t, th_offset_and_rsrvd) + maclen + iplen;
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.c493 uint_t iplen; local
501 iplen = (ipha->ipha_version_and_hdr_length & 0xF) << 2;
502 up = (uint16_t *)(mp->b_rptr + iplen);
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_82575.h103 u32 iplen:9; member in struct:e1000_adv_context_desc::__anon107::__anon108
/illumos-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacct.c116 uint_t iplen; local
123 iplen = (ipha->ipha_version_and_hdr_length & 0xF) << 2;
124 up = (uint16_t *)(mp->b_rptr + iplen);
/illumos-gate/usr/src/uts/common/inet/iptun/
H A Diptun.c3292 int iplen; local
3316 iplen = ntohs(ipha->ipha_length);
3324 adjust = (int)ntohs(ipha->ipha_length) - iplen;
3329 iplen = ntohs(ip6h->ip6_plen);
3338 adjust = (int)ntohs(ip6h->ip6_plen) - iplen;
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtnet.c1466 uint16_t iplen; local
1655 iplen = ntohs(ipha->ipha_length) + adjust;
1656 ipha->ipha_length = htons(iplen);
H A Dip_mroute.c2333 int iplen, pimlen, iphlen; local
2352 iplen = ip->ipha_length;
2354 pimlen = ntohs(iplen) - iphlen;
H A Dsadb.c7498 int iplen; local
7504 iplen = ntohs(ipha->ipha_length);
7511 adjust = (int)ntohs(ipha->ipha_length) - iplen;
7516 iplen = ntohs(ip6h->ip6_plen);
7523 adjust = (int)ntohs(ip6h->ip6_plen) - iplen;
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.c1922 int iplen = IPH_HDR_LENGTH(ihdr); local
1923 struct udphdr *udpp = (struct udphdr *)(mp->b_rptr + offset + iplen);
1946 byte = mp->b_rptr + offset + iplen;
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe_util.c228 uint_t iplen; local
305 iplen = GET_NET16(&p[2]);
306 sprintf(bp, ", ip: %d.%d.%d.%d -> %d.%d.%d.%d proto:%d iplen:%d",
309 ipproto, iplen);
325 tcplen = iplen - iphlen;
/illumos-gate/usr/src/uts/common/io/usbgem/
H A Dusbgem.c299 uint_t iplen; local
376 iplen = GET_NET16(&p[2]);
377 sprintf(bp, ", ip: %d.%d.%d.%d -> %d.%d.%d.%d proto:%d iplen:%d",
380 ipproto, iplen);
396 tcplen = iplen - iphlen;
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/
H A Dt4fw_interface.h551 __be16 iplen; member in struct:fw_eth_tx_uo_wr

Completed in 215 milliseconds