/titanic_41/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;
|
/titanic_41/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() 973 ipha->ipha_length = htons(hdrs_len); in sctp_build_hdrs()
|
/titanic_41/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()
|
/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | ipsecesp.c | 843 if (padlen >= ntohs(ipha->ipha_length) - sizeof (ipha_t) - 2 - in esp_strip_header() 854 ntohs(ipha->ipha_length), ivlen, in esp_strip_header() 855 (int)(ntohs(ipha->ipha_length) - sizeof (ipha_t) - in esp_strip_header() 865 ipha->ipha_length = htons(ntohs(ipha->ipha_length) - padlen - in esp_strip_header() 1175 ipha->ipha_length = htons(ntohs(ipha->ipha_length) - in esp_inbound() 2279 ntohs(htons(ipha->ipha_length) - hlen)); in esp_prepare_udp() 2282 ntohs(htons(ipha->ipha_length) - hlen); in esp_prepare_udp() 2349 ipha->ipha_length = htons(sizeof (ipha_t) + sizeof (udpha_t) + 1); in ipsecesp_send_keepalive() 2694 datalen = ntohs(ipha->ipha_length) - divpoint; in esp_outbound() 2882 ipha->ipha_length = htons(ntohs(ipha->ipha_length) + adj); in esp_outbound() [all …]
|
H A D | ipsecah.c | 2288 length = ntohs(ipha->ipha_length); in ah_icmp_error_v4() 2290 ipha->ipha_length = htons((uint16_t)length); in ah_icmp_error_v4() 3242 ipha->ipha_length = ntohs(htons(oipha->ipha_length) + in ah_process_ip_options_v4() 3245 ipha->ipha_length = oipha->ipha_length; in ah_process_ip_options_v4() 3448 age_bytes = ntohs(ipha->ipha_length) + sizeof (ah_t) + in ah_outbound() 3736 length = ntohs(ipha->ipha_length); in ah_auth_in_done() 3751 ipha->ipha_length = htons((uint16_t)length); in ah_auth_in_done() 3927 length = ntohs(nipha->ipha_length); in ah_auth_out_done() 3929 nipha->ipha_length = htons((uint16_t)length); in ah_auth_out_done()
|
H A D | ip_input.c | 364 iras.ira_pktlen = ntohs(ipha->ipha_length); in ip_input_common_v4() 634 ira->ira_pktlen = ntohs(ipha->ipha_length); in ill_input_short_v4() 1001 ira->ira_pktlen = ntohs(ipha->ipha_length); in ire_recv_forward_v4() 1091 ira->ira_pktlen = ntohs(ipha->ipha_length); in ire_recv_forward_v4() 1214 ASSERT(pkt_len == ntohs(((ipha_t *)mp->b_rptr)->ipha_length)); in ip_forward_xmit_v4() 2352 ASSERT(ira->ira_pktlen == ntohs(ipha->ipha_length)); in ip_fanout_v4() 3039 ira->ira_pktlen = ntohs(ipha->ipha_length); in ip_fanout_v4()
|
H A D | ip_mroute.c | 2352 iplen = ip->ipha_length; in pim_input() 2431 ntohs(eip->ipha_length)); in pim_input() 2549 len = ntohs(ipha->ipha_length); in encap_send() 2573 ipha_copy->ipha_length = htons(len + sizeof (ipha_t)); in encap_send() 3124 ixas.ixa_pktlen = ntohs(ipha->ipha_length); in tbf_send_packet() 3151 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 | 833 ixa->ixa_pktlen = ntohs(ipha->ipha_length); in ip_output_simple_v4() 1120 pktlen = ntohs(ipha->ipha_length); in ire_send_local_v4() 1178 pktlen = iras.ira_pktlen = ntohs(ipha->ipha_length); in ire_send_local_v4()
|
H A D | ip.c | 1926 length = ntohs(ipha->ipha_length); in icmp_inbound_too_big_v4() 2903 ipha->ipha_length = htons((uint16_t)msg_len); in icmp_pkt() 5168 ipha->ipha_length = htons(ira->ira_pktlen); in zero_spi_check() 7108 end = ntohs(ipha->ipha_length) - hdr_length; in ip_input_fragment() 7443 ipha->ipha_length = htons((uint16_t)packet_size); in ip_input_fragment() 11661 ASSERT(ntohs(ipha->ipha_length) == pkt_len); in ip_fragment_v4() 11671 if (((max_frag - ntohs(ipha->ipha_length)) & ~7) < 8) { in ip_fragment_v4() 11704 ip_data_end = offset + ntohs(ipha->ipha_length) - hdr_len; in ip_fragment_v4() 11709 ipha->ipha_length = htons((uint16_t)i1); in ip_fragment_v4() 11835 ipha->ipha_length = htons(ip_len); in ip_fragment_v4() [all …]
|
H A D | tnet.c | 1655 iplen = ntohs(ipha->ipha_length) + adjust; in tsol_ip_forward() 1656 ipha->ipha_length = htons(iplen); in tsol_ip_forward()
|
H A D | icmp.c | 2415 ASSERT(ntohs(ipha->ipha_length) == ixa->ixa_pktlen); in icmp_prepend_hdr() 2617 len = ntohs(ipha->ipha_length); in icmp_input() 2641 ipha->ipha_length = htons(len); in icmp_input() 4046 ipha->ipha_length = htons((uint16_t)pktlen); in icmp_prepend_header_template()
|
H A D | conn_opt.c | 2237 ipha->ipha_length = htons(hdrs_len); in conn_build_hdr_template() 2342 ipha->ipha_length = htons(hdrs_len + data_length); in conn_prepend_hdr()
|
H A D | igmp.c | 1863 ipha->ipha_length = htons(size); in igmp_sendpkt() 2019 ipha->ipha_length = htons(size); in igmpv3_sendrpt()
|
/titanic_41/usr/src/uts/common/inet/tcp/ |
H A D | tcp_output.c | 1284 tcp->tcp_ipha->ipha_length = htons(plen); in tcp_output() 1982 tcp->tcp_ipha->ipha_length = htons(len); in tcp_send() 2023 tcp->tcp_ipha->ipha_length = htons(len); in tcp_send() 2155 ((ipha_t *)rptr)->ipha_length) + in tcp_send() 2157 ((ipha_t *)rptr)->ipha_length = in tcp_send() 2371 ipha->ipha_length = htons(total_hdr_len); in tcp_xmit_ctl() 2392 ipha->ipha_length = htons(total_hdr_len - in tcp_xmit_ctl() 2571 ipha->ipha_length = htons(len); in tcp_xmit_early_reset() 3219 ((ipha_t *)rptr)->ipha_length = htons(data_length); in tcp_xmit_mp()
|
/titanic_41/usr/src/cmd/dtrace/demo/ip/ |
H A D | tcprst.d | 135 datalen[self->conn_id, self->pcount] = ntohs(self->iph->ipha_length);
|
/titanic_41/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 2120 new_ipha->ipha_length = htons(hdrs_size + orig_pktsize); in iptun_sendicmp_v4() 2969 outer4->ipha_length = htons(ixa->ixa_pktlen); in iptun_out_process_ipv4() 3314 iplen = ntohs(ipha->ipha_length); in iptun_output_check_label() 3322 adjust = (int)ntohs(ipha->ipha_length) - iplen; in iptun_output_check_label()
|
/titanic_41/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 251 header->pktlen = ntohs(ipha->ipha_length); in flowacct_extract_header()
|
/titanic_41/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 228 len = ntohs(ipha->ipha_length) - in mac_fix_cksum()
|
/titanic_41/usr/src/uts/common/io/igb/ |
H A D | igb_tx.c | 695 ipha_length))) = 0; in igb_get_tx_context()
|
/titanic_41/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_tx.c | 783 offset = offsetof(ipha_t, ipha_length) + mac_hdr_len; in ixgbe_get_context()
|
/titanic_41/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_tx.c | 543 ((ipha_t *)ip_start)->ipha_length = 0; in e1000g_retrieve_context()
|