diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-03-17 04:13:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-03-17 04:13:32 +0000 |
commit | e2f8a38f473d2379a105df04663b152b78b44647 (patch) | |
tree | d9db70bb18b779b340f65e90e8787d7d1d6910f7 | |
parent | e16db41ba6e6506294acb45063b1f34bd086ce46 (diff) | |
download | glibc-e2f8a38f473d2379a105df04663b152b78b44647.tar.gz glibc-e2f8a38f473d2379a105df04663b152b78b44647.tar.xz glibc-e2f8a38f473d2379a105df04663b152b78b44647.zip |
Add PF_FILE as synonym for PF_LOCAL and AF_FILE as synonym for
AF_LOCAL.
-rw-r--r-- | sysdeps/generic/socketbits.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/socketbits.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/socketbits.h b/sysdeps/generic/socketbits.h index db1a0ac7ee..5d85a8e079 100644 --- a/sysdeps/generic/socketbits.h +++ b/sysdeps/generic/socketbits.h @@ -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 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 |