summaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-03-17 04:13:32 +0000
committerUlrich Drepper <drepper@redhat.com>1997-03-17 04:13:32 +0000
commite2f8a38f473d2379a105df04663b152b78b44647 (patch)
treed9db70bb18b779b340f65e90e8787d7d1d6910f7 /sysdeps/unix
parente16db41ba6e6506294acb45063b1f34bd086ce46 (diff)
Add PF_FILE as synonym for PF_LOCAL and AF_FILE as synonym for
AF_LOCAL.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/socketbits.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/socketbits.h b/sysdeps/unix/sysv/linux/socketbits.h
index 915e0f001e..38a8fb74d1 100644
--- a/sysdeps/unix/sysv/linux/socketbits.h
+++ b/sysdeps/unix/sysv/linux/socketbits.h
@@ -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