ipsec.h (d9d59bb1af142e7575032dd6c51fc64580de84df) ipsec.h (6b66194bcb7e43ef40b11005618544081c6e30ea)
1/* $FreeBSD$ */
2/* $KAME: ipsec.h,v 1.53 2001/11/20 08:32:38 itojun Exp $ */
3
4/*-
5 * SPDX-License-Identifier: BSD-3-Clause
6 *
7 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
8 * All rights reserved.

--- 318 unchanged lines hidden (view full) ---

327int udp_ipsec_output(struct mbuf *, struct secasvar *);
328int udp_ipsec_input(struct mbuf *, int, int);
329int udp_ipsec_pcbctl(struct inpcb *, struct sockopt *);
330
331int ipsec_chkreplay(uint32_t, uint32_t *, struct secasvar *);
332int ipsec_updatereplay(uint32_t, struct secasvar *);
333int ipsec_updateid(struct secasvar *, crypto_session_t *, crypto_session_t *);
334int ipsec_initialized(void);
1/* $FreeBSD$ */
2/* $KAME: ipsec.h,v 1.53 2001/11/20 08:32:38 itojun Exp $ */
3
4/*-
5 * SPDX-License-Identifier: BSD-3-Clause
6 *
7 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
8 * All rights reserved.

--- 318 unchanged lines hidden (view full) ---

327int udp_ipsec_output(struct mbuf *, struct secasvar *);
328int udp_ipsec_input(struct mbuf *, int, int);
329int udp_ipsec_pcbctl(struct inpcb *, struct sockopt *);
330
331int ipsec_chkreplay(uint32_t, uint32_t *, struct secasvar *);
332int ipsec_updatereplay(uint32_t, struct secasvar *);
333int ipsec_updateid(struct secasvar *, crypto_session_t *, crypto_session_t *);
334int ipsec_initialized(void);
335size_t ipsec_hdrsiz_internal(struct secpolicy *);
335
336void ipsec_setspidx_inpcb(struct inpcb *, struct secpolicyindex *, u_int);
337
338void ipsec4_setsockaddrs(const struct mbuf *, union sockaddr_union *,
339 union sockaddr_union *);
340int ipsec4_in_reject(const struct mbuf *, struct inpcb *);
341int ipsec4_input(struct mbuf *, int, int);
342int ipsec4_forward(struct mbuf *);
343int ipsec4_pcbctl(struct inpcb *, struct sockopt *);
344int ipsec4_output(struct mbuf *, struct inpcb *);
345int ipsec4_capability(struct mbuf *, u_int);
346int ipsec4_common_input_cb(struct mbuf *, struct secasvar *, int, int);
347int ipsec4_ctlinput(int, struct sockaddr *, void *);
336
337void ipsec_setspidx_inpcb(struct inpcb *, struct secpolicyindex *, u_int);
338
339void ipsec4_setsockaddrs(const struct mbuf *, union sockaddr_union *,
340 union sockaddr_union *);
341int ipsec4_in_reject(const struct mbuf *, struct inpcb *);
342int ipsec4_input(struct mbuf *, int, int);
343int ipsec4_forward(struct mbuf *);
344int ipsec4_pcbctl(struct inpcb *, struct sockopt *);
345int ipsec4_output(struct mbuf *, struct inpcb *);
346int ipsec4_capability(struct mbuf *, u_int);
347int ipsec4_common_input_cb(struct mbuf *, struct secasvar *, int, int);
348int ipsec4_ctlinput(int, struct sockaddr *, void *);
349int ipsec4_check_pmtu(struct mbuf *, struct secpolicy *, int);
348int ipsec4_process_packet(struct mbuf *, struct secpolicy *, struct inpcb *);
349int ipsec_process_done(struct mbuf *, struct secpolicy *, struct secasvar *,
350 u_int);
351
352extern void m_checkalignment(const char* where, struct mbuf *m0,
353 int off, int len);
354extern struct mbuf *m_makespace(struct mbuf *m0, int skip, int hlen, int *off);
355extern caddr_t m_pad(struct mbuf *m, int n);

--- 13 unchanged lines hidden ---
350int ipsec4_process_packet(struct mbuf *, struct secpolicy *, struct inpcb *);
351int ipsec_process_done(struct mbuf *, struct secpolicy *, struct secasvar *,
352 u_int);
353
354extern void m_checkalignment(const char* where, struct mbuf *m0,
355 int off, int len);
356extern struct mbuf *m_makespace(struct mbuf *m0, int skip, int hlen, int *off);
357extern caddr_t m_pad(struct mbuf *m, int n);

--- 13 unchanged lines hidden ---