Home
last modified time | relevance | path

Searched refs:esph_t (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipsec.c55 esph_t *esph = (esph_t *)hdr; in interpret_esp()
56 esph_t *aligned_esph; in interpret_esp()
57 esph_t storage; /* In case hdr isn't aligned. */ in interpret_esp()
60 if (fraglen < sizeof (esph_t)) in interpret_esp()
65 bcopy(hdr, aligned_esph, sizeof (esph_t)); in interpret_esp()
84 sizeof (esph_t)); in interpret_esp()
99 return (sizeof (esph_t)); in interpret_esp()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipsecesp.c742 ASSERT((data_mp->b_wptr - data_mp->b_rptr) >= sizeof (esph_t) + in esp_strip_header()
775 sizeof (esph_t) - ivlen) { in esp_strip_header()
787 2 - sizeof (esph_t) - ivlen))); in esp_strip_header()
797 2 - sizeof (esph_t) - ivlen); in esp_strip_header()
824 if (padlen >= ntohs(ip6h->ip6_plen) - 2 - sizeof (esph_t) - in esp_strip_header()
838 sizeof (esph_t) - ivlen))); in esp_strip_header()
850 2 - sizeof (esph_t) - ivlen); in esp_strip_header()
933 dst = (uint32_t *)(start + divpoint + sizeof (esph_t) + ivlen); in esp_strip_header()
950 dst = src + sizeof (esph_t) + ivlen; in esp_strip_header()
1069 esph_t *esph = (esph_t *)arg; in esp_inbound()
[all …]
H A Dip_sadb.c786 ipsec_inbound_esp_sa(mblk_t *data_mp, ip_recv_attr_t *ira, esph_t **esphp) in ipsec_inbound_esp_sa()
792 esph_t *esph; in ipsec_inbound_esp_sa()
865 esph = (esph_t *)(data_mp->b_rptr + preamble); in ipsec_inbound_esp_sa()
H A Dip6_input.c2654 esph_t *esph; in ip_fanout_v6()
H A Dip_input.c2861 esph_t *esph; in ip_fanout_v4()
H A Dsadb.c8067 params->ulAuthDataSize = sizeof (esph_t);
8110 params->ulAADLen = sizeof (esph_t);
/illumos-gate/usr/src/uts/common/inet/
H A Dipsecesp.h160 } esph_t; typedef
H A Dipsec_impl.h689 (sizeof (esph_t) + ((sa)->ipsa_iv_len << 1) - 2 + (sa)->ipsa_mac_len)
1008 extern mblk_t *ipsec_inbound_esp_sa(mblk_t *, ip_recv_attr_t *, esph_t **);