keysock.h (139823) | keysock.h (154625) |
---|---|
1/* $FreeBSD: head/sys/netipsec/keysock.h 139823 2005-01-07 01:45:51Z imp $ */ | 1/* $FreeBSD: head/sys/netipsec/keysock.h 154625 2006-01-21 10:44:34Z bz $ */ |
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 --- 56 unchanged lines hidden (view full) --- 66struct keycb { 67 struct rawcb kp_raw; /* rawcb */ 68 int kp_promisc; /* promiscuous mode */ 69 int kp_registered; /* registered socket */ 70}; 71 72extern struct pfkeystat pfkeystat; 73 | 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 --- 56 unchanged lines hidden (view full) --- 66struct keycb { 67 struct rawcb kp_raw; /* rawcb */ 68 int kp_promisc; /* promiscuous mode */ 69 int kp_registered; /* registered socket */ 70}; 71 72extern struct pfkeystat pfkeystat; 73 |
74extern int key_output __P((struct mbuf *, ...)); | 74extern int key_output(struct mbuf *m, struct socket *so); |
75extern int key_usrreq __P((struct socket *, 76 int, struct mbuf *, struct mbuf *, struct mbuf *)); 77 78extern int key_sendup __P((struct socket *, struct sadb_msg *, u_int, int)); 79extern int key_sendup_mbuf __P((struct socket *, struct mbuf *, int)); 80#endif /* _KERNEL */ 81 82#endif /*_NETIPSEC_KEYSOCK_H_*/ | 75extern int key_usrreq __P((struct socket *, 76 int, struct mbuf *, struct mbuf *, struct mbuf *)); 77 78extern int key_sendup __P((struct socket *, struct sadb_msg *, u_int, int)); 79extern int key_sendup_mbuf __P((struct socket *, struct mbuf *, int)); 80#endif /* _KERNEL */ 81 82#endif /*_NETIPSEC_KEYSOCK_H_*/ |