Deleted Added
full compact
ipsec.h (139823) ipsec.h (156756)
1/* $FreeBSD: head/sys/netipsec/ipsec.h 139823 2005-01-07 01:45:51Z imp $ */
1/* $FreeBSD: head/sys/netipsec/ipsec.h 156756 2006-03-15 21:11:11Z sam $ */
2/* $KAME: ipsec.h,v 1.53 2001/11/20 08:32:38 itojun Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

405extern int ipsec4_process_packet __P((struct mbuf *, struct ipsecrequest *,
406 int, int));
407extern int ipsec_process_done __P((struct mbuf *, struct ipsecrequest *));
408
409extern struct mbuf *ipsec_copypkt __P((struct mbuf *));
410
411extern void m_checkalignment(const char* where, struct mbuf *m0,
412 int off, int len);
2/* $KAME: ipsec.h,v 1.53 2001/11/20 08:32:38 itojun Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

405extern int ipsec4_process_packet __P((struct mbuf *, struct ipsecrequest *,
406 int, int));
407extern int ipsec_process_done __P((struct mbuf *, struct ipsecrequest *));
408
409extern struct mbuf *ipsec_copypkt __P((struct mbuf *));
410
411extern void m_checkalignment(const char* where, struct mbuf *m0,
412 int off, int len);
413extern struct mbuf *m_clone(struct mbuf *m0);
414extern struct mbuf *m_makespace(struct mbuf *m0, int skip, int hlen, int *off);
415extern caddr_t m_pad(struct mbuf *m, int n);
416extern int m_striphdr(struct mbuf *m, int skip, int hlen);
417#endif /* _KERNEL */
418
419#ifndef _KERNEL
420extern caddr_t ipsec_set_policy __P((char *, int));
421extern int ipsec_get_policylen __P((caddr_t));
422extern char *ipsec_dump_policy __P((caddr_t, char *));
423
424extern const char *ipsec_strerror __P((void));
425#endif /* !_KERNEL */
426
427#endif /* _NETIPSEC_IPSEC_H_ */
413extern struct mbuf *m_makespace(struct mbuf *m0, int skip, int hlen, int *off);
414extern caddr_t m_pad(struct mbuf *m, int n);
415extern int m_striphdr(struct mbuf *m, int skip, int hlen);
416#endif /* _KERNEL */
417
418#ifndef _KERNEL
419extern caddr_t ipsec_set_policy __P((char *, int));
420extern int ipsec_get_policylen __P((caddr_t));
421extern char *ipsec_dump_policy __P((caddr_t, char *));
422
423extern const char *ipsec_strerror __P((void));
424#endif /* !_KERNEL */
425
426#endif /* _NETIPSEC_IPSEC_H_ */