Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ip.c91 uint16_t iplen, uitmp; in interpret_ip() local
95 return (iplen); in interpret_ip()
107 if (fraglen > iplen) in interpret_ip()
108 fraglen = iplen; in interpret_ip()
239 iplen, in interpret_ip()
297 iplen); in interpret_ip()
308 return (iplen); in interpret_ip()
315 int hdrlen, iplen; in interpret_ipv6() local
449 iplen, fraglen); in interpret_ipv6()
472 iplen); in interpret_ipv6()
[all …]
H A Dsnoop_ipsec.c52 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 Dsnoop_udp.c48 interpret_udp(int flags, struct udphdr *udp, int iplen, int fraglen) in interpret_udp() argument
H A Dsnoop_tcp.c75 interpret_tcp(int flags, struct tcphdr *tcp, int iplen, int fraglen) in interpret_tcp() argument
87 tcplen = iplen - hdrlen; in interpret_tcp()
H A Dsnoop_icmp.c65 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 Dsnoop_igmp.c49 interpret_igmp(int flags, char *data, int iplen, int ilen) in interpret_igmp() argument
H A Dsnoop_ospf.c538 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 Dsnoop_ospf6.c585 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 Dsnoop_sctp.c1064 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 Dipv4.c87 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()
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()
692 uint16_t iphlen, iplen, ip_id; in ipv4_input() local
732 iplen = ntohs(iphp->ip_len); in ipv4_input()
733 if (iplen > msgdsize(igp->igm_mp)) { in ipv4_input()
790 igp->igm_mp->b_wptr = igp->igm_mp->b_rptr + iplen; in ipv4_input()
[all …]
H A Dipv4_impl.h52 int16_t iplen; /* IP datagram's length */ member
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_locationop_read.c636 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/lib/nsswitch/dns/common/
H A Ddns_common.c424 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/grub/grub-0.97/netboot/
H A Dnic.c779 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/io/mac/
H A Dmac_provider.c1766 uint8_t ipproto, iplen, l4len, maclen; in mac_ether_offload_info() local
1795 if (mac_meoi_get_uint8(mp, off, &iplen) != 0) in mac_ether_offload_info()
1797 iplen &= 0x0f; in mac_ether_offload_info()
1798 if (iplen < 5 || iplen > 0x0f) in mac_ether_offload_info()
1800 iplen *= 4; in mac_ether_offload_info()
1806 iplen = 40; in mac_ether_offload_info()
1814 meoi->meoi_l3hlen = iplen; in mac_ether_offload_info()
1820 off = offsetof(tcph_t, th_offset_and_rsrvd) + maclen + iplen; in mac_ether_offload_info()
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.c493 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 Dflowacct.c116 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 De1000_82575.h103 u32 iplen:9; member
/illumos-gate/usr/src/uts/common/inet/iptun/
H A Diptun.c3292 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 Dtnet.c1466 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 Dip_mroute.c2337 int iplen, pimlen, iphlen; in pim_input() local
2356 iplen = ip->ipha_length; in pim_input()
2358 pimlen = ntohs(iplen) - iphlen; in pim_input()
H A Dsadb.c7779 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 Dsge.c1920 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 Dxnf.c1561 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 Dsfe_util.c228 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()

12