Home
last modified time | relevance | path

Searched refs:ah_length (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/
H A Dipsecah.h142 uint8_t ah_length; member
149 #define AH_TOTAL_LEN(ah) (((ah)->ah_length << 2) + AH_BASELEN - \
156 uint8_t ah_length; member
162 #define AHOLD_TOTAL_LEN(ah) (((ah)->ah_length << 2) + AH_BASELEN)
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipsec.c133 ahlen = (aligned_ah->ah_length << 2) + 8; in interpret_ah()
155 (void) sprintf(get_line((char *)&ah->ah_length - dlc_header, 1), in interpret_ah()
156 "AH length = %d (%d bytes)", aligned_ah->ah_length, ahlen); in interpret_ah()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipsecah.c1880 uint16_t hdr_length, ah_length; in ah_icmp_error_v6() local
1952 ah_length = (ah->ah_length << 2) + 8; in ah_icmp_error_v6()
1953 post_ah_ptr = (uint8_t *)ah + ah_length; in ah_icmp_error_v6()
1963 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) - ah_length); in ah_icmp_error_v6()
1967 mp->b_wptr -= ah_length; in ah_icmp_error_v6()
1987 int ah_length; in ah_icmp_error_v4() local
2062 ah_length = (ah->ah_length << 2) + 8; in ah_icmp_error_v4()
2064 if ((uchar_t *)ipha + hdr_length + ah_length > mp->b_wptr) { in ah_icmp_error_v4()
2071 ah_length = (mp->b_wptr - ((uchar_t *)ipha + in ah_icmp_error_v4()
2076 if (!pullupmsg(mp, (uchar_t *)ah + ah_length - mp->b_rptr)) { in ah_icmp_error_v4()
[all …]
H A Dip6.c4898 ehdrlen = (ah->ah_length << 2) + 8; in ipsec_ah_get_hdr_size_v6()
/illumos-gate/usr/src/common/inet/
H A Dinet_hash.c337 uint_t ah_length = AH_TOTAL_LEN(ah); in inet_pkt_hash() local
343 skip_len += ah_length; in inet_pkt_hash()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c2190 uint_t ah_length = AH_TOTAL_LEN(ah); in mac_pkt_hash() local
2196 skip_len += ah_length; in mac_pkt_hash()