| /trueos/sys/netipsec/ |
| HD | ipsec_input.c | 121 ipsec_common_input(struct mbuf *m, int skip, int protoff, int af, int sproto) in ipsec_common_input() argument 231 error = (*sav->tdb_xform->xf_input)(m, sav, skip, protoff); in ipsec_common_input() 295 int skip, int protoff, struct m_tag *mt) in ipsec4_common_input_cb() argument 552 int protoff; in ipsec6_common_input() local 559 protoff = offsetof(struct ip6_hdr, ip6_nxt); in ipsec6_common_input() 562 protoff = sizeof(struct ip6_hdr); in ipsec6_common_input() 565 protoff += l; in ipsec6_common_input() 566 m_copydata(*mp, protoff, sizeof(ip6e), in ipsec6_common_input() 574 } while (protoff + l < *offp); in ipsec6_common_input() 577 if (protoff + l != *offp) { in ipsec6_common_input() [all …]
|
| HD | xform_ah.c | 566 ah_input(struct mbuf *m, struct secasvar *sav, int skip, int protoff) in ah_input() argument 708 tc->tc_protoff = protoff; in ah_input() 726 int rplen, error, skip, protoff; in ah_input_cb() local 745 protoff = tc->tc_protoff; in ah_input_cb() 811 ((u_int8_t *) ptr)[protoff] = nxt; in ah_input_cb() 817 m_copyback(m, protoff, sizeof(u_int8_t), &nxt); in ah_input_cb() 857 error = ipsec6_common_input_cb(m, sav, skip, protoff, mtag); in ah_input_cb() 862 error = ipsec4_common_input_cb(m, sav, skip, protoff, mtag); in ah_input_cb() 893 int protoff) in ah_output() argument 983 m_copydata(m, protoff, sizeof(u_int8_t), (caddr_t) &ah->ah_nxt); in ah_output() [all …]
|
| HD | xform_ipcomp.c | 145 ipcomp_input(struct mbuf *m, struct secasvar *sav, int skip, int protoff) in ipcomp_input() argument 213 tc->tc_protoff = protoff; in ipcomp_input() 229 int skip, protoff; in ipcomp_input_cb() local 243 protoff = tc->tc_protoff; in ipcomp_input_cb() 309 m_copyback(m, protoff, sizeof (u_int8_t), (u_int8_t *) &nproto); in ipcomp_input_cb() 314 error = ipsec6_common_input_cb(m, sav, skip, protoff, NULL); in ipcomp_input_cb() 319 error = ipsec4_common_input_cb(m, sav, skip, protoff, NULL); in ipcomp_input_cb() 350 int protoff in ipcomp_output() argument 463 tc->tc_protoff = protoff; in ipcomp_output()
|
| HD | xform_tcp.c | 137 int protoff) in tcpsignature_input() argument 150 struct mbuf **mp, int skip, int protoff) in tcpsignature_output() argument
|
| HD | xform_esp.c | 267 esp_input(struct mbuf *m, struct secasvar *sav, int skip, int protoff) in esp_input() argument 428 tc->tc_protoff = protoff; in esp_input() 459 int hlen, skip, protoff, error, alen; in esp_input_cb() local 476 protoff = tc->tc_protoff; in esp_input_cb() 631 m_copyback(m, protoff, sizeof (u_int8_t), lastthree + 2); in esp_input_cb() 636 error = ipsec6_common_input_cb(m, sav, skip, protoff, mtag); in esp_input_cb() 641 error = ipsec4_common_input_cb(m, sav, skip, protoff, mtag); in esp_input_cb() 672 int protoff in esp_output() argument 829 m_copydata(m, protoff, sizeof(u_int8_t), pad + padding - 1); in esp_output() 833 m_copyback(m, protoff, sizeof(u_int8_t), (u_char *) &prot); in esp_output()
|
| HD | ipsec6.h | 67 int skip, int protoff, struct m_tag *mt);
|
| HD | xform_ipip.c | 346 int protoff in ipip_output() argument 589 ipe4_input(struct mbuf *m, struct secasvar *sav, int skip, int protoff) in ipe4_input() argument
|
| HD | ipsec.h | 371 int skip, int protoff, struct m_tag *mt);
|