/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv_pcap.c | 303 ip_hdr.ipha_length = 0xFFFF; in smbsrv_pcap_dump() 305 ip_hdr.ipha_length = htons(len_w_hdrs); in smbsrv_pcap_dump()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 338 ntohs(ipha->ipha_length) - meoi.meoi_l3hlen; in mac_sw_cksum() 990 niph->ipha_length = htons(oiphlen + otcphlen + mss); in mac_sw_lso() 1015 DB_CKSUMEND(nhdrmp) = ntohs(niph->ipha_length); in mac_sw_lso() 1080 niph->ipha_length = htons(oiphlen + otcphlen + mss); in mac_sw_lso() 1099 DB_CKSUMEND(nhdrmp) = ntohs(niph->ipha_length); in mac_sw_lso() 1138 niph->ipha_length = htons(oiphlen + otcphlen + len); in mac_sw_lso() 1146 DB_CKSUMEND(nhdrmp) = ntohs(niph->ipha_length); in mac_sw_lso()
|
H A D | mac_ktest.c | 234 ulp_len = ntohs(ipha->ipha_length) - meoi->meoi_l3hlen; in cksum_calc_pseudo()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipsecesp.c | 774 if (padlen >= ntohs(ipha->ipha_length) - sizeof (ipha_t) - 2 - in esp_strip_header() 785 ntohs(ipha->ipha_length), ivlen, in esp_strip_header() 786 (int)(ntohs(ipha->ipha_length) - sizeof (ipha_t) - in esp_strip_header() 796 ipha->ipha_length = htons(ntohs(ipha->ipha_length) - padlen - in esp_strip_header() 1106 ipha->ipha_length = htons(ntohs(ipha->ipha_length) - in esp_inbound() 2036 ntohs(htons(ipha->ipha_length) - hlen)); in esp_prepare_udp() 2039 ntohs(htons(ipha->ipha_length) - hlen); in esp_prepare_udp() 2106 ipha->ipha_length = htons(sizeof (ipha_t) + sizeof (udpha_t) + 1); in ipsecesp_send_keepalive() 2453 datalen = ntohs(ipha->ipha_length) - divpoint; in esp_outbound() 2640 ipha->ipha_length = htons(ntohs(ipha->ipha_length) + adj); in esp_outbound() [all …]
|
H A D | ipsecah.c | 2133 length = ntohs(ipha->ipha_length); in ah_icmp_error_v4() 2135 ipha->ipha_length = htons((uint16_t)length); in ah_icmp_error_v4() 3087 ipha->ipha_length = ntohs(htons(oipha->ipha_length) + in ah_process_ip_options_v4() 3090 ipha->ipha_length = oipha->ipha_length; in ah_process_ip_options_v4() 3293 age_bytes = ntohs(ipha->ipha_length) + sizeof (ah_t) + in ah_outbound() 3581 length = ntohs(ipha->ipha_length); in ah_auth_in_done() 3596 ipha->ipha_length = htons((uint16_t)length); in ah_auth_in_done() 3772 length = ntohs(nipha->ipha_length); in ah_auth_out_done() 3774 nipha->ipha_length = htons((uint16_t)length); in ah_auth_out_done()
|
H A D | ip_input.c | 365 iras.ira_pktlen = ntohs(ipha->ipha_length); in ip_input_common_v4() 636 ira->ira_pktlen = ntohs(ipha->ipha_length); in ill_input_short_v4() 1004 ira->ira_pktlen = ntohs(ipha->ipha_length); in ire_recv_forward_v4() 1094 ira->ira_pktlen = ntohs(ipha->ipha_length); in ire_recv_forward_v4() 1221 ASSERT(pkt_len == ntohs(((ipha_t *)mp->b_rptr)->ipha_length)); in ip_forward_xmit_v4() 2359 ASSERT(ira->ira_pktlen == ntohs(ipha->ipha_length)); in ip_fanout_v4() 3041 ira->ira_pktlen = ntohs(ipha->ipha_length); in ip_fanout_v4()
|
H A D | ip_mroute.c | 2359 iplen = ip->ipha_length; in pim_input() 2438 ntohs(eip->ipha_length)); in pim_input() 2556 len = ntohs(ipha->ipha_length); in encap_send() 2580 ipha_copy->ipha_length = htons(len + sizeof (ipha_t)); in encap_send() 3131 ixas.ixa_pktlen = ntohs(ipha->ipha_length); in tbf_send_packet() 3158 iras.ira_pktlen = ntohs(ipha->ipha_length); in tbf_send_packet()
|
H A D | tn_ipopt.c | 932 adjust += ntohs(ipha->ipha_length); in tsol_check_label_v4() 933 ipha->ipha_length = htons(adjust); in tsol_check_label_v4()
|
H A D | ip_output.c | 836 ixa->ixa_pktlen = ntohs(ipha->ipha_length); in ip_output_simple_v4() 1123 pktlen = ntohs(ipha->ipha_length); in ire_send_local_v4() 1182 pktlen = iras.ira_pktlen = ntohs(ipha->ipha_length); in ire_send_local_v4()
|
H A D | ip.c | 1924 length = ntohs(ipha->ipha_length); in icmp_inbound_too_big_v4() 2928 ipha->ipha_length = htons((uint16_t)msg_len); in icmp_pkt() 5205 ipha->ipha_length = htons(ira->ira_pktlen); in zero_spi_check() 7160 end = ntohs(ipha->ipha_length) - hdr_length; in ip_input_fragment() 7495 ipha->ipha_length = htons((uint16_t)packet_size); in ip_input_fragment() 11725 ASSERT(ntohs(ipha->ipha_length) == pkt_len); in ip_fragment_v4() 11735 if (((max_frag - ntohs(ipha->ipha_length)) & ~7) < 8) { in ip_fragment_v4() 11768 ip_data_end = offset + ntohs(ipha->ipha_length) - hdr_len; in ip_fragment_v4() 11773 ipha->ipha_length = htons((uint16_t)i1); in ip_fragment_v4() 11899 ipha->ipha_length = htons(ip_len); in ip_fragment_v4() [all …]
|
H A D | tnet.c | 1658 iplen = ntohs(ipha->ipha_length) + adjust; in tsol_ip_forward() 1659 ipha->ipha_length = htons(iplen); in tsol_ip_forward()
|
H A D | icmp.c | 2423 ASSERT(ntohs(ipha->ipha_length) == ixa->ixa_pktlen); in icmp_prepend_hdr() 2625 len = ntohs(ipha->ipha_length); in icmp_input() 2649 ipha->ipha_length = htons(len); in icmp_input() 4055 ipha->ipha_length = htons((uint16_t)pktlen); in icmp_prepend_header_template()
|
H A D | igmp.c | 1862 ipha->ipha_length = htons(size); in igmp_sendpkt() 2018 ipha->ipha_length = htons(size); in igmpv3_sendrpt()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | ip.d.in | 223 ip_plength = ntohs(I->ipha_length) - 241 ntohs(((ipha_t *)I)->ipha_length) - 272 ntohs(((ipha_t *)I)->ipha_length) - 311 ipv4_length = I != NULL ? ntohs(I->ipha_length) : 0;
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_error.c | 276 ahiph->ipha_length = htons(ixa->ixa_pktlen); in sctp_send_abort() 372 ipha->ipha_length = htons(ahlen); in sctp_ootb_send_abort() 427 ipha->ipha_length = htons(ixas.ixa_pktlen); in sctp_ootb_send_abort()
|
H A D | sctp_shutdown.c | 282 ipha->ipha_length = htons(ixas.ixa_pktlen); in sctp_ootb_shutdown_ack()
|
H A D | sctp_common.c | 405 iph->ipha_length = htons(sum); in sctp_set_iplen() 975 ipha->ipha_length = htons(hdrs_len); in sctp_build_hdrs()
|
/illumos-gate/usr/src/uts/common/ipp/meters/ |
H A D | tswtcl.c | 100 pkt_len = ntohs(ipha->ipha_length); in tswtcl_process()
|
H A D | tokenmt.c | 112 pkt_len = ntohs(ipha->ipha_length); in tokenmt_process()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_output.c | 1306 tcp->tcp_ipha->ipha_length = htons(plen); in tcp_output() 2020 tcp->tcp_ipha->ipha_length = htons(len); in tcp_send() 2061 tcp->tcp_ipha->ipha_length = htons(len); in tcp_send() 2194 ((ipha_t *)rptr)->ipha_length) + in tcp_send() 2196 ((ipha_t *)rptr)->ipha_length = in tcp_send() 2410 ipha->ipha_length = htons(total_hdr_len); in tcp_xmit_ctl() 2431 ipha->ipha_length = htons(total_hdr_len - in tcp_xmit_ctl() 2482 ipha->ipha_length = htons(ntohs( in tcp_xmit_ctl() 2483 ipha->ipha_length) + TCPOPT_REAL_MD5_LEN); in tcp_xmit_ctl() 2644 ipha->ipha_length = htons(len); in tcp_xmit_early_reset() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/demo/ip/ |
H A D | tcprst.d | 135 datalen[self->conn_id, self->pcount] = ntohs(self->iph->ipha_length);
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 2122 new_ipha->ipha_length = htons(hdrs_size + orig_pktsize); in iptun_sendicmp_v4() 2971 outer4->ipha_length = htons(ixa->ixa_pktlen); in iptun_out_process_ipv4() 3316 iplen = ntohs(ipha->ipha_length); in iptun_output_check_label() 3324 adjust = (int)ntohs(ipha->ipha_length) - iplen; in iptun_output_check_label()
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 251 header->pktlen = ntohs(ipha->ipha_length); in flowacct_extract_header()
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_tx.c | 656 offset = offsetof(ipha_t, ipha_length) + mac_hdr_len; in ixgbe_get_context()
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_tx.c | 685 ipha_length))) = 0; in igb_get_tx_context()
|