Home
last modified time | relevance | path

Searched refs:ip6_plen (Results 1 – 25 of 40) sorted by relevance

12

/titanic_44/usr/src/uts/common/io/mac/plugins/
H A Dmac_ipv6.c139 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 Dtn_ipopt.c1210 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 Dip6.c455 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 Dipsecah.c2118 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 Dip6_input.c346 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 Dipsecesp.c893 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 Dip6_output.c128 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 Digmp.c2090 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 Dip_ndp.c2211 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 Dconn_opt.c2256 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 Dsctp_error.c280 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 Dsctp_shutdown.c305 ip6h->ip6_plen = htons(ixas.ixa_pktlen - IPV6_HDR_LEN); in sctp_ootb_shutdown_ack()
H A Dsctp_common.c409 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 Dsctp_cookie.c686 iackip6h->ip6_plen = htons(ipsctplen + errlen - IPV6_HDR_LEN); in sctp_send_initack()
/titanic_44/usr/src/uts/common/ipp/meters/
H A Dtswtcl.c103 pkt_len = ntohs(ip6_hdr->ip6_plen) + in tswtcl_process()
H A Dtokenmt.c117 pkt_len = ntohs(ip6_hdr->ip6_plen) + in tokenmt_process()
/titanic_44/usr/src/uts/common/netinet/
H A Dip6.h65 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
/titanic_44/usr/src/uts/common/inet/tcp/
H A Dtcp_output.c1286 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 Diptun.c916 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 Dip_fil_solaris.c1157 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 Dip_state.c4068 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 Dilb_nat.c605 icmp6h->icmp6_cksum = out_ip6h->ip6_plen; in ilb_nat_icmpv6()
H A Dilb.c1627 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 Dflowacct.c275 header->pktlen = ntohs(ip6h->ip6_plen) + in flowacct_extract_header()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ip.c330 iplen = ntohs(ip6h->ip6_plen); in interpret_ipv6()

12