diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-03-02 16:28:00 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-03-05 12:10:27 +0100 |
| commit | f027f1a3f7c45bafd7f99776548ef73ba3cc22ec (patch) | |
| tree | a004cfeb34c34ae36ef5b2dbfd65f7947c980c61 /sys/linux/socket_inet_ppc64le.const | |
| parent | 002cecf2022de3ab01c87f905477aa3b063d73fc (diff) | |
sys/linux: use size attributes on structs
1. Add size attribte on sockaddr.
2. Remove sockaddr's that are larger than 16 bytes from sockaddr.
3. Add size attribute on sockaddr_storage which wasn't actually 128 bytes.
4. Add size attribute to ifreq.
5. Fix ifmap field types as uncovered by the size attributes.
6. Fix sockaddr_storage_tcp from struct to union which is should be.
7. Make sockaddr_un_file fixed size as it should be.
8. Fix some explicit paddings that were only correct for 64 bits.
Diffstat (limited to 'sys/linux/socket_inet_ppc64le.const')
| -rw-r--r-- | sys/linux/socket_inet_ppc64le.const | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/linux/socket_inet_ppc64le.const b/sys/linux/socket_inet_ppc64le.const index e81c0d3d3..03cc1dfe5 100644 --- a/sys/linux/socket_inet_ppc64le.const +++ b/sys/linux/socket_inet_ppc64le.const @@ -9,6 +9,7 @@ ATF_NETMASK = 32 ATF_PERM = 4 ATF_PUBL = 8 ATF_USETRAILERS = 16 +# IFREQ_SIZE is not set IPPROTO_IP = 0 IP_ADD_MEMBERSHIP = 35 IP_ADD_SOURCE_MEMBERSHIP = 39 @@ -88,6 +89,8 @@ SIOCSIFDSTADDR = 35096 SIOCSIFFLAGS = 35092 SIOCSIFNETMASK = 35100 SIOCSIFPFLAGS = 35124 +# SOCKADDR_SIZE is not set +# SOCKADDR_STORAGE_SIZE is not set __NR_accept = 330 __NR_accept4 = 344 __NR_bind = 327 |
