aboutsummaryrefslogtreecommitdiff
path: root/src/exit
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-17 18:13:55 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-17 18:13:55 +0100
commit17d34d5e094c2f8a90717b07e3a711d6e2c15903 (patch)
tree777b5323145a5f4d1f044da29a682799008a11d4 /src/exit
parent3391977e3f92a2ebcafc14ea6374aecd580df873 (diff)
downloadgnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.tar.gz
gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.zip
more renamings relating to 'new' service now just being the 'normal' service
Diffstat (limited to 'src/exit')
-rw-r--r--src/exit/gnunet-daemon-exit.c8
-rw-r--r--src/exit/gnunet-helper-exit-windows.c2
-rw-r--r--src/exit/gnunet-helper-exit.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c
index 15a462ada..2cd3441a1 100644
--- a/src/exit/gnunet-daemon-exit.c
+++ b/src/exit/gnunet-daemon-exit.c
@@ -979,7 +979,7 @@ send_tcp_packet_via_tun (const struct SocketAddress *destination_address,
979 } 979 }
980 len += sizeof (struct GNUNET_TUN_TcpHeader); 980 len += sizeof (struct GNUNET_TUN_TcpHeader);
981 len += payload_length; 981 len += payload_length;
982 if (len >= GNUNET_SERVER_MAX_MESSAGE_SIZE) 982 if (len >= GNUNET_MAX_MESSAGE_SIZE)
983 { 983 {
984 GNUNET_break (0); 984 GNUNET_break (0);
985 return; 985 return;
@@ -1079,7 +1079,7 @@ send_icmp_packet_via_tun (const struct SocketAddress *destination_address,
1079 } 1079 }
1080 len += sizeof (struct GNUNET_TUN_IcmpHeader); 1080 len += sizeof (struct GNUNET_TUN_IcmpHeader);
1081 len += payload_length; 1081 len += payload_length;
1082 if (len >= GNUNET_SERVER_MAX_MESSAGE_SIZE) 1082 if (len >= GNUNET_MAX_MESSAGE_SIZE)
1083 { 1083 {
1084 GNUNET_break (0); 1084 GNUNET_break (0);
1085 return; 1085 return;
@@ -1358,7 +1358,7 @@ send_udp_packet_via_tun (const struct SocketAddress *destination_address,
1358 } 1358 }
1359 len += sizeof (struct GNUNET_TUN_UdpHeader); 1359 len += sizeof (struct GNUNET_TUN_UdpHeader);
1360 len += payload_length; 1360 len += payload_length;
1361 if (len >= GNUNET_SERVER_MAX_MESSAGE_SIZE) 1361 if (len >= GNUNET_MAX_MESSAGE_SIZE)
1362 { 1362 {
1363 GNUNET_break (0); 1363 GNUNET_break (0);
1364 return; 1364 return;
@@ -2884,7 +2884,7 @@ tcp_from_helper (const struct GNUNET_TUN_TcpHeader *tcp,
2884 mtcp->crc = 0; 2884 mtcp->crc = 0;
2885 2885
2886 mlen = sizeof (struct GNUNET_EXIT_TcpDataMessage) + (pktlen - sizeof (struct GNUNET_TUN_TcpHeader)); 2886 mlen = sizeof (struct GNUNET_EXIT_TcpDataMessage) + (pktlen - sizeof (struct GNUNET_TUN_TcpHeader));
2887 if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) 2887 if (mlen >= GNUNET_MAX_MESSAGE_SIZE)
2888 { 2888 {
2889 GNUNET_break (0); 2889 GNUNET_break (0);
2890 return; 2890 return;
diff --git a/src/exit/gnunet-helper-exit-windows.c b/src/exit/gnunet-helper-exit-windows.c
index 6be65ccd5..aa7a7a4a3 100644
--- a/src/exit/gnunet-helper-exit-windows.c
+++ b/src/exit/gnunet-helper-exit-windows.c
@@ -77,7 +77,7 @@
77static boolean privilege_testing = FALSE; 77static boolean privilege_testing = FALSE;
78 78
79/** 79/**
80 * Maximum size of a GNUnet message (GNUNET_SERVER_MAX_MESSAGE_SIZE) 80 * Maximum size of a GNUnet message (GNUNET_MAX_MESSAGE_SIZE)
81 */ 81 */
82#define MAX_SIZE 65536 82#define MAX_SIZE 65536
83 83
diff --git a/src/exit/gnunet-helper-exit.c b/src/exit/gnunet-helper-exit.c
index e14c6ca43..3c6f97557 100644
--- a/src/exit/gnunet-helper-exit.c
+++ b/src/exit/gnunet-helper-exit.c
@@ -62,7 +62,7 @@
62#define DEBUG GNUNET_NO 62#define DEBUG GNUNET_NO
63 63
64/** 64/**
65 * Maximum size of a GNUnet message (GNUNET_SERVER_MAX_MESSAGE_SIZE) 65 * Maximum size of a GNUnet message (GNUNET_MAX_MESSAGE_SIZE)
66 */ 66 */
67#define MAX_SIZE 65536 67#define MAX_SIZE 65536
68 68