keysock.h (c398230b64aea809cb7c5cea8db580af7097920c) keysock.h (3f2e28fe9ffbb70d26e5cc7abba248e981434853)
1/* $FreeBSD$ */
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

--- 57 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
1/* $FreeBSD$ */
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

--- 57 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_*/