1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* 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.
This commit is contained in:
Ulrich Drepper
2007-11-23 15:19:41 +00:00
parent 70d5b6ef41
commit ea2c47b6be
7 changed files with 66 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.
/* Copyright (C) 1998, 1999, 2002, 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
@ -26,6 +26,7 @@
#include <netipx/ipx.h>
#include <netpacket/packet.h>
#include <netrose/rose.h>
#include <netiucv/iucv.h>
#include <sys/un.h>
int
@ -47,6 +48,10 @@ __libc_sa_len (sa_family_t af)
return sizeof (struct sockaddr_in6);
case AF_IPX:
return sizeof (struct sockaddr_ipx);
#ifdef NEED_AF_IUCV
case AF_IUCV:
return sizeof (struct sockaddr_iucv);
#endif
case AF_LOCAL:
return sizeof (struct sockaddr_un);
case AF_PACKET: