| /onnv-gate/usr/src/uts/common/inet/sctp/ |
| H A D | sctp_shutdown.c | 295 if (ip_hdr_len > IPV6_HDR_LEN) { in sctp_ootb_shutdown_ack() 298 to = mp->b_rptr + ip_hdr_len - IPV6_HDR_LEN; in sctp_ootb_shutdown_ack() 299 ovbcopy(ip6h, to, IPV6_HDR_LEN); in sctp_ootb_shutdown_ack() 300 mp->b_rptr += ip_hdr_len - IPV6_HDR_LEN; in sctp_ootb_shutdown_ack() 301 ip_hdr_len = IPV6_HDR_LEN; in sctp_ootb_shutdown_ack() 305 ip6h->ip6_plen = htons(ixas.ixa_pktlen - IPV6_HDR_LEN); in sctp_ootb_shutdown_ack()
|
| H A D | sctp_error.c | 280 ahip6h->ip6_plen = htons(ixa->ixa_pktlen - IPV6_HDR_LEN); in sctp_send_abort() 385 if (ip_hdr_len > IPV6_HDR_LEN) { in sctp_ootb_send_abort() 388 to = mp->b_rptr + ip_hdr_len - IPV6_HDR_LEN; in sctp_ootb_send_abort() 389 ovbcopy(ip6h, to, IPV6_HDR_LEN); in sctp_ootb_send_abort() 390 mp->b_rptr += ip_hdr_len - IPV6_HDR_LEN; in sctp_ootb_send_abort() 391 ip_hdr_len = IPV6_HDR_LEN; in sctp_ootb_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_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()
|
| /onnv-gate/usr/src/uts/common/inet/ip/ |
| H A D | ip6_input.c | 294 if (!OK_32PTR(ip6h) || MBLKL(mp) < IPV6_HDR_LEN) { in ip_input_common_v6() 295 mp = ip_check_and_align_header(mp, IPV6_HDR_LEN, &iras); in ip_input_common_v6() 344 iras.ira_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ip_input_common_v6() 559 mp = ip_check_length(mp, rptr, len, pkt_len, IPV6_HDR_LEN, ira); in ill_input_short_v6() 599 ira->ira_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; in ill_input_short_v6() 642 ira->ira_ip_hdr_length = IPV6_HDR_LEN; in ill_input_short_v6() 648 if (pkt_len < IPV6_HDR_LEN + MIN_EHDR_LEN) { in ill_input_short_v6() 655 rptr + IPV6_HDR_LEN + MIN_EHDR_LEN > mp->b_wptr) { in ill_input_short_v6() 656 ip6h = ip_pullup(mp, IPV6_HDR_LEN + MIN_EHDR_LEN, ira); in ill_input_short_v6() 667 if (pkt_len < IPV6_HDR_LEN + ehdrlen) { in ill_input_short_v6() [all …]
|
| H A D | ip6.c | 445 if (ip_hdr_length != IPV6_HDR_LEN) { in icmp_send_reply_v6() 448 for (i = 0; i < IPV6_HDR_LEN; i++) { in icmp_send_reply_v6() 450 mp->b_rptr[IPV6_HDR_LEN - i - 1]; in icmp_send_reply_v6() 452 mp->b_rptr += (ip_hdr_length - IPV6_HDR_LEN); in icmp_send_reply_v6() 456 i -= (ip_hdr_length - IPV6_HDR_LEN); in icmp_send_reply_v6() 458 ip_hdr_length = IPV6_HDR_LEN; in icmp_send_reply_v6() 459 ASSERT(ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN == msgdsize(mp)); in icmp_send_reply_v6() 549 if ((uchar_t *)ip6h + IPV6_HDR_LEN > mp->b_wptr) in icmp_inbound_verify_v6() 557 hdr_length = IPV6_HDR_LEN; in icmp_inbound_verify_v6() 896 if (mp->b_wptr - mp->b_rptr < IPV6_HDR_LEN) in icmp_inbound_error_fanout_v6() [all …]
|
| H A D | ip_ndp.c | 1368 icmp6_t *icmp6 = (icmp6_t *)(mp->b_rptr + IPV6_HDR_LEN); in ip_ndp_find_addresses() 1653 icmp_nd = (icmp6_t *)(mp->b_rptr + IPV6_HDR_LEN); in ndp_input_solicit() 1654 len = mp->b_wptr - mp->b_rptr - IPV6_HDR_LEN; in ndp_input_solicit() 1879 icmp_nd = (icmp6_t *)(mp->b_rptr + IPV6_HDR_LEN); in ndp_input_advert() 1880 len = mp->b_wptr - mp->b_rptr - IPV6_HDR_LEN; in ndp_input_advert() 2074 icmp_nd = (icmp6_t *)(mp->b_rptr + IPV6_HDR_LEN); in ndp_input() 2083 len = mp->b_wptr - mp->b_rptr - IPV6_HDR_LEN; in ndp_input() 2188 len = IPV6_HDR_LEN + sizeof (nd_neighbor_advert_t) + plen * 8; in ndp_xmit() 2211 ip6h->ip6_plen = htons(len - IPV6_HDR_LEN); in ndp_xmit() 2219 opt = (nd_opt_hdr_t *)((uint8_t *)ip6h + IPV6_HDR_LEN + in ndp_xmit() [all …]
|
| H A D | tn_ipopt.c | 1209 buflen - (IPV6_HDR_LEN + hbhlen)); in tsol_remove_secopt_v6() 1295 buflen - (IPV6_HDR_LEN + 2)); in tsol_prepend_option_v6() 1314 ovbcopy(ip6hbh, ip6hbh + hbhlen, buflen - IPV6_HDR_LEN); in tsol_prepend_option_v6()
|
| 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 | 2070 exthdr_length = hdr_length - IPV6_HDR_LEN; in mld_input() 2436 size_t size = IPV6_HDR_LEN + sizeof (mld_hdr_t); in mld_sendpkt() 2537 size = IPV6_HDR_LEN + optlen + padlen + icmpsize; in mldv2_sendrpt()
|
| H A D | tnet.c | 709 ASSERT(MBLKL(mp) >= IPV6_HDR_LEN); in tsol_get_pkt_label() 781 (mp->b_rptr + IPV6_HDR_LEN); in tsol_get_pkt_label()
|
| H A D | ipsecah.c | 3082 option_length = hdr_size - IPV6_HDR_LEN; in ah_process_ip_options_v6() 3126 *length_to_skip = IPV6_HDR_LEN; in ah_process_ip_options_v6() 3951 bcopy(ip6h, nip6h, IPV6_HDR_LEN); in ah_auth_out_done()
|
| 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()
|
| H A D | icmp.c | 1266 iph_hdr_length = IPV6_HDR_LEN; in icmp_icmp_error_ipv6() 2399 ASSERT(ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN == ixa->ixa_pktlen); in icmp_prepend_hdr() 4031 ip6h->ip6_plen = htons((uint16_t)(pktlen - IPV6_HDR_LEN)); in icmp_prepend_header_template()
|
| /onnv-gate/usr/src/uts/common/inet/tcp/ |
| H A D | tcp_output.c | 1285 tcp->tcp_ip6h->ip6_plen = htons(plen - IPV6_HDR_LEN); in tcp_output() 2002 htons(len - IPV6_HDR_LEN); in tcp_send() 2042 tcp->tcp_ip6h->ip6_plen = htons(len - IPV6_HDR_LEN); in tcp_send() 2391 ip6h->ip6_plen = htons(total_hdr_len - IPV6_HDR_LEN); in tcp_xmit_ctl() 2413 IPV6_HDR_LEN - TCPOPT_REAL_TS_LEN); in tcp_xmit_ctl() 2568 if (ip_hdr_len > IPV6_HDR_LEN) { in tcp_xmit_early_reset() 2571 to = mp->b_rptr + ip_hdr_len - IPV6_HDR_LEN; in tcp_xmit_early_reset() 2572 ovbcopy(ip6h, to, IPV6_HDR_LEN); in tcp_xmit_early_reset() 2573 mp->b_rptr += ip_hdr_len - IPV6_HDR_LEN; in tcp_xmit_early_reset() 2574 ip_hdr_len = IPV6_HDR_LEN; in tcp_xmit_early_reset() [all …]
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| H A D | snoop_icmp.c | 471 if (ilen >= ICMP6_MINLEN + IPV6_HDR_LEN + 611 if (ilen > ICMP6_MINLEN + IPV6_HDR_LEN) { 618 ICMP6_MINLEN + IPV6_HDR_LEN);
|
| H A D | snoop_ip.c | 330 hdrlen = IPV6_HDR_LEN; in interpret_ipv6()
|
| /onnv-gate/usr/src/uts/common/io/mac/ |
| H A D | mac_util.c | 492 if (((uchar_t *)ip6h + IPV6_HDR_LEN) > endptr) in mac_ip_hdr_length_v6() 495 length = IPV6_HDR_LEN; in mac_ip_hdr_length_v6() 1020 if (((unsigned char *)ip6hp + IPV6_HDR_LEN > mp->b_wptr) || in mac_pkt_hash()
|
| H A D | mac_sched.c | 775 if (MBLKL(mp) < IPV6_HDR_LEN) { in mac_rx_srs_long_fanout() 779 !pullupmsg(mp, IPV6_HDR_LEN)) { in mac_rx_srs_long_fanout() 788 ((unsigned char *)ip6h + IPV6_HDR_LEN > mp->b_wptr)) { in mac_rx_srs_long_fanout()
|
| /onnv-gate/usr/src/uts/common/inet/ |
| H A D | ip6.h | 43 #define IPV6_HDR_LEN 40 macro
|
| /onnv-gate/usr/src/uts/common/ipp/ipgpc/ |
| H A D | classifier.c | 506 uint_t length = IPV6_HDR_LEN; in get_port_info()
|
| /onnv-gate/usr/src/uts/common/sys/ib/clients/ibd/ |
| H A D | ibd.h | 421 + IPV6_HDR_LEN + sizeof (nd_neighbor_advert_t)); \
|
| /onnv-gate/usr/src/uts/common/ipp/flowacct/ |
| H A D | flowacct.c | 129 uint_t length = IPV6_HDR_LEN; in flowacct_port_info()
|
| /onnv-gate/usr/src/uts/common/inet/udp/ |
| H A D | udp.c | 305 #define UDP_MAXPACKET_IPV6 (IP_MAXPACKET - UDPH_SIZE - IPV6_HDR_LEN) 1072 iph_hdr_length = IPV6_HDR_LEN; in udp_icmp_error_ipv6() 2057 ASSERT(ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN == ixa->ixa_pktlen); in udp_prepend_hdr() 3262 ip6h->ip6_plen = htons((uint16_t)(pktlen - IPV6_HDR_LEN)); in udp_prepend_header_template()
|
| /onnv-gate/usr/src/uts/common/io/ib/clients/ibd/ |
| H A D | ibd.c | 7112 if (MBLKL(mp) < sizeof (ib_header_info_t) + IPV6_HDR_LEN) { in ibd_send() 7113 if (!pullupmsg(mp, IPV6_HDR_LEN + in ibd_send() 7132 IPV6_HDR_LEN + len + 4) { in ibd_send() 7134 IPV6_HDR_LEN + len + 4)) { in ibd_send()
|