patch-1.3.16 linux/include/net/sock.h
Next file: linux/include/net/unix.h
Previous file: linux/include/net/af_unix.h
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Tue Aug 8 09:20:36 1995
- Orig file:
v1.3.15/linux/include/net/sock.h
- Orig date:
Wed Aug 2 13:21:16 1995
diff -u --recursive --new-file v1.3.15/linux/include/net/sock.h linux/include/net/sock.h
@@ -57,6 +57,21 @@
/*
+ * The AF_UNIX specific socket options
+ */
+
+struct unix_opt
+{
+ int family;
+ char * name;
+ int locks;
+ struct inode * inode;
+ struct semaphore readsem;
+ struct sock * other;
+};
+
+
+/*
* This structure really needs to be cleaned up.
* Most of it is for TCP, and not used by any of
* the other protocols.
@@ -160,6 +175,16 @@
#ifdef CONFIG_ATALK
struct atalk_sock at;
#endif
+
+/*
+ * This is where all the private (optional) areas that dont overlap will eventually live
+ * for now just AF_UNIX is here.
+ */
+
+ union
+ {
+ struct unix_opt af_unix;
+ } protinfo;
/* IP 'private area' or will be eventually */
int ip_ttl; /* TTL setting */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this