Home
last modified time | relevance | path

Searched refs:udpha (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/uts/common/inet/udp/
H A Dudp.c895 udpha_t *udpha; in udp_icmp_input() local
921 udpha = (udpha_t *)((char *)ipha + iph_hdr_length); in udp_icmp_input()
993 sin.sin_port = udpha->uha_dst_port; in udp_icmp_input()
1021 sin6.sin6_port = udpha->uha_dst_port; in udp_icmp_input()
1063 udpha_t *udpha; in udp_icmp_error_ipv6() local
1088 udpha = (udpha_t *)((char *)ip6h + iph_hdr_length); in udp_icmp_error_ipv6()
1198 sin6.sin6_port = udpha->uha_dst_port; in udp_icmp_error_ipv6()
1998 udpha_t *udpha; in udp_prepend_hdr() local
2021 udpha = (udpha_t *)(mp->b_rptr + ixa->ixa_ip_hdr_length); in udp_prepend_hdr()
2022 udpha->uha_src_port = connp->conn_lport; in udp_prepend_hdr()
[all …]
/titanic_44/usr/src/uts/common/inet/ip/
H A Dipsecesp.c745 udpha_t *udpha; in esp_fix_natt_checksums() local
761 udpha = (udpha_t *)(data_mp->b_rptr + IPH_HDR_LENGTH(ipha)); in esp_fix_natt_checksums()
763 if (udpha->uha_checksum != 0) { in esp_fix_natt_checksums()
765 sum += ~ntohs(udpha->uha_checksum) & 0xFFFF; in esp_fix_natt_checksums()
768 udpha->uha_checksum = ~htons(sum); in esp_fix_natt_checksums()
769 if (udpha->uha_checksum == 0) in esp_fix_natt_checksums()
770 udpha->uha_checksum = 0xFFFF; in esp_fix_natt_checksums()
2338 udpha_t *udpha; in ipsecesp_send_keepalive() local
2358 udpha = (udpha_t *)(ipha + 1); in ipsecesp_send_keepalive()
2359 udpha->uha_src_port = (assoc->ipsa_local_nat_port != 0) ? in ipsecesp_send_keepalive()
[all …]
H A Dip_input.c501 udpha_t *udpha; in ill_input_full_v4() local
511 udpha = (udpha_t *)&ipha[1]; in ill_input_full_v4()
513 if (ntohs(udpha->uha_dst_port) == IPPORT_BOOTPC) { in ill_input_full_v4()
2136 udpha_t *udpha; in ip_input_cksum_pseudo_v4() local
2138 udpha = (udpha_t *)((uchar_t *)ipha + ip_hdr_length); in ip_input_cksum_pseudo_v4()
2141 cksum = udpha->uha_length + IP_UDP_CSUM_COMP; in ip_input_cksum_pseudo_v4()
2206 udpha_t *udpha; in ip_input_cksum_v4() local
2208 udpha = (udpha_t *)((uchar_t *)ipha + ip_hdr_length); in ip_input_cksum_v4()
2209 if (udpha->uha_checksum == 0) { in ip_input_cksum_v4()
H A Dip6_input.c1759 udpha_t *udpha; in ip_input_cksum_pseudo_v6() local
1761 udpha = (udpha_t *)((uchar_t *)ip6h + ip_hdr_length); in ip_input_cksum_pseudo_v6()
1764 cksum = udpha->uha_length + IP_UDP_CSUM_COMP; in ip_input_cksum_pseudo_v6()
1844 udpha_t *udpha; in ip_input_cksum_v6() local
1846 udpha = (udpha_t *)((uchar_t *)ip6h + ip_hdr_length); in ip_input_cksum_v6()
1858 if (udpha->uha_checksum == 0) { in ip_input_cksum_v6()
H A Dip.c5120 udpha_t *udpha; in zero_spi_check() local
5174 udpha = (udpha_t *)(orptr + iph_len); in zero_spi_check()
5177 udpha->uha_length = htons(plen - shift - iph_len); in zero_spi_check()
5181 esp_ports = *((uint32_t *)udpha); in zero_spi_check()