Home
last modified time | relevance | path

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

12

/illumos-gate/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()
/illumos-gate/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.c457 i = ntohs(ip6h->ip6_plen); in icmp_send_reply_v6()
459 ip6h->ip6_plen = htons(i); in icmp_send_reply_v6()
461 ASSERT(ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN == msgdsize(mp)); in icmp_send_reply_v6()
477 icmp6->icmp6_cksum = ip6h->ip6_plen; in icmp_send_reply_v6()
1380 ip6h->ip6_plen = htons((uint16_t)(msgdsize(mp) - IPV6_HDR_LEN)); in icmp_pkt_v6()
1387 icmp6->icmp6_cksum = ip6h->ip6_plen; in icmp_pkt_v6()
3337 if (more_frags && (ntohs(ip6h->ip6_plen) & 7)) { in ip_input_fragment_v6()
3340 (uint32_t)((char *)&ip6h->ip6_plen - in ip_input_fragment_v6()
4037 ASSERT(ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN == pkt_len); in ip_fragment_v6()
4154 fip6h->ip6_plen = htons((uint16_t)(mlen + in ip_fragment_v6()
[all …]
H A Dipsecah.c1963 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) - ah_length); in ah_icmp_error_v6()
2962 ip6h->ip6_plen = htons(ntohs(oip6h->ip6_plen) + in ah_process_ip_options_v6()
2965 ip6h->ip6_plen = oip6h->ip6_plen; in ah_process_ip_options_v6()
3299 age_bytes = sizeof (ip6_t) + ntohs(ip6h->ip6_plen) + in ah_outbound()
3611 length = ntohs(ip6h->ip6_plen); in ah_auth_in_done()
3658 ip6h->ip6_plen = htons((uint16_t)length); in ah_auth_in_done()
3809 length = ntohs(nip6h->ip6_plen); in ah_auth_out_done()
3811 nip6h->ip6_plen = htons((uint16_t)length); in ah_auth_out_done()
H A Dipsecesp.c824 if (padlen >= ntohs(ip6h->ip6_plen) - 2 - sizeof (esph_t) - in esp_strip_header()
835 "%u.\n", (unsigned)(ntohs(ip6h->ip6_plen) in esp_strip_header()
837 (unsigned)(ntohs(ip6h->ip6_plen) - 2 - in esp_strip_header()
849 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) - padlen - in esp_strip_header()
1102 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) - in esp_inbound()
2478 datalen = ntohs(ip6h->ip6_plen) + sizeof (ip6_t) - divpoint; in esp_outbound()
2651 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) + adj); in esp_outbound()
H A Dip6_input.c346 iras.ira_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ip_input_common_v6()
602 ira->ira_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ill_input_short_v6()
979 ira->ira_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ire_recv_forward_v6()
1054 ira->ira_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ire_recv_forward_v6()
1125 ntohs(((ip6_t *)mp->b_rptr)->ip6_plen) + IPV6_HDR_LEN); in ip_forward_xmit_v6()
2004 ASSERT(ira->ira_pktlen == ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN); in ip_fanout_v6()
H A Dip6_output.c131 ixa->ixa_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ip_output_simple_v6()
427 pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ire_send_local_v6()
489 pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ire_send_local_v6()
H A Digmp.c2089 mldlen = ntohs(ip6h->ip6_plen) - exthdr_length; in mld_input()
2496 ip6h->ip6_plen = htons(sizeof (*mldh) + router_alert_length); in mld_sendpkt()
2639 ip6h->ip6_plen = htons(optlen + padlen + icmpsize); in mldv2_sendrpt()
H A Dip_ndp.c2447 ip6h->ip6_plen = htons(len - IPV6_HDR_LEN); in ndp_xmit()
2508 ip6h->ip6_plen = htons(len - IPV6_HDR_LEN); in ndp_xmit()
2517 icmp6->icmp6_cksum = ip6h->ip6_plen; in ndp_xmit()
3127 pkt_len = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in nce_resolv_ok()
5264 pkt_len = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in nce_resolv_ipmp_ok()
/illumos-gate/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()
1016 ip6h->ip6_plen = htons(hdrs_len - IPV6_HDR_LEN); in sctp_build_hdrs()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/netinet/
H A Dip6.h63 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_arp.c315 plen = ntohs(v6hdr->ip6_plen); in libvarpd_plugin_proxy_ndp()
448 v6hdr->ip6_plen = htons(roff - sizeof (ip6_t) - in libvarpd_proxy_ndp_fini()
451 ntohs(v6hdr->ip6_plen)) & 0xffff; in libvarpd_proxy_ndp_fini()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_output.c1304 tcp->tcp_ip6h->ip6_plen = htons(plen - IPV6_HDR_LEN); in tcp_output()
2017 tcp->tcp_ip6h->ip6_plen = in tcp_send()
2058 tcp->tcp_ip6h->ip6_plen = htons(len - IPV6_HDR_LEN); in tcp_send()
2195 ((ip6_t *)rptr)->ip6_plen) + in tcp_send()
2197 ((ip6_t *)rptr)->ip6_plen = in tcp_send()
2408 ip6h->ip6_plen = htons(total_hdr_len - IPV6_HDR_LEN); in tcp_xmit_ctl()
2429 ip6h->ip6_plen = htons(total_hdr_len - in tcp_xmit_ctl()
2615 ip6h->ip6_plen = htons(len - IPV6_HDR_LEN); in tcp_xmit_early_reset()
3257 ip6->ip6_plen = htons(data_length - IPV6_HDR_LEN); in tcp_xmit_mp()
/illumos-gate/usr/src/uts/common/inet/iptun/
H A Diptun.c917 ip6hp->ip6_plen = sizeof (*iel); in iptun_headergen()
2171 new_ip6h->ip6_plen = htons(sizeof (icmp6_t) + orig_pktsize); in iptun_sendicmp_v6()
2179 new_icmp6->icmp6_cksum = new_ip6h->ip6_plen; in iptun_sendicmp_v6()
3095 outer6->ip6_plen = htons(ixa->ixa_pktlen - sizeof (ip6_t)); in iptun_out_process_ipv6()
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/ipf/
H A Dip_fil_solaris.c1371 ip6->ip6_plen = htons(sizeof(*tcp));
1431 fnew.fin_plen = ntohs(ip6->ip6_plen) + hlen;
1590 ip6->ip6_plen = htons((u_short)sz);
3085 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;
/illumos-gate/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()
1919 pkt_len = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ilb_check_v6()
/illumos-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacct.c275 header->pktlen = ntohs(ip6h->ip6_plen) + in flowacct_extract_header()
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_tx.c706 offset = offsetof(ip6_t, ip6_plen) + mac_hdr_len; in igb_get_tx_context()
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c703 offset = offsetof(ip6_t, ip6_plen) + mac_hdr_len; in ixgbe_get_context()

12