mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
socket: Add time64 alias for setsockopt
Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
02c17c8c14
commit
f032ac3b83
@ -273,8 +273,21 @@ extern int __getsockopt64 (int __fd, int __level, int __optname,
|
||||
/* Set socket FD's option OPTNAME at protocol level LEVEL
|
||||
to *OPTVAL (which is OPTLEN bytes long).
|
||||
Returns 0 on success, -1 for errors. */
|
||||
#ifndef __USE_TIME_BITS64
|
||||
extern int setsockopt (int __fd, int __level, int __optname,
|
||||
const void *__optval, socklen_t __optlen) __THROW;
|
||||
#else
|
||||
# ifdef __REDIRECT
|
||||
extern int __REDIRECT_NTH (setsockopt,
|
||||
(int __fd, int __level, int __optname,
|
||||
const void *__optval, socklen_t __optlen),
|
||||
__setsockopt64);
|
||||
# else
|
||||
extern int __setsockopt64 (int __fd, int __level, int __optname,
|
||||
const void *__optval, socklen_t __optlen) __THROW;
|
||||
# define setsockopt __setsockopt64
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
/* Prepare to accept connections on socket FD.
|
||||
|
@ -270,6 +270,7 @@ libc {
|
||||
__sendmmsg64;
|
||||
__sendmsg64;
|
||||
__setitimer64;
|
||||
__setsockopt64;
|
||||
__settimeofday64;
|
||||
__shmctl64;
|
||||
__sigtimedwait64;
|
||||
|
@ -271,6 +271,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -268,6 +268,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2427,6 +2427,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2376,6 +2376,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2560,6 +2560,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -272,6 +272,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2503,6 +2503,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2476,6 +2476,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2473,6 +2473,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2468,6 +2468,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2466,6 +2466,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2474,6 +2474,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2515,6 +2515,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2530,6 +2530,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2563,6 +2563,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2528,6 +2528,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -103,3 +103,6 @@ __setsockopt (int fd, int level, int optname, const void *optval, socklen_t len)
|
||||
}
|
||||
libc_hidden_def (__setsockopt)
|
||||
weak_alias (__setsockopt, setsockopt)
|
||||
#if __TIMESIZE != 64
|
||||
weak_alias (__setsockopt, __setsockopt64)
|
||||
#endif
|
||||
|
@ -2383,6 +2383,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2380,6 +2380,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
@ -2523,6 +2523,7 @@ GLIBC_2.34 __semtimedop64 F
|
||||
GLIBC_2.34 __sendmmsg64 F
|
||||
GLIBC_2.34 __sendmsg64 F
|
||||
GLIBC_2.34 __setitimer64 F
|
||||
GLIBC_2.34 __setsockopt64 F
|
||||
GLIBC_2.34 __settimeofday64 F
|
||||
GLIBC_2.34 __shmctl64 F
|
||||
GLIBC_2.34 __sigtimedwait64 F
|
||||
|
Loading…
Reference in New Issue
Block a user