From 17d34d5e094c2f8a90717b07e3a711d6e2c15903 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 17 Mar 2017 18:13:55 +0100 Subject: more renamings relating to 'new' service now just being the 'normal' service --- src/vpn/gnunet-helper-vpn-windows.c | 2 +- src/vpn/gnunet-helper-vpn.c | 2 +- src/vpn/gnunet-service-vpn.c | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/vpn') diff --git a/src/vpn/gnunet-helper-vpn-windows.c b/src/vpn/gnunet-helper-vpn-windows.c index a9596752a..e74a0aa2f 100644 --- a/src/vpn/gnunet-helper-vpn-windows.c +++ b/src/vpn/gnunet-helper-vpn-windows.c @@ -77,7 +77,7 @@ static boolean privilege_testing = FALSE; /** - * Maximum size of a GNUnet message (GNUNET_SERVER_MAX_MESSAGE_SIZE) + * Maximum size of a GNUnet message (GNUNET_MAX_MESSAGE_SIZE) */ #define MAX_SIZE 65536 diff --git a/src/vpn/gnunet-helper-vpn.c b/src/vpn/gnunet-helper-vpn.c index 02889d65b..4ed4e079e 100644 --- a/src/vpn/gnunet-helper-vpn.c +++ b/src/vpn/gnunet-helper-vpn.c @@ -53,7 +53,7 @@ #define DEBUG GNUNET_NO /** - * Maximum size of a GNUnet message (GNUNET_SERVER_MAX_MESSAGE_SIZE) + * Maximum size of a GNUnet message (GNUNET_MAX_MESSAGE_SIZE) */ #define MAX_SIZE 65536 diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c index 4759f3746..d9daaa7e2 100644 --- a/src/vpn/gnunet-service-vpn.c +++ b/src/vpn/gnunet-service-vpn.c @@ -1839,7 +1839,7 @@ route_packet (struct DestinationEntry *destination, mlen = sizeof (struct GNUNET_EXIT_UdpServiceMessage) + payload_length - sizeof (struct GNUNET_TUN_UdpHeader); - if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) + if (mlen >= GNUNET_MAX_MESSAGE_SIZE) { GNUNET_break (0); return; @@ -1864,7 +1864,7 @@ route_packet (struct DestinationEntry *destination, mlen = sizeof (struct GNUNET_EXIT_UdpInternetMessage) + alen + payload_length - sizeof (struct GNUNET_TUN_UdpHeader); - if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) + if (mlen >= GNUNET_MAX_MESSAGE_SIZE) { GNUNET_break (0); return; @@ -1904,7 +1904,7 @@ route_packet (struct DestinationEntry *destination, mlen = sizeof (struct GNUNET_EXIT_TcpServiceStartMessage) + payload_length - sizeof (struct GNUNET_TUN_TcpHeader); - if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) + if (mlen >= GNUNET_MAX_MESSAGE_SIZE) { GNUNET_break (0); return; @@ -1927,7 +1927,7 @@ route_packet (struct DestinationEntry *destination, mlen = sizeof (struct GNUNET_EXIT_TcpInternetStartMessage) + alen + payload_length - sizeof (struct GNUNET_TUN_TcpHeader); - if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) + if (mlen >= GNUNET_MAX_MESSAGE_SIZE) { GNUNET_break (0); return; @@ -1963,7 +1963,7 @@ route_packet (struct DestinationEntry *destination, mlen = sizeof (struct GNUNET_EXIT_TcpDataMessage) + payload_length - sizeof (struct GNUNET_TUN_TcpHeader); - if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) + if (mlen >= GNUNET_MAX_MESSAGE_SIZE) { GNUNET_break (0); return; @@ -2038,7 +2038,7 @@ route_packet (struct DestinationEntry *destination, /* update length calculations, as payload_length may have changed */ mlen = sizeof (struct GNUNET_EXIT_IcmpServiceMessage) + alen + payload_length - sizeof (struct GNUNET_TUN_IcmpHeader); - if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) + if (mlen >= GNUNET_MAX_MESSAGE_SIZE) { GNUNET_break (0); return; @@ -2168,7 +2168,7 @@ route_packet (struct DestinationEntry *destination, /* update length calculations, as payload_length may have changed */ mlen = sizeof (struct GNUNET_EXIT_IcmpInternetMessage) + alen + payload_length - sizeof (struct GNUNET_TUN_IcmpHeader); - if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) + if (mlen >= GNUNET_MAX_MESSAGE_SIZE) { GNUNET_break (0); return; -- cgit v1.2.3