summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-05-07 21:07:39 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-05-08 21:34:20 -0400
commit6866780115a7c0af034f287d965f4bf6b02c1e6d (patch)
tree22fb668edf9eee9b99d51172c1abfbe4494ead8e /src/core
parentfa13e4a78487971a5093db3fdc61cad224d47c16 (diff)
Rearrange a few fields to reduce holes
Diffstat (limited to 'src/core')
-rw-r--r--src/core/socket.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/socket.h b/src/core/socket.h
index 4826bb331b..9d48cde0a6 100644
--- a/src/core/socket.h
+++ b/src/core/socket.h
@@ -130,6 +130,10 @@ struct Socket {
bool broadcast;
bool pass_cred;
bool pass_sec;
+
+ /* Only for INET6 sockets: issue IPV6_V6ONLY sockopt */
+ SocketAddressBindIPv6Only bind_ipv6_only;
+
int priority;
int mark;
size_t receive_buffer;
@@ -142,9 +146,6 @@ struct Socket {
long mq_maxmsg;
long mq_msgsize;
- /* Only for INET6 sockets: issue IPV6_V6ONLY sockopt */
- SocketAddressBindIPv6Only bind_ipv6_only;
-
char *smack;
char *smack_ip_in;
char *smack_ip_out;