OXIESEC PANEL
- Current Dir:
/
/
snap
/
certbot
/
4730
/
usr
/
include
/
x86_64-linux-gnu
/
bits
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/10/2025 09:51:14 PM
rwxr-xr-x
📄
a.out.h
268 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
argp-ldbl.h
1010 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
atomic_wide_counter.h
1.25 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
byteswap.h
2.39 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
cmathcalls.h
4.04 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
confname.h
23.27 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
cpu-set.h
4.41 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
dirent.h
1.73 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
dirent_ext.h
1.25 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
dl_find_object.h
1.09 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
dlfcn.h
2.46 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
elfclass.h
426 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
endian.h
1.86 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
endianness.h
273 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
environments.h
3.7 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
epoll.h
1.05 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
err-ldbl.h
1.12 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
errno.h
1.39 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
error-ldbl.h
2.76 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
error.h
2.62 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
eventfd.h
1.1 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
fcntl-linux.h
14.14 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
fcntl.h
2.19 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
fcntl2.h
5.44 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
fenv.h
3.29 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
floatn-common.h
10.08 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
floatn.h
4.35 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
flt-eval-method.h
1.19 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
fp-fast.h
1.19 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
fp-logb.h
1012 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
getopt_core.h
3.58 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
getopt_ext.h
2.97 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
getopt_posix.h
1.77 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
hwcap.h
972 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
in.h
9.15 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
indirect-return.h
1.55 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
initspin.h
25 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
inotify.h
1.05 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
ioctl-types.h
2.4 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
ioctls.h
4.37 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
ipc-perm.h
1.7 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
ipc.h
1.49 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
ipctypes.h
1.15 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
iscanonical.h
2.42 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
libc-header-start.h
4.19 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
libm-simd-decl-stubs.h
8.72 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
link.h
4.22 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
link_lavcurrent.h
1.08 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
local_lim.h
3.1 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
locale.h
1.34 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
long-double.h
970 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
math-vector.h
5.28 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
mathcalls-helper-functions.h
1.82 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
mathcalls-narrow.h
1.48 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
mathcalls.h
14.22 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
mathdef.h
891 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
mman-linux.h
5.07 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
mman-map-flags-generic.h
1.92 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
mman-shared.h
2.86 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
mman.h
1.43 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
mman_ext.h
1.2 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
monetary-ldbl.h
1.02 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
mqueue.h
1.22 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
mqueue2.h
2.1 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
msq.h
1.75 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
netdb.h
1.23 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
param.h
1.4 KB
01/28/2025 05:07:37 PM
rw-r--r--
📁
platform
-
06/10/2025 09:51:14 PM
rwxr-xr-x
📄
poll.h
2.03 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
poll2.h
3.59 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
posix1_lim.h
5.08 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
posix2_lim.h
2.8 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
posix_opt.h
5.77 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
printf-ldbl.h
992 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
procfs-extra.h
963 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
procfs-id.h
1.12 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
procfs-prregset.h
1.03 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
procfs.h
1.98 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
pthread_stack_min-dynamic.h
1.19 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
pthread_stack_min.h
951 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
pthreadtypes-arch.h
1.79 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
pthreadtypes.h
3 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
ptrace-shared.h
4.42 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
resource.h
6.16 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
rseq.h
1.22 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
sched.h
4.02 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
select-decl.h
1.21 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
select.h
1.47 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
select2.h
1.24 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
sem.h
2.21 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
semaphore.h
1.19 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
setjmp.h
1.26 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
setjmp2.h
1.67 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
shm.h
2.7 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
shmlba.h
1.08 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
sigaction.h
2.87 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
sigcontext.h
4.17 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
sigevent-consts.h
1.44 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
siginfo-arch.h
729 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
siginfo-consts-arch.h
204 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
siginfo-consts.h
6.95 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
signal_ext.h
1.25 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
signalfd.h
1.04 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
signum-arch.h
2.52 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
signum-generic.h
3.24 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
sigstack.h
1.14 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
sigstksz.h
1.25 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
sigthread.h
1.65 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
sockaddr.h
1.48 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
socket-constants.h
2.44 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
socket.h
13.4 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
socket2.h
2.97 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
socket_type.h
2.16 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
spawn_ext.h
2.43 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
ss_flags.h
1.16 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stab.def
8.83 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stat.h
2.18 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
statfs.h
1.87 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
statvfs.h
3.49 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
statx-generic.h
2.17 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
statx.h
1.37 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stdint-intn.h
1.01 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stdint-least.h
1.27 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stdint-uintn.h
1.02 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stdio-ldbl.h
4.21 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stdio.h
5.47 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stdio2-decl.h
6.16 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stdio2.h
8.01 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stdio_lim.h
1.03 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stdlib-bsearch.h
1.52 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stdlib-float.h
1.09 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stdlib-ldbl.h
1.97 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
stdlib.h
5.64 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
string_fortified.h
5.49 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
strings_fortified.h
1.21 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
struct_mutex.h
1.77 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
struct_rwlock.h
1.98 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
struct_stat.h
6.04 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
struct_stat_time64_helper.h
2.54 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
syscall.h
45.11 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
syslog-decl.h
1.3 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
syslog-ldbl.h
1.18 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
syslog-path.h
1.04 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
syslog.h
1.66 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
sysmacros.h
2.88 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
termios-baud.h
1.78 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
termios-c_cc.h
1.25 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
termios-c_cflag.h
1.25 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
termios-c_iflag.h
1.89 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
termios-c_lflag.h
2.53 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
termios-c_oflag.h
2.76 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
termios-misc.h
969 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
termios-struct.h
1.4 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
termios-tcflow.h
1.04 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
termios.h
2.12 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
thread-shared-types.h
3.82 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
time.h
3.25 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
time64.h
1.31 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
timerfd.h
1.08 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
timesize.h
1.08 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
timex.h
6.05 KB
01/28/2025 05:07:37 PM
rw-r--r--
📁
types
-
06/10/2025 09:51:14 PM
rwxr-xr-x
📄
types.h
8.6 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
typesizes.h
3.65 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
uintn-identity.h
1.51 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
uio-ext.h
1.88 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
uio_lim.h
1.35 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
unistd-decl.h
8.48 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
unistd.h
4.38 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
unistd_ext.h
1.99 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
utmp.h
3.97 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
utmpx.h
3.49 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
utsname.h
1.18 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
waitflags.h
1.66 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
waitstatus.h
2.23 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
wchar-ldbl.h
3.85 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
wchar.h
1.86 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
wchar2-decl.h
11.19 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
wchar2.h
9.21 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
wctype-wchar.h
6.16 KB
01/28/2025 05:07:37 PM
rw-r--r--
📄
wordsize.h
442 bytes
01/28/2025 05:07:37 PM
rw-r--r--
📄
xopen_lim.h
3.77 KB
01/28/2025 05:07:37 PM
rw-r--r--
Editing: socket.h
Close
/* System-specific socket constants and types. Linux version. Copyright (C) 1991-2024 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, see <https://www.gnu.org/licenses/>. */ #ifndef __BITS_SOCKET_H #define __BITS_SOCKET_H #ifndef _SYS_SOCKET_H # error "Never include <bits/socket.h> directly; use <sys/socket.h> instead." #endif #define __need_size_t #include <stddef.h> #include <sys/types.h> /* Type for length arguments in socket calls. */ #ifndef __socklen_t_defined typedef __socklen_t socklen_t; # define __socklen_t_defined #endif /* Get the architecture-dependent definition of enum __socket_type. */ #include <bits/socket_type.h> /* Protocol families. */ #define PF_UNSPEC 0 /* Unspecified. */ #define PF_LOCAL 1 /* Local to host (pipes and file-domain). */ #define PF_UNIX PF_LOCAL /* POSIX name for PF_LOCAL. */ #define PF_FILE PF_LOCAL /* Another non-standard 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. */ #define PF_APPLETALK 5 /* Appletalk DDP. */ #define PF_NETROM 6 /* Amateur radio NetROM. */ #define PF_BRIDGE 7 /* Multiprotocol bridge. */ #define PF_ATMPVC 8 /* ATM PVCs. */ #define PF_X25 9 /* Reserved for X.25 project. */ #define PF_INET6 10 /* IP version 6. */ #define PF_ROSE 11 /* Amateur Radio X.25 PLP. */ #define PF_DECnet 12 /* Reserved for DECnet project. */ #define PF_NETBEUI 13 /* Reserved for 802.2LLC project. */ #define PF_SECURITY 14 /* Security callback pseudo AF. */ #define PF_KEY 15 /* PF_KEY key management API. */ #define PF_NETLINK 16 #define PF_ROUTE PF_NETLINK /* Alias to emulate 4.4BSD. */ #define PF_PACKET 17 /* Packet family. */ #define PF_ASH 18 /* Ash. */ #define PF_ECONET 19 /* Acorn Econet. */ #define PF_ATMSVC 20 /* ATM SVCs. */ #define PF_RDS 21 /* RDS sockets. */ #define PF_SNA 22 /* Linux SNA Project */ #define PF_IRDA 23 /* IRDA sockets. */ #define PF_PPPOX 24 /* PPPoX sockets. */ #define PF_WANPIPE 25 /* Wanpipe API sockets. */ #define PF_LLC 26 /* Linux LLC. */ #define PF_IB 27 /* Native InfiniBand address. */ #define PF_MPLS 28 /* MPLS. */ #define PF_CAN 29 /* Controller Area Network. */ #define PF_TIPC 30 /* TIPC sockets. */ #define PF_BLUETOOTH 31 /* Bluetooth sockets. */ #define PF_IUCV 32 /* IUCV sockets. */ #define PF_RXRPC 33 /* RxRPC sockets. */ #define PF_ISDN 34 /* mISDN sockets. */ #define PF_PHONET 35 /* Phonet sockets. */ #define PF_IEEE802154 36 /* IEEE 802.15.4 sockets. */ #define PF_CAIF 37 /* CAIF sockets. */ #define PF_ALG 38 /* Algorithm sockets. */ #define PF_NFC 39 /* NFC sockets. */ #define PF_VSOCK 40 /* vSockets. */ #define PF_KCM 41 /* Kernel Connection Multiplexor. */ #define PF_QIPCRTR 42 /* Qualcomm IPC Router. */ #define PF_SMC 43 /* SMC sockets. */ #define PF_XDP 44 /* XDP sockets. */ #define PF_MCTP 45 /* Management component transport protocol. */ #define PF_MAX 46 /* For now.. */ /* Address families. */ #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 #define AF_APPLETALK PF_APPLETALK #define AF_NETROM PF_NETROM #define AF_BRIDGE PF_BRIDGE #define AF_ATMPVC PF_ATMPVC #define AF_X25 PF_X25 #define AF_INET6 PF_INET6 #define AF_ROSE PF_ROSE #define AF_DECnet PF_DECnet #define AF_NETBEUI PF_NETBEUI #define AF_SECURITY PF_SECURITY #define AF_KEY PF_KEY #define AF_NETLINK PF_NETLINK #define AF_ROUTE PF_ROUTE #define AF_PACKET PF_PACKET #define AF_ASH PF_ASH #define AF_ECONET PF_ECONET #define AF_ATMSVC PF_ATMSVC #define AF_RDS PF_RDS #define AF_SNA PF_SNA #define AF_IRDA PF_IRDA #define AF_PPPOX PF_PPPOX #define AF_WANPIPE PF_WANPIPE #define AF_LLC PF_LLC #define AF_IB PF_IB #define AF_MPLS PF_MPLS #define AF_CAN PF_CAN #define AF_TIPC PF_TIPC #define AF_BLUETOOTH PF_BLUETOOTH #define AF_IUCV PF_IUCV #define AF_RXRPC PF_RXRPC #define AF_ISDN PF_ISDN #define AF_PHONET PF_PHONET #define AF_IEEE802154 PF_IEEE802154 #define AF_CAIF PF_CAIF #define AF_ALG PF_ALG #define AF_NFC PF_NFC #define AF_VSOCK PF_VSOCK #define AF_KCM PF_KCM #define AF_QIPCRTR PF_QIPCRTR #define AF_SMC PF_SMC #define AF_XDP PF_XDP #define AF_MCTP PF_MCTP #define AF_MAX PF_MAX /* Socket level values. Others are defined in the appropriate headers. XXX These definitions also should go into the appropriate headers as far as they are available. */ #define SOL_RAW 255 #define SOL_DECNET 261 #define SOL_X25 262 #define SOL_PACKET 263 #define SOL_ATM 264 /* ATM layer (cell level). */ #define SOL_AAL 265 /* ATM Adaption Layer (packet level). */ #define SOL_IRDA 266 #define SOL_NETBEUI 267 #define SOL_LLC 268 #define SOL_DCCP 269 #define SOL_NETLINK 270 #define SOL_TIPC 271 #define SOL_RXRPC 272 #define SOL_PPPOL2TP 273 #define SOL_BLUETOOTH 274 #define SOL_PNPIPE 275 #define SOL_RDS 276 #define SOL_IUCV 277 #define SOL_CAIF 278 #define SOL_ALG 279 #define SOL_NFC 280 #define SOL_KCM 281 #define SOL_TLS 282 #define SOL_XDP 283 #define SOL_MPTCP 284 #define SOL_MCTP 285 #define SOL_SMC 286 /* Maximum queue length specifiable by listen. */ #define SOMAXCONN 4096 /* Get the definition of the macro to define the common sockaddr members. */ #include <bits/sockaddr.h> /* Structure describing a generic socket address. */ struct sockaddr { __SOCKADDR_COMMON (sa_); /* Common data: address family and length. */ char sa_data[14]; /* Address data. */ }; /* Structure large enough to hold any socket address (with the historical exception of AF_UNIX). */ #define __ss_aligntype unsigned long int #define _SS_PADSIZE \ (_SS_SIZE - __SOCKADDR_COMMON_SIZE - sizeof (__ss_aligntype)) struct sockaddr_storage { __SOCKADDR_COMMON (ss_); /* Address family, etc. */ char __ss_padding[_SS_PADSIZE]; __ss_aligntype __ss_align; /* Force desired alignment. */ }; /* Bits in the FLAGS argument to `send', `recv', et al. */ enum { MSG_OOB = 0x01, /* Process out-of-band data. */ #define MSG_OOB MSG_OOB MSG_PEEK = 0x02, /* Peek at incoming messages. */ #define MSG_PEEK MSG_PEEK MSG_DONTROUTE = 0x04, /* Don't use local routing. */ #define MSG_DONTROUTE MSG_DONTROUTE #ifdef __USE_GNU /* DECnet uses a different name. */ MSG_TRYHARD = MSG_DONTROUTE, # define MSG_TRYHARD MSG_DONTROUTE #endif MSG_CTRUNC = 0x08, /* Control data lost before delivery. */ #define MSG_CTRUNC MSG_CTRUNC MSG_PROXY = 0x10, /* Supply or ask second address. */ #define MSG_PROXY MSG_PROXY MSG_TRUNC = 0x20, #define MSG_TRUNC MSG_TRUNC MSG_DONTWAIT = 0x40, /* Nonblocking IO. */ #define MSG_DONTWAIT MSG_DONTWAIT MSG_EOR = 0x80, /* End of record. */ #define MSG_EOR MSG_EOR MSG_WAITALL = 0x100, /* Wait for a full request. */ #define MSG_WAITALL MSG_WAITALL MSG_FIN = 0x200, #define MSG_FIN MSG_FIN MSG_SYN = 0x400, #define MSG_SYN MSG_SYN MSG_CONFIRM = 0x800, /* Confirm path validity. */ #define MSG_CONFIRM MSG_CONFIRM MSG_RST = 0x1000, #define MSG_RST MSG_RST MSG_ERRQUEUE = 0x2000, /* Fetch message from error queue. */ #define MSG_ERRQUEUE MSG_ERRQUEUE MSG_NOSIGNAL = 0x4000, /* Do not generate SIGPIPE. */ #define MSG_NOSIGNAL MSG_NOSIGNAL MSG_MORE = 0x8000, /* Sender will send more. */ #define MSG_MORE MSG_MORE MSG_WAITFORONE = 0x10000, /* Wait for at least one packet to return.*/ #define MSG_WAITFORONE MSG_WAITFORONE MSG_BATCH = 0x40000, /* sendmmsg: more messages coming. */ #define MSG_BATCH MSG_BATCH MSG_ZEROCOPY = 0x4000000, /* Use user data in kernel path. */ #define MSG_ZEROCOPY MSG_ZEROCOPY MSG_FASTOPEN = 0x20000000, /* Send data in TCP SYN. */ #define MSG_FASTOPEN MSG_FASTOPEN MSG_CMSG_CLOEXEC = 0x40000000 /* Set close_on_exit for file descriptor received through SCM_RIGHTS. */ #define MSG_CMSG_CLOEXEC MSG_CMSG_CLOEXEC }; /* Structure describing messages sent by `sendmsg' and received by `recvmsg'. */ struct msghdr { void *msg_name; /* Address to send to/receive from. */ socklen_t msg_namelen; /* Length of address data. */ struct iovec *msg_iov; /* Vector of data to send/receive into. */ size_t msg_iovlen; /* Number of elements in the vector. */ void *msg_control; /* Ancillary data (eg BSD filedesc passing). */ size_t msg_controllen; /* Ancillary data buffer length. !! The type should be socklen_t but the definition of the kernel is incompatible with this. */ int msg_flags; /* Flags on received message. */ }; /* Structure used for storage of ancillary data object information. */ struct cmsghdr { size_t cmsg_len; /* Length of data in cmsg_data plus length of cmsghdr structure. !! The type should be socklen_t but the definition of the kernel is incompatible with this. */ int cmsg_level; /* Originating protocol. */ int cmsg_type; /* Protocol specific type. */ #if __glibc_c99_flexarr_available __extension__ unsigned char __cmsg_data __flexarr; /* Ancillary data. */ #endif }; /* Ancillary data object manipulation macros. */ #if __glibc_c99_flexarr_available # define CMSG_DATA(cmsg) ((cmsg)->__cmsg_data) #else # define CMSG_DATA(cmsg) ((unsigned char *) ((struct cmsghdr *) (cmsg) + 1)) #endif #define CMSG_NXTHDR(mhdr, cmsg) __cmsg_nxthdr (mhdr, cmsg) #define CMSG_FIRSTHDR(mhdr) \ ((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) \ ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) 0) #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) \ & (size_t) ~(sizeof (size_t) - 1)) #define CMSG_SPACE(len) (CMSG_ALIGN (len) \ + CMSG_ALIGN (sizeof (struct cmsghdr))) #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) /* Given a length, return the additional padding necessary such that len + __CMSG_PADDING(len) == CMSG_ALIGN (len). */ #define __CMSG_PADDING(len) ((sizeof (size_t) \ - ((len) & (sizeof (size_t) - 1))) \ & (sizeof (size_t) - 1)) extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __THROW; #ifdef __USE_EXTERN_INLINES # ifndef _EXTERN_INLINE # define _EXTERN_INLINE __extern_inline # endif _EXTERN_INLINE struct cmsghdr * __NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)) { /* We may safely assume that __cmsg lies between __mhdr->msg_control and __mhdr->msg_controllen because the user is required to obtain the first cmsg via CMSG_FIRSTHDR, set its length, then obtain subsequent cmsgs via CMSG_NXTHDR, setting lengths along the way. However, we don't yet trust the value of __cmsg->cmsg_len and therefore do not use it in any pointer arithmetic until we check its value. */ unsigned char * __msg_control_ptr = (unsigned char *) __mhdr->msg_control; unsigned char * __cmsg_ptr = (unsigned char *) __cmsg; size_t __size_needed = sizeof (struct cmsghdr) + __CMSG_PADDING (__cmsg->cmsg_len); /* The current header is malformed, too small to be a full header. */ if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) return (struct cmsghdr *) 0; /* There isn't enough space between __cmsg and the end of the buffer to hold the current cmsg *and* the next one. */ if (((size_t) (__msg_control_ptr + __mhdr->msg_controllen - __cmsg_ptr) < __size_needed) || ((size_t) (__msg_control_ptr + __mhdr->msg_controllen - __cmsg_ptr - __size_needed) < __cmsg->cmsg_len)) return (struct cmsghdr *) 0; /* Now, we trust cmsg_len and can use it to find the next header. */ __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len)); return __cmsg; } #endif /* Use `extern inline'. */ /* Socket level message types. This must match the definitions in <linux/socket.h>. */ enum { SCM_RIGHTS = 0x01 /* Transfer file descriptors. */ #define SCM_RIGHTS SCM_RIGHTS #ifdef __USE_GNU , SCM_CREDENTIALS = 0x02 /* Credentials passing. */ # define SCM_CREDENTIALS SCM_CREDENTIALS , SCM_SECURITY = 0x03 /* Security label. */ # define SCM_SECURITY SCM_SECURITY , SCM_PIDFD = 0x04 /* Pidfd. */ # define SCM_PIDFD SCM_PIDFD #endif }; #ifdef __USE_GNU /* User visible structure for SCM_CREDENTIALS message */ struct ucred { pid_t pid; /* PID of sending process. */ uid_t uid; /* UID of sending process. */ gid_t gid; /* GID of sending process. */ }; #endif #ifdef __USE_MISC # include <bits/types/time_t.h> # include <asm/socket.h> #else # define SO_DEBUG 1 # include <bits/socket-constants.h> #endif /* Structure used to manipulate the SO_LINGER option. */ struct linger { int l_onoff; /* Nonzero to linger on close. */ int l_linger; /* Time to linger. */ }; #endif /* bits/socket.h */