xform.h (220206) | xform.h (269699) |
---|---|
1/* $FreeBSD: head/sys/netipsec/xform.h 220206 2011-03-31 15:23:32Z fabient $ */ | 1/* $FreeBSD: head/sys/netipsec/xform.h 269699 2014-08-08 01:57:15Z kevlo $ */ |
2/* $OpenBSD: ip_ipsp.h,v 1.119 2002/03/14 01:27:11 millert Exp $ */ 3/*- 4 * The authors of this code are John Ioannidis (ji@tla.org), 5 * Angelos D. Keromytis (kermit@csd.uch.gr), 6 * Niels Provos (provos@physnet.uni-hamburg.de) and 7 * Niklas Hallqvist (niklas@appli.se). 8 * 9 * The original version of this code was written by John Ioannidis --- 95 unchanged lines hidden (view full) --- 105#ifdef _KERNEL 106extern void xform_register(struct xformsw*); 107extern int xform_init(struct secasvar *sav, int xftype); 108 109struct cryptoini; 110 111/* XF_IP4 */ 112extern int ip4_input6(struct mbuf **m, int *offp, int proto); | 2/* $OpenBSD: ip_ipsp.h,v 1.119 2002/03/14 01:27:11 millert Exp $ */ 3/*- 4 * The authors of this code are John Ioannidis (ji@tla.org), 5 * Angelos D. Keromytis (kermit@csd.uch.gr), 6 * Niels Provos (provos@physnet.uni-hamburg.de) and 7 * Niklas Hallqvist (niklas@appli.se). 8 * 9 * The original version of this code was written by John Ioannidis --- 95 unchanged lines hidden (view full) --- 105#ifdef _KERNEL 106extern void xform_register(struct xformsw*); 107extern int xform_init(struct secasvar *sav, int xftype); 108 109struct cryptoini; 110 111/* XF_IP4 */ 112extern int ip4_input6(struct mbuf **m, int *offp, int proto); |
113extern void ip4_input(struct mbuf *m, int); | 113extern int ip4_input(struct mbuf **, int *, int); |
114extern int ipip_output(struct mbuf *, struct ipsecrequest *, 115 struct mbuf **, int, int); 116 117/* XF_AH */ 118extern int ah_init0(struct secasvar *, struct xformsw *, struct cryptoini *); 119extern int ah_zeroize(struct secasvar *sav); 120extern struct auth_hash *ah_algorithm_lookup(int alg); 121extern size_t ah_hdrsiz(struct secasvar *); 122 123/* XF_ESP */ 124extern struct enc_xform *esp_algorithm_lookup(int alg); 125extern size_t esp_hdrsiz(struct secasvar *sav); 126 127/* XF_COMP */ 128extern struct comp_algo *ipcomp_algorithm_lookup(int alg); 129 130#endif /* _KERNEL */ 131#endif /* _NETIPSEC_XFORM_H_ */ | 114extern int ipip_output(struct mbuf *, struct ipsecrequest *, 115 struct mbuf **, int, int); 116 117/* XF_AH */ 118extern int ah_init0(struct secasvar *, struct xformsw *, struct cryptoini *); 119extern int ah_zeroize(struct secasvar *sav); 120extern struct auth_hash *ah_algorithm_lookup(int alg); 121extern size_t ah_hdrsiz(struct secasvar *); 122 123/* XF_ESP */ 124extern struct enc_xform *esp_algorithm_lookup(int alg); 125extern size_t esp_hdrsiz(struct secasvar *sav); 126 127/* XF_COMP */ 128extern struct comp_algo *ipcomp_algorithm_lookup(int alg); 129 130#endif /* _KERNEL */ 131#endif /* _NETIPSEC_XFORM_H_ */ |