/titanic_44/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 | 50 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_icmp.c | 65 interpret_icmp(int flags, struct icmp *icmp, int iplen, int ilen) in interpret_icmp() argument 440 interpret_icmpv6(flags, icmp6, iplen, ilen) in interpret_icmpv6() argument 443 int iplen, ilen;
|
H A D | snoop_igmp.c | 51 interpret_igmp(int flags, char *data, int iplen, int ilen) in interpret_igmp() argument
|
H A D | snoop_ospf.c | 540 interpret_ospf(int flags, struct ospfhdr *ospf, int iplen, int fraglen) in interpret_ospf() argument 612 return (interpret_ospf6(flags, ospf, iplen, fraglen)); in interpret_ospf()
|
H A D | snoop_ospf6.c | 587 interpret_ospf6(int flags, struct ospf6hdr *ospf, int iplen, int fraglen) in interpret_ospf6() argument 604 return (interpret_ospf(flags, ospf, iplen, fraglen)); in interpret_ospf6()
|
H A D | snoop_sctp.c | 1066 interpret_sctp(int flags, sctp_hdr_t *sctp, int iplen, int fraglen) in interpret_sctp() argument 1097 len_from_iphdr = iplen - sizeof (*sctp); in interpret_sctp()
|
/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 161 fragment[i].iplen = iplen; in frag_add() 236 total = fragment[last_frag].offset + fragment[last_frag].iplen - in frag_chk() 240 actual += (fragment[i].iplen - fragment[i].iphlen); in frag_chk() 280 len = fragment[i].iplen; in frag_load() 283 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
|
/titanic_44/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 431 int hlen = 0, alen, iplen, len, isans; in _nss_dns_gethost_withttl() local 722 iplen = strlen(np); in _nss_dns_gethost_withttl() 724 len = iplen + 2 + hlen + alen; in _nss_dns_gethost_withttl() 732 blen += iplen; in _nss_dns_gethost_withttl() 733 bptr += iplen; in _nss_dns_gethost_withttl()
|
/titanic_44/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()
|
/titanic_44/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()
|
/titanic_44/usr/src/uts/common/io/i40e/ |
H A D | i40e_transceiver.c | 1769 uint8_t ipproto, iplen, l4len, maclen; in mac_ether_offload_info() local 1797 if (i40e_meoi_get_uint8(mp, off, &iplen) != 0) in mac_ether_offload_info() 1799 iplen &= 0x0f; in mac_ether_offload_info() 1800 if (iplen < 5 || iplen > 0x0f) in mac_ether_offload_info() 1802 iplen *= 4; in mac_ether_offload_info() 1808 iplen = 40; in mac_ether_offload_info() 1816 meoi->meoi_l3hlen = iplen; in mac_ether_offload_info() 1822 off = offsetof(tcph_t, th_offset_and_rsrvd) + maclen + iplen; in mac_ether_offload_info()
|
/titanic_44/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()
|
/titanic_44/usr/src/uts/common/io/e1000api/ |
H A D | e1000_82575.h | 103 u32 iplen:9; member
|
/titanic_44/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 3290 int iplen; in iptun_output_check_label() local 3314 iplen = ntohs(ipha->ipha_length); in iptun_output_check_label() 3322 adjust = (int)ntohs(ipha->ipha_length) - iplen; in iptun_output_check_label() 3327 iplen = ntohs(ip6h->ip6_plen); in iptun_output_check_label() 3336 adjust = (int)ntohs(ip6h->ip6_plen) - iplen; in iptun_output_check_label()
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | tnet.c | 1466 uint16_t iplen; in tsol_ip_forward() local 1655 iplen = ntohs(ipha->ipha_length) + adjust; in tsol_ip_forward() 1656 ipha->ipha_length = htons(iplen); in tsol_ip_forward()
|
H A D | ip_mroute.c | 2333 int iplen, pimlen, iphlen; in pim_input() local 2352 iplen = ip->ipha_length; in pim_input() 2354 pimlen = ntohs(iplen) - iphlen; in pim_input()
|
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;
|
/titanic_44/usr/src/uts/common/io/chxge/ |
H A D | sge.c | 1922 int iplen = IPH_HDR_LENGTH(ihdr); in calc_ocsum() local 1923 struct udphdr *udpp = (struct udphdr *)(mp->b_rptr + offset + iplen); in calc_ocsum() 1946 byte = mp->b_rptr + offset + iplen; in calc_ocsum()
|
/titanic_44/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()
|
/titanic_44/usr/src/uts/common/io/cxgbe/firmware/ |
H A D | t4fw_interface.h | 551 __be16 iplen; member
|