]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add PF_FILE as synonym for PF_LOCAL and AF_FILE as synonym for
authorUlrich Drepper <drepper@redhat.com>
Mon, 17 Mar 1997 04:13:32 +0000 (04:13 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 17 Mar 1997 04:13:32 +0000 (04:13 +0000)
AF_LOCAL.

sysdeps/generic/socketbits.h
sysdeps/unix/sysv/linux/socketbits.h

index db1a0ac7ee17a4ce317df06cdf478a2563d8ee31..5d85a8e079a7e088ac621ec5a9fa4289138d6411 100644 (file)
@@ -50,6 +50,7 @@ enum __socket_type
 #define        PF_UNSPEC       0       /* Unspecified.  */
 #define        PF_LOCAL        1       /* Local to host (pipes and file-domain).  */
 #define        PF_UNIX         PF_LOCAL /* Old BSD name for PF_LOCAL.  */
+#define        PF_FILE         PF_LOCAL /* POSIX name for PF_LOCAL.  */
 #define        PF_INET         2       /* IP protocol family.  */
 #define        PF_IMPLINK      3       /* ARPAnet IMP protocol.  */
 #define        PF_PUP          4       /* PUP protocols.  */
@@ -82,6 +83,7 @@ enum __socket_type
 #define        AF_UNSPEC       PF_UNSPEC
 #define        AF_LOCAL        PF_LOCAL
 #define        AF_UNIX         PF_UNIX
+#define        AF_FILE         PF_FILE
 #define        AF_INET         PF_INET
 #define        AF_IMPLINK      PF_IMPLINK
 #define        AF_PUP          PF_PUP
index 915e0f001e2037d2ceba3fded886c62bc54cf11d..38a8fb74d172ae26f05e42ba9d01708ce39cadc0 100644 (file)
@@ -55,6 +55,7 @@ enum __socket_type
 #define        PF_UNSPEC       0       /* Unspecified.  */
 #define        PF_LOCAL        1       /* Local to host (pipes and file-domain).  */
 #define        PF_UNIX         PF_LOCAL /* Old BSD name for PF_LOCAL.  */
+#define        PF_FILE         PF_LOCAL /* POSIX name for PF_LOCAL.  */
 #define        PF_INET         2       /* IP protocol family.  */
 #define        PF_AX25         3       /* Amateur Radio AX.25.  */
 #define        PF_IPX          4       /* Novell Internet Protocol.  */
@@ -70,6 +71,7 @@ enum __socket_type
 #define        AF_UNSPEC       PF_UNSPEC
 #define        AF_LOCAL        PF_LOCAL
 #define        AF_UNIX         PF_UNIX
+#define        AF_FILE         PF_FILE
 #define        AF_INET         PF_INET
 #define        AF_AX25         PF_AX25
 #define        AF_IPX          PF_IPX