Lines Matching refs:protoff
535 ah_input(struct mbuf *m, struct secasvar *sav, int skip, int protoff) in ah_input() argument
673 xd->protoff = protoff; in ah_input()
701 int authsize, rplen, ahsize, error, skip, protoff; in ah_input_cb() local
712 protoff = xd->protoff; in ah_input_cb()
767 ((uint8_t *) ptr)[protoff] = nxt; in ah_input_cb()
811 error = ipsec6_common_input_cb(m, sav, skip, protoff); in ah_input_cb()
816 error = ipsec4_common_input_cb(m, sav, skip, protoff); in ah_input_cb()
843 u_int idx, int skip, int protoff) in ah_output() argument
935 m_copydata(m, protoff, sizeof(u_int8_t), (caddr_t) &ah->ah_nxt); in ah_output()
1033 ((uint8_t *) (xd + 1))[protoff] = IPPROTO_AH; in ah_output()
1037 m_copyback(m, protoff, sizeof(uint8_t), (caddr_t) &prot); in ah_output()