projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-changing exit helper code to automatically do the network configuration for an exit...
[oweals/gnunet.git]
/
src
/
transport
/
plugin_transport_tcp.c
diff --git
a/src/transport/plugin_transport_tcp.c
b/src/transport/plugin_transport_tcp.c
index 1024b800804fc9738310677cb91cd9236fcbf20e..e79440e5e59a368fe41657d4650c6df59a68e08a 100644
(file)
--- a/
src/transport/plugin_transport_tcp.c
+++ b/
src/transport/plugin_transport_tcp.c
@@
-43,6
+43,8
@@
#define DEBUG_TCP_NAT GNUNET_EXTRA_LOGGING
#define DEBUG_TCP_NAT GNUNET_EXTRA_LOGGING
+GNUNET_NETWORK_STRUCT_BEGIN
+
/**
* Initial handshake message for a session.
*/
/**
* Initial handshake message for a session.
*/
@@
-78,7
+80,7
@@
struct TCP_NAT_ProbeMessage
struct GNUNET_PeerIdentity clientIdentity;
};
struct GNUNET_PeerIdentity clientIdentity;
};
-
+GNUNET_NETWORK_STRUCT_END
/**
* Context for sending a NAT probe via TCP.
/**
* Context for sending a NAT probe via TCP.
@@
-118,6
+120,8
@@
struct TCPProbeContext
};
};
+GNUNET_NETWORK_STRUCT_BEGIN
+
/**
* Network format for IPv4 addresses.
*/
/**
* Network format for IPv4 addresses.
*/
@@
-152,7
+156,7
@@
struct IPv6TcpAddress
uint16_t t6_port GNUNET_PACKED;
};
uint16_t t6_port GNUNET_PACKED;
};
-
+GNUNET_NETWORK_STRUCT_END
/**
* Encapsulation of all of the state of the plugin.
/**
* Encapsulation of all of the state of the plugin.