aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/netiucv/iucv.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-11-23 15:19:41 +0000
committerUlrich Drepper <drepper@redhat.com>2007-11-23 15:19:41 +0000
commitea2c47b6befbe76dae29b55b27e86d54aa742d38 (patch)
tree9334050927c9d3f7e69c7b41f63183943a5c8ae5 /sysdeps/unix/sysv/linux/netiucv/iucv.h
parent70d5b6ef41c5997ee7c039103626f1bd495d831b (diff)
downloadglibc-ea2c47b6befbe76dae29b55b27e86d54aa742d38.tar
glibc-ea2c47b6befbe76dae29b55b27e86d54aa742d38.tar.gz
glibc-ea2c47b6befbe76dae29b55b27e86d54aa742d38.tar.bz2
glibc-ea2c47b6befbe76dae29b55b27e86d54aa742d38.zip
* sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers):
Add netiucv/iucv.h. * sysdeps/unix/sysv/linux/netiucv/iucv.h: New file. * sysdeps/unix/sysv/linux/opensock.c (__opensock): Add AF_IUCV protocol. * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Likewise. * sysdeps/unix/sysv/linux/s390/opensock.c: New file. * sysdeps/unix/sysv/linux/s390/sa_len.c: New file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/netiucv/iucv.h')
-rw-r--r--sysdeps/unix/sysv/linux/netiucv/iucv.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/netiucv/iucv.h b/sysdeps/unix/sysv/linux/netiucv/iucv.h
new file mode 100644
index 0000000000..779ebffb10
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/netiucv/iucv.h
@@ -0,0 +1,39 @@
+/* Copyright (C) 2007 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#ifndef __NETIUCV_IUCV_H
+#define __NETIUCV_IUCV_H 1
+
+#include <features.h>
+#include <bits/sockaddr.h>
+
+__BEGIN_DECLS
+
+struct sockaddr_iucv
+ {
+ __SOCKADDR_COMMON (siucv_);
+ unsigned short siucv_port; /* Reserved */
+ unsigned int siucv_addr; /* Reserved */
+ char siucv_nodeid[8]; /* Reserved */
+ char siucv_user_id[8]; /* Guest User Id */
+ char siucv_name[8]; /* Application Name */
+ };
+
+__END_DECLS
+
+#endif