Home
last modified time | relevance | path

Searched refs:ahlen (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipsec.c110 uint_t ahlen, auth_data_len; in interpret_ah() local
133 ahlen = (aligned_ah->ah_length << 2) + 8; in interpret_ah()
134 fraglen -= ahlen; in interpret_ah()
136 return (fraglen + ahlen); /* incomplete header */ in interpret_ah()
138 auth_data_len = ahlen - sizeof (ah_t); in interpret_ah()
150 show_header("AH: ", "Authentication Header", ahlen); in interpret_ah()
156 "AH length = %d (%d bytes)", aligned_ah->ah_length, ahlen); in interpret_ah()
187 new_iplen = iplen - ahlen; in interpret_ah()
242 return (ahlen); in interpret_ah()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_error.c182 size_t ahlen; in sctp_send_abort() local
192 ahlen = sctp->sctp_hdr_len; in sctp_send_abort()
194 ahlen = sctp->sctp_hdr6_len; in sctp_send_abort()
213 hmp->b_wptr = p + ahlen; in sctp_send_abort()
273 ixa->ixa_pktlen = ahlen + alen; in sctp_send_abort()
327 size_t ahlen; in sctp_ootb_send_abort() local
344 ahlen = ip_hdr_len + sizeof (sctp_hdr_t); in sctp_ootb_send_abort()
358 mp->b_wptr = mp->b_rptr + ahlen; in sctp_ootb_send_abort()
359 bcopy(inmp->b_rptr, mp->b_rptr, ahlen); in sctp_ootb_send_abort()
372 ipha->ipha_length = htons(ahlen); in sctp_ootb_send_abort()
[all …]