* [patch] Add PF_IUCV and AF_IUCV.
@ 2007-06-29 13:20 Martin Schwidefsky
2007-06-30 17:08 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Martin Schwidefsky @ 2007-06-29 13:20 UTC (permalink / raw)
To: Glibc hackers
Hi,
in February this year the support for AF_IUCV sockets has been added
to the linux kernel. It is a protocol used on the z/VM hypervisor to
communicate between virtual machines. The linux version of socket.h
uses 32 as the id for PF_IUCV and AF_IUCV. This patch adds them to
the linux specific socket.h version in glibc as well.
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
---
2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/bits/socket.h: Add PF_IUCV and AF_IUCV.
diff -urpN libc/sysdeps/unix/sysv/linux/bits/socket.h libc-iucv/sysdeps/unix/sysv/linux/bits/socket.h
--- libc/sysdeps/unix/sysv/linux/bits/socket.h 2007-05-07 14:16:43.000000000 +0200
+++ libc-iucv/sysdeps/unix/sysv/linux/bits/socket.h 2007-06-29 15:11:26.000000000 +0200
@@ -90,7 +90,8 @@ enum __socket_type
#define PF_PPPOX 24 /* PPPoX sockets. */
#define PF_WANPIPE 25 /* Wanpipe API sockets. */
#define PF_BLUETOOTH 31 /* Bluetooth sockets. */
-#define PF_MAX 32 /* For now.. */
+#define PF_IUCV 32 /* IUCV sockets. */
+#define PF_MAX 33 /* For now.. */
/* Address families. */
#define AF_UNSPEC PF_UNSPEC
@@ -122,6 +123,7 @@ enum __socket_type
#define AF_PPPOX PF_PPPOX
#define AF_WANPIPE PF_WANPIPE
#define AF_BLUETOOTH PF_BLUETOOTH
+#define AF_IUCV PF_IUCV
#define AF_MAX PF_MAX
/* Socket level values. Others are defined in the appropriate headers.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] Add PF_IUCV and AF_IUCV.
2007-06-29 13:20 [patch] Add PF_IUCV and AF_IUCV Martin Schwidefsky
@ 2007-06-30 17:08 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2007-06-30 17:08 UTC (permalink / raw)
To: schwidefsky; +Cc: Glibc hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
OK, but you could have added the PXPRC constants as well. I did that now.
- --
⧠Ulrich Drepper ⧠Red Hat, Inc. ⧠444 Castro St ⧠Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFGho362ijCOnn/RHQRAhqrAJkBTSXjfChVz9P8j00ozLXhEq8kzQCgtaZS
q7irZkpWAgqP2Dt7TPb/FGw=
=f6pb
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-30 17:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-29 13:20 [patch] Add PF_IUCV and AF_IUCV Martin Schwidefsky
2007-06-30 17:08 ` Ulrich Drepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).