keysock.h (256281) | keysock.h (283902) |
---|---|
1/* $FreeBSD: stable/10/sys/netipsec/keysock.h 253088 2013-07-09 10:08:13Z ae $ */ | 1/* $FreeBSD: stable/10/sys/netipsec/keysock.h 283902 2015-06-02 03:43:36Z ae $ */ |
2/* $KAME: keysock.h,v 1.8 2000/03/27 05:11:06 sumikawa 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 --- 62 unchanged lines hidden (view full) --- 72}; 73 74VNET_PCPUSTAT_DECLARE(struct pfkeystat, pfkeystat); 75#define PFKEYSTAT_ADD(name, val) \ 76 VNET_PCPUSTAT_ADD(struct pfkeystat, pfkeystat, name, (val)) 77#define PFKEYSTAT_INC(name) PFKEYSTAT_ADD(name, 1) 78 79extern int key_output(struct mbuf *m, struct socket *so); | 2/* $KAME: keysock.h,v 1.8 2000/03/27 05:11:06 sumikawa 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 --- 62 unchanged lines hidden (view full) --- 72}; 73 74VNET_PCPUSTAT_DECLARE(struct pfkeystat, pfkeystat); 75#define PFKEYSTAT_ADD(name, val) \ 76 VNET_PCPUSTAT_ADD(struct pfkeystat, pfkeystat, name, (val)) 77#define PFKEYSTAT_INC(name) PFKEYSTAT_ADD(name, 1) 78 79extern int key_output(struct mbuf *m, struct socket *so); |
80extern int key_usrreq __P((struct socket *, 81 int, struct mbuf *, struct mbuf *, struct mbuf *)); | 80extern int key_usrreq(struct socket *, int, struct mbuf *, 81 struct mbuf *, struct mbuf *); |
82 | 82 |
83extern int key_sendup __P((struct socket *, struct sadb_msg *, u_int, int)); 84extern int key_sendup_mbuf __P((struct socket *, struct mbuf *, int)); | 83extern int key_sendup(struct socket *, struct sadb_msg *, u_int, int); 84extern int key_sendup_mbuf(struct socket *, struct mbuf *, int); |
85#endif /* _KERNEL */ 86 87#endif /*_NETIPSEC_KEYSOCK_H_*/ | 85#endif /* _KERNEL */ 86 87#endif /*_NETIPSEC_KEYSOCK_H_*/ |