ipsec.h (262489) | ipsec.h (269699) |
---|---|
1/* $FreeBSD: head/sys/netipsec/ipsec.h 262489 2014-02-25 18:44:33Z jhb $ */ | 1/* $FreeBSD: head/sys/netipsec/ipsec.h 269699 2014-08-08 01:57:15Z kevlo $ */ |
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 --- 339 unchanged lines hidden (view full) --- 349 350union sockaddr_union; 351extern char * ipsec_address(union sockaddr_union* sa); 352extern const char *ipsec_logsastr __P((struct secasvar *)); 353 354extern void ipsec_dumpmbuf __P((struct mbuf *)); 355 356struct m_tag; | 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 --- 339 unchanged lines hidden (view full) --- 349 350union sockaddr_union; 351extern char * ipsec_address(union sockaddr_union* sa); 352extern const char *ipsec_logsastr __P((struct secasvar *)); 353 354extern void ipsec_dumpmbuf __P((struct mbuf *)); 355 356struct m_tag; |
357extern void ah4_input(struct mbuf *m, int off); | 357extern int ah4_input(struct mbuf **mp, int *offp, int proto); |
358extern void ah4_ctlinput(int cmd, struct sockaddr *sa, void *); | 358extern void ah4_ctlinput(int cmd, struct sockaddr *sa, void *); |
359extern void esp4_input(struct mbuf *m, int off); | 359extern int esp4_input(struct mbuf **mp, int *offp, int proto); |
360extern void esp4_ctlinput(int cmd, struct sockaddr *sa, void *); | 360extern void esp4_ctlinput(int cmd, struct sockaddr *sa, void *); |
361extern void ipcomp4_input(struct mbuf *m, int off); | 361extern int ipcomp4_input(struct mbuf **mp, int *offp, int proto); |
362extern int ipsec4_common_input(struct mbuf *m, ...); 363extern int ipsec4_common_input_cb(struct mbuf *m, struct secasvar *sav, 364 int skip, int protoff, struct m_tag *mt); 365extern int ipsec4_process_packet __P((struct mbuf *, struct ipsecrequest *, 366 int, int)); 367extern int ipsec_process_done __P((struct mbuf *, struct ipsecrequest *)); 368 369extern struct mbuf *ipsec_copypkt __P((struct mbuf *)); --- 27 unchanged lines hidden --- | 362extern int ipsec4_common_input(struct mbuf *m, ...); 363extern int ipsec4_common_input_cb(struct mbuf *m, struct secasvar *sav, 364 int skip, int protoff, struct m_tag *mt); 365extern int ipsec4_process_packet __P((struct mbuf *, struct ipsecrequest *, 366 int, int)); 367extern int ipsec_process_done __P((struct mbuf *, struct ipsecrequest *)); 368 369extern struct mbuf *ipsec_copypkt __P((struct mbuf *)); --- 27 unchanged lines hidden --- |