/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ip.c | 91 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 D | snoop_ipsec.c | 52 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 D | snoop_udp.c | 50 interpret_udp(int flags, struct udphdr *udp, int iplen, int fraglen) argument
|
H A D | snoop_igmp.c | 51 interpret_igmp(int flags, char *data, int iplen, int ilen) argument
|
H A D | snoop_tcp.c | 78 interpret_tcp(int flags, struct tcphdr *tcp, int iplen, int fraglen) argument 90 tcplen = iplen - hdrlen;
|
H A D | snoop_icmp.c | 65 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 D | snoop_ospf.c | 540 interpret_ospf(int flags, struct ospfhdr *ospf, int iplen, int fraglen) argument 612 return (interpret_ospf6(flags, ospf, iplen, fraglen));
|
H A D | snoop_ospf6.c | 587 interpret_ospf6(int flags, struct ospf6hdr *ospf, int iplen, int fraglen) argument 604 return (interpret_ospf(flags, ospf, iplen, fraglen));
|
H A D | snoop_sctp.c | 1066 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 D | ipv4_impl.h | 52 int16_t iplen; /* IP datagram's length */ member in struct:ip_frag
|
H A D | ipv4.c | 88 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 D | dns_common.c | 431 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 D | nic.c | 779 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 D | i40e_transceiver.c | 1690 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 D | classifier.c | 493 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 D | e1000_82575.h | 103 u32 iplen:9; member in struct:e1000_adv_context_desc::__anon107::__anon108
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 116 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 D | iptun.c | 3292 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 D | tnet.c | 1466 uint16_t iplen; local 1655 iplen = ntohs(ipha->ipha_length) + adjust; 1656 ipha->ipha_length = htons(iplen);
|
H A D | ip_mroute.c | 2333 int iplen, pimlen, iphlen; local 2352 iplen = ip->ipha_length; 2354 pimlen = ntohs(iplen) - iphlen;
|
H A D | sadb.c | 7498 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 D | sge.c | 1922 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 D | sfe_util.c | 228 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 D | usbgem.c | 299 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 D | t4fw_interface.h | 551 __be16 iplen; member in struct:fw_eth_tx_uo_wr
|