/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ip.c | 91 uint16_t iplen, uitmp; in interpret_ip() local 94 iplen = interpret_ipv6(flags, (ip6_t *)ip, fraglen); in interpret_ip() 95 return (iplen); in interpret_ip() 105 iplen = ntohs(ip->ip_len) - hdrlen; in interpret_ip() 107 if (fraglen > iplen) in interpret_ip() 108 fraglen = iplen; in interpret_ip() 113 return (fraglen + iplen); in interpret_ip() 147 iplen > fraglen ? "?" : "", in interpret_ip() 155 show_header("IP: ", "IP Header", iplen); in interpret_ip() 186 iplen > fraglen ? " -- truncated" : ""); in interpret_ip() [all …]
|
H A D | snoop_ipsec.c | 52 interpret_esp(int flags, uint8_t *hdr, int iplen, int fraglen) in interpret_esp() argument 103 interpret_ah(int flags, uint8_t *hdr, int iplen, int fraglen) in interpret_ah() argument 187 new_iplen = iplen - ahlen; in interpret_ah() 195 (void) print_ipv6_extensions(flags, &data, &proto, &iplen, in interpret_ah()
|
H A D | snoop_udp.c | 48 interpret_udp(int flags, struct udphdr *udp, int iplen, int fraglen) in interpret_udp() argument
|
H A D | snoop_tcp.c | 78 interpret_tcp(int flags, struct tcphdr *tcp, int iplen, int fraglen) in interpret_tcp() argument 90 tcplen = iplen - hdrlen; in interpret_tcp()
|
H A D | snoop_igmp.c | 49 interpret_igmp(int flags, char *data, int iplen, int ilen) in interpret_igmp() argument
|
H A D | snoop_ospf.c | 538 interpret_ospf(int flags, struct ospfhdr *ospf, int iplen, int fraglen) in interpret_ospf() argument 610 return (interpret_ospf6(flags, ospf, iplen, fraglen)); in interpret_ospf()
|
H A D | snoop_icmp.c | 69 interpret_icmp(int flags, struct icmp *icmp, int iplen, int ilen) in interpret_icmp() argument 443 interpret_icmpv6(int flags, icmp6_t *icmp6, int iplen, int ilen) in interpret_icmpv6() argument
|
H A D | snoop_ospf6.c | 585 interpret_ospf6(int flags, struct ospf6hdr *ospf, int iplen, int fraglen) in interpret_ospf6() argument 602 return (interpret_ospf(flags, ospf, iplen, fraglen)); in interpret_ospf6()
|
H A D | snoop_sctp.c | 1064 interpret_sctp(int flags, sctp_hdr_t *sctp, int iplen, int fraglen) in interpret_sctp() argument 1095 len_from_iphdr = iplen - sizeof (*sctp); in interpret_sctp()
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | ipv4.c | 86 fragment[i].ipid, fragment[i].iplen, fragment[i].iphlen); in frag_disp() 87 total += (fragment[i].iplen - fragment[i].iphlen); in frag_disp() 140 int16_t iplen, int16_t iphlen, uint8_t ipp) in frag_add() argument 159 fragment[i].iplen = iplen; in frag_add() 234 total = fragment[last_frag].offset + fragment[last_frag].iplen - in frag_chk() 238 actual += (fragment[i].iplen - fragment[i].iphlen); in frag_chk() 278 len = fragment[i].iplen; in frag_load() 281 len = fragment[i].iplen - fragment[i].iphlen; in frag_load() 605 fragment[last_frag].iplen - fragment[last_frag].iphlen; in make_trans_datagram() 692 uint16_t iphlen, iplen, ip_id; in ipv4_input() local [all …]
|
H A D | ipv4_impl.h | 52 int16_t iplen; /* IP datagram's length */ member
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 424 int hlen = 0, alen, iplen, len, isans; in _nss_dns_gethost_withttl() local 715 iplen = strlen(np); in _nss_dns_gethost_withttl() 717 len = iplen + 2 + hlen + alen; in _nss_dns_gethost_withttl() 725 blen += iplen; in _nss_dns_gethost_withttl() 726 bptr += iplen; in _nss_dns_gethost_withttl()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_locationop_read.c | 636 Dwarf_Small iplen = offset_size; in _dwarf_read_loc_expr_op() local 638 iplen = address_size; in _dwarf_read_loc_expr_op() 641 iplen,error,section_end); in _dwarf_read_loc_expr_op() 642 loc_ptr = loc_ptr + iplen; in _dwarf_read_loc_expr_op() 647 offset = offset + iplen; in _dwarf_read_loc_expr_op()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | nic.c | 779 unsigned iplen = 0; in process_igmp() local 784 iplen = (ip->verhdrlen & 0xf)*4; in process_igmp() 786 if (ipchksum(igmp, ntohs(ip->len) - iplen) != 0) in process_igmp() 885 unsigned iplen = 0; in await_reply() local 930 iplen = (ip->verhdrlen & 0xf) * 4; in await_reply() 931 if (ipchksum(ip, iplen) != 0) in await_reply() 944 ipoptlen = iplen - sizeof(struct iphdr); in await_reply() 950 &nic.packet[ETH_HLEN + iplen], in await_reply() 961 if (ntohs(udp->len) > (ntohs(ip->len) - iplen)) in await_reply()
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | classifier.c | 493 uint_t iplen; in get_port_info() local 501 iplen = (ipha->ipha_version_and_hdr_length & 0xF) << 2; in get_port_info() 502 up = (uint16_t *)(mp->b_rptr + iplen); in get_port_info()
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 116 uint_t iplen; in flowacct_port_info() local 123 iplen = (ipha->ipha_version_and_hdr_length & 0xF) << 2; in flowacct_port_info() 124 up = (uint16_t *)(mp->b_rptr + iplen); in flowacct_port_info()
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_82575.h | 103 u32 iplen:9; member
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 3292 int iplen; in iptun_output_check_label() local 3316 iplen = ntohs(ipha->ipha_length); in iptun_output_check_label() 3324 adjust = (int)ntohs(ipha->ipha_length) - iplen; in iptun_output_check_label() 3329 iplen = ntohs(ip6h->ip6_plen); in iptun_output_check_label() 3338 adjust = (int)ntohs(ip6h->ip6_plen) - iplen; in iptun_output_check_label()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | tnet.c | 1466 uint16_t iplen; in tsol_ip_forward() local 1658 iplen = ntohs(ipha->ipha_length) + adjust; in tsol_ip_forward() 1659 ipha->ipha_length = htons(iplen); in tsol_ip_forward()
|
H A D | ip_mroute.c | 2340 int iplen, pimlen, iphlen; in pim_input() local 2359 iplen = ip->ipha_length; in pim_input() 2361 pimlen = ntohs(iplen) - iphlen; in pim_input()
|
H A D | sadb.c | 7779 int iplen; local 7785 iplen = ntohs(ipha->ipha_length); 7792 adjust = (int)ntohs(ipha->ipha_length) - iplen; 7797 iplen = ntohs(ip6h->ip6_plen); 7804 adjust = (int)ntohs(ip6h->ip6_plen) - iplen;
|
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | sge.c | 1920 int iplen = IPH_HDR_LENGTH(ihdr); in calc_ocsum() local 1921 struct udphdr *udpp = (struct udphdr *)(mp->b_rptr + offset + iplen); in calc_ocsum() 1944 byte = mp->b_rptr + offset + iplen; in calc_ocsum()
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnf.c | 1561 uint16_t sap, iplen, *stuff; in xnf_pseudo_cksum() local 1609 iplen = ntohs(ipha->ipha_length) - IP_SIMPLE_HDR_LENGTH; in xnf_pseudo_cksum() 1646 cksum += htons(iplen); in xnf_pseudo_cksum()
|
/illumos-gate/usr/src/uts/common/io/sfe/ |
H A D | sfe_util.c | 228 uint_t iplen; in gem_dump_packet() local 305 iplen = GET_NET16(&p[2]); in gem_dump_packet() 309 ipproto, iplen); in gem_dump_packet() 325 tcplen = iplen - iphlen; in gem_dump_packet()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_msg.h | 1350 __be16 iplen; member
|