]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/missing_socket.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
4 #include <sys/socket.h>
6 #if HAVE_LINUX_VM_SOCKETS_H
7 #include <linux/vm_sockets.h>
9 #define VMADDR_CID_ANY -1U
11 unsigned short svm_family
;
12 unsigned short svm_reserved1
;
13 unsigned int svm_port
;
15 unsigned char svm_zero
[sizeof(struct sockaddr
) -
16 sizeof(unsigned short) -
17 sizeof(unsigned short) -
18 sizeof(unsigned int) -
19 sizeof(unsigned int)];
21 #endif /* !HAVE_LINUX_VM_SOCKETS_H */
28 #define SO_REUSEPORT 15
32 #define SO_PEERGROUPS 59
36 #define SOL_NETLINK 270
43 /* Not exposed yet. Defined in include/linux/socket.h. */
48 /* Not exposed yet. Defined in include/linux/socket.h */
50 #define SCM_SECURITY 0x03
55 #define IP_FREEBIND 15
58 #ifndef IP_TRANSPARENT
59 #define IP_TRANSPARENT 19