/titanic_44/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ipv6.c | 139 hdr_len = sizeof (ip6_t) + tmpl_ip6hp->ip6_plen; in mac_ipv6_header() 155 ip6hp->ip6_plen = 0; in mac_ipv6_header() 246 if (pdata_size != sizeof (ip6_t) + ip6hp->ip6_plen) in mac_ipv6_pdata_verify() 255 return (ip6hp->ip6_plen == 0); in mac_ipv6_pdata_verify()
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 1210 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) - hbhlen); in tsol_remove_secopt_v6() 1242 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) - delta); in tsol_remove_secopt_v6() 1336 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) + delta); in tsol_prepend_option_v6()
|
H A D | ip6.c | 455 i = ntohs(ip6h->ip6_plen); in icmp_send_reply_v6() 457 ip6h->ip6_plen = htons(i); in icmp_send_reply_v6() 459 ASSERT(ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN == msgdsize(mp)); in icmp_send_reply_v6() 475 icmp6->icmp6_cksum = ip6h->ip6_plen; in icmp_send_reply_v6() 1390 ip6h->ip6_plen = htons((uint16_t)(msgdsize(mp) - IPV6_HDR_LEN)); in icmp_pkt_v6() 1397 icmp6->icmp6_cksum = ip6h->ip6_plen; in icmp_pkt_v6() 3438 if (more_frags && (ntohs(ip6h->ip6_plen) & 7)) { in ip_input_fragment_v6() 3441 (uint32_t)((char *)&ip6h->ip6_plen - in ip_input_fragment_v6() 3869 ip6h->ip6_plen = htons((uint16_t)(packet_size - IPV6_HDR_LEN)); in ip_input_fragment_v6() 4138 ASSERT(ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN == pkt_len); in ip_fragment_v6() [all …]
|
H A D | ipsecah.c | 2118 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) - ah_length); in ah_icmp_error_v6() 3117 ip6h->ip6_plen = htons(ntohs(oip6h->ip6_plen) + in ah_process_ip_options_v6() 3120 ip6h->ip6_plen = oip6h->ip6_plen; in ah_process_ip_options_v6() 3454 age_bytes = sizeof (ip6_t) + ntohs(ip6h->ip6_plen) + in ah_outbound() 3766 length = ntohs(ip6h->ip6_plen); in ah_auth_in_done() 3813 ip6h->ip6_plen = htons((uint16_t)length); in ah_auth_in_done() 3964 length = ntohs(nip6h->ip6_plen); in ah_auth_out_done() 3966 nip6h->ip6_plen = htons((uint16_t)length); in ah_auth_out_done()
|
H A D | ip6_input.c | 346 iras.ira_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ip_input_common_v6() 601 ira->ira_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ill_input_short_v6() 978 ira->ira_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ire_recv_forward_v6() 1053 ira->ira_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ire_recv_forward_v6() 1123 ntohs(((ip6_t *)mp->b_rptr)->ip6_plen) + IPV6_HDR_LEN); in ip_forward_xmit_v6() 2003 ASSERT(ira->ira_pktlen == ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN); in ip_fanout_v6()
|
H A D | ipsecesp.c | 893 if (padlen >= ntohs(ip6h->ip6_plen) - 2 - sizeof (esph_t) - in esp_strip_header() 904 "%u.\n", (unsigned)(ntohs(ip6h->ip6_plen) in esp_strip_header() 906 (unsigned)(ntohs(ip6h->ip6_plen) - 2 - in esp_strip_header() 918 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) - padlen - in esp_strip_header() 1171 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) - in esp_inbound() 2720 datalen = ntohs(ip6h->ip6_plen) + sizeof (ip6_t) - divpoint; in esp_outbound() 2893 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) + adj); in esp_outbound()
|
H A D | ip6_output.c | 128 ixa->ixa_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ip_output_simple_v6() 424 pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ire_send_local_v6() 486 pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ire_send_local_v6()
|
H A D | igmp.c | 2090 mldlen = ntohs(ip6h->ip6_plen) - exthdr_length; in mld_input() 2497 ip6h->ip6_plen = htons(sizeof (*mldh) + router_alert_length); in mld_sendpkt() 2640 ip6h->ip6_plen = htons(optlen + padlen + icmpsize); in mldv2_sendrpt()
|
H A D | ip_ndp.c | 2211 ip6h->ip6_plen = htons(len - IPV6_HDR_LEN); in ndp_xmit() 2272 ip6h->ip6_plen = htons(len - IPV6_HDR_LEN); in ndp_xmit() 2281 icmp6->icmp6_cksum = ip6h->ip6_plen; in ndp_xmit() 2889 pkt_len = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in nce_resolv_ok() 4992 pkt_len = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in nce_resolv_ipmp_ok()
|
H A D | conn_opt.c | 2256 ip6h->ip6_plen = htons(hdrs_len - IPV6_HDR_LEN); in conn_build_hdr_template() 2360 ip6h->ip6_plen = htons(hdrs_len + data_length - IPV6_HDR_LEN); in conn_prepend_hdr()
|
/titanic_44/usr/src/uts/common/inet/sctp/ |
H A D | sctp_error.c | 280 ahip6h->ip6_plen = htons(ixa->ixa_pktlen - IPV6_HDR_LEN); in sctp_send_abort() 396 ip6h->ip6_plen = htons(ahlen - IPV6_HDR_LEN); in sctp_ootb_send_abort() 429 ip6h->ip6_plen = htons(ixas.ixa_pktlen - IPV6_HDR_LEN); in sctp_ootb_send_abort()
|
H A D | sctp_shutdown.c | 305 ip6h->ip6_plen = htons(ixas.ixa_pktlen - IPV6_HDR_LEN); in sctp_ootb_shutdown_ack()
|
H A D | sctp_common.c | 409 ip6h->ip6_plen = htons(sum - IPV6_HDR_LEN); in sctp_set_iplen() 1014 ip6h->ip6_plen = htons(hdrs_len - IPV6_HDR_LEN); in sctp_build_hdrs()
|
H A D | sctp_cookie.c | 686 iackip6h->ip6_plen = htons(ipsctplen + errlen - IPV6_HDR_LEN); in sctp_send_initack()
|
/titanic_44/usr/src/uts/common/ipp/meters/ |
H A D | tswtcl.c | 103 pkt_len = ntohs(ip6_hdr->ip6_plen) + in tswtcl_process()
|
H A D | tokenmt.c | 117 pkt_len = ntohs(ip6_hdr->ip6_plen) + in tokenmt_process()
|
/titanic_44/usr/src/uts/common/netinet/ |
H A D | ip6.h | 65 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
|
/titanic_44/usr/src/uts/common/inet/tcp/ |
H A D | tcp_output.c | 1286 tcp->tcp_ip6h->ip6_plen = htons(plen - IPV6_HDR_LEN); in tcp_output() 1984 tcp->tcp_ip6h->ip6_plen = in tcp_send() 2025 tcp->tcp_ip6h->ip6_plen = htons(len - IPV6_HDR_LEN); in tcp_send() 2161 ((ip6_t *)rptr)->ip6_plen) + in tcp_send() 2163 ((ip6_t *)rptr)->ip6_plen = in tcp_send() 2374 ip6h->ip6_plen = htons(total_hdr_len - IPV6_HDR_LEN); in tcp_xmit_ctl() 2395 ip6h->ip6_plen = htons(total_hdr_len - in tcp_xmit_ctl() 2581 ip6h->ip6_plen = htons(len - IPV6_HDR_LEN); in tcp_xmit_early_reset() 3223 ip6->ip6_plen = htons(data_length - IPV6_HDR_LEN); in tcp_xmit_mp()
|
/titanic_44/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 916 ip6hp->ip6_plen = sizeof (*iel); in iptun_headergen() 2169 new_ip6h->ip6_plen = htons(sizeof (icmp6_t) + orig_pktsize); in iptun_sendicmp_v6() 2177 new_icmp6->icmp6_cksum = new_ip6h->ip6_plen; in iptun_sendicmp_v6() 3093 outer6->ip6_plen = htons(ixa->ixa_pktlen - sizeof (ip6_t)); in iptun_out_process_ipv6() 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/ipf/ |
H A D | ip_fil_solaris.c | 1157 ip6->ip6_plen = htons(sizeof(*tcp)); 1217 fnew.fin_plen = ntohs(ip6->ip6_plen) + hlen; 1376 ip6->ip6_plen = htons((u_short)sz); 2751 fin->fin_ip6->ip6_plen = htons(icmp_pld_len + sizeof (struct icmp6_hdr));
|
H A D | ip_state.c | 4068 savelen = oip6->ip6_plen; 4069 oip6->ip6_plen = fin->fin_dlen - ICMPERR_ICMPHLEN; 4072 ofin.fin_plen = oip6->ip6_plen; 4075 oip6->ip6_plen = savelen;
|
/titanic_44/usr/src/uts/common/inet/ilb/ |
H A D | ilb_nat.c | 605 icmp6h->icmp6_cksum = out_ip6h->ip6_plen; in ilb_nat_icmpv6()
|
H A D | ilb.c | 1627 icmp6->icmp6_cksum = ip6h->ip6_plen; in ilb_icmp_v6() 1917 pkt_len = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ilb_check_v6()
|
/titanic_44/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 275 header->pktlen = ntohs(ip6h->ip6_plen) + in flowacct_extract_header()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ip.c | 330 iplen = ntohs(ip6h->ip6_plen); in interpret_ipv6()
|