Home
last modified time | relevance | path

Searched refs:ipha_length (Results 1 – 25 of 41) sorted by relevance

12

/titanic_41/usr/src/lib/libdtrace/common/
H A Dip.d.in223 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 Dsctp_error.c276 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 Dsctp_shutdown.c282 ipha->ipha_length = htons(ixas.ixa_pktlen); in sctp_ootb_shutdown_ack()
H A Dsctp_common.c405 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 Dtswtcl.c100 pkt_len = ntohs(ipha->ipha_length); in tswtcl_process()
H A Dtokenmt.c112 pkt_len = ntohs(ipha->ipha_length); in tokenmt_process()
/titanic_41/usr/src/uts/common/inet/ip/
H A Dipsecesp.c843 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 Dipsecah.c2288 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 Dip_input.c364 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 Dip_mroute.c2352 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 Dtn_ipopt.c932 adjust += ntohs(ipha->ipha_length); in tsol_check_label_v4()
933 ipha->ipha_length = htons(adjust); in tsol_check_label_v4()
H A Dip_output.c833 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 Dip.c1926 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 Dtnet.c1655 iplen = ntohs(ipha->ipha_length) + adjust; in tsol_ip_forward()
1656 ipha->ipha_length = htons(iplen); in tsol_ip_forward()
H A Dicmp.c2415 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 Dconn_opt.c2237 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 Digmp.c1863 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 Dtcp_output.c1284 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 Dtcprst.d135 datalen[self->conn_id, self->pcount] = ntohs(self->iph->ipha_length);
/titanic_41/usr/src/uts/common/inet/iptun/
H A Diptun.c2120 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 Dflowacct.c251 header->pktlen = ntohs(ipha->ipha_length); in flowacct_extract_header()
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_util.c228 len = ntohs(ipha->ipha_length) - in mac_fix_cksum()
/titanic_41/usr/src/uts/common/io/igb/
H A Digb_tx.c695 ipha_length))) = 0; in igb_get_tx_context()
/titanic_41/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c783 offset = offsetof(ipha_t, ipha_length) + mac_hdr_len; in ixgbe_get_context()
/titanic_41/usr/src/uts/common/io/e1000g/
H A De1000g_tx.c543 ((ipha_t *)ip_start)->ipha_length = 0; in e1000g_retrieve_context()

12