#ifndef _NET_RAW_CB_H_
#define _NET_RAW_CB_H_
+#include <sys/appleapiopts.h>
#include <sys/queue.h>
+#ifdef PRIVATE
/*
* Raw protocol interface control block. Used
* to tie a socket to the generic raw interface.
*/
#define RAWSNDQ 8192
#define RAWRCVQ 8192
+#endif /* PRIVATE */
-#ifdef KERNEL
+#ifdef KERNEL_PRIVATE
extern LIST_HEAD(rawcb_list_head, rawcb) rawcb_list;
-int raw_attach __P((struct socket *, int));
-void raw_ctlinput __P((int, struct sockaddr *, void *));
-void raw_detach __P((struct rawcb *));
-void raw_disconnect __P((struct rawcb *));
-void raw_init __P((void));
-void raw_input __P((struct mbuf *,
- struct sockproto *, struct sockaddr *, struct sockaddr *));
+int raw_attach(struct socket *, int);
+void raw_ctlinput(int, struct sockaddr *, void *);
+void raw_detach(struct rawcb *);
+void raw_disconnect(struct rawcb *);
+void raw_init(void);
+void raw_input(struct mbuf *,
+ struct sockproto *, struct sockaddr *, struct sockaddr *);
extern struct pr_usrreqs raw_usrreqs;
-#endif
+#endif KERNEL_PRIVATE
#endif