aboutsummaryrefslogtreecommitdiff
path: root/pfinet/linux-inet/raw.h
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-07-12 15:42:50 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-07-12 15:42:50 +0000
commita81cd86c8d93236ffccfbee44b5818ba21523463 (patch)
treef098368d79e9ed9b39907730c28ed3182b69519d /pfinet/linux-inet/raw.h
parentc7923f6aa252a29ccb4f16bd91469c9000a2bd94 (diff)
downloadhurd-a81cd86c8d93236ffccfbee44b5818ba21523463.tar.gz
hurd-a81cd86c8d93236ffccfbee44b5818ba21523463.tar.bz2
hurd-a81cd86c8d93236ffccfbee44b5818ba21523463.zip
entered into RCS
Diffstat (limited to 'pfinet/linux-inet/raw.h')
-rw-r--r--pfinet/linux-inet/raw.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/pfinet/linux-inet/raw.h b/pfinet/linux-inet/raw.h
new file mode 100644
index 00000000..8f1cf0c2
--- /dev/null
+++ b/pfinet/linux-inet/raw.h
@@ -0,0 +1,34 @@
+/*
+ * INET An implementation of the TCP/IP protocol suite for the LINUX
+ * operating system. INET is implemented using the BSD Socket
+ * interface as the means of communication with the user level.
+ *
+ * Definitions for the RAW-IP module.
+ *
+ * Version: @(#)raw.h 1.0.2 05/07/93
+ *
+ * Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version
+ * 2 of the License, or (at your option) any later version.
+ */
+#ifndef _RAW_H
+#define _RAW_H
+
+
+extern struct proto raw_prot;
+
+
+extern void raw_err(int err, unsigned char *header, unsigned long daddr,
+ unsigned long saddr, struct inet_protocol *protocol);
+extern int raw_recvfrom(struct sock *sk, unsigned char *to,
+ int len, int noblock, unsigned flags,
+ struct sockaddr_in *sin, int *addr_len);
+extern int raw_read(struct sock *sk, unsigned char *buff,
+ int len, int noblock, unsigned flags);
+extern int raw_rcv(struct sock *, struct sk_buff *, struct device *,
+ long, long);
+
+#endif /* _RAW_H */