diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:13:55 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:13:55 +0100 |
commit | 17d34d5e094c2f8a90717b07e3a711d6e2c15903 (patch) | |
tree | 777b5323145a5f4d1f044da29a682799008a11d4 /src/vpn/gnunet-service-vpn.c | |
parent | 3391977e3f92a2ebcafc14ea6374aecd580df873 (diff) | |
download | gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.tar.gz gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.zip |
more renamings relating to 'new' service now just being the 'normal' service
Diffstat (limited to 'src/vpn/gnunet-service-vpn.c')
-rw-r--r-- | src/vpn/gnunet-service-vpn.c | 14 |
1 files changed, 7 insertions, 7 deletions
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, | |||
1839 | 1839 | ||
1840 | mlen = sizeof (struct GNUNET_EXIT_UdpServiceMessage) + | 1840 | mlen = sizeof (struct GNUNET_EXIT_UdpServiceMessage) + |
1841 | payload_length - sizeof (struct GNUNET_TUN_UdpHeader); | 1841 | payload_length - sizeof (struct GNUNET_TUN_UdpHeader); |
1842 | if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) | 1842 | if (mlen >= GNUNET_MAX_MESSAGE_SIZE) |
1843 | { | 1843 | { |
1844 | GNUNET_break (0); | 1844 | GNUNET_break (0); |
1845 | return; | 1845 | return; |
@@ -1864,7 +1864,7 @@ route_packet (struct DestinationEntry *destination, | |||
1864 | 1864 | ||
1865 | mlen = sizeof (struct GNUNET_EXIT_UdpInternetMessage) + | 1865 | mlen = sizeof (struct GNUNET_EXIT_UdpInternetMessage) + |
1866 | alen + payload_length - sizeof (struct GNUNET_TUN_UdpHeader); | 1866 | alen + payload_length - sizeof (struct GNUNET_TUN_UdpHeader); |
1867 | if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) | 1867 | if (mlen >= GNUNET_MAX_MESSAGE_SIZE) |
1868 | { | 1868 | { |
1869 | GNUNET_break (0); | 1869 | GNUNET_break (0); |
1870 | return; | 1870 | return; |
@@ -1904,7 +1904,7 @@ route_packet (struct DestinationEntry *destination, | |||
1904 | 1904 | ||
1905 | mlen = sizeof (struct GNUNET_EXIT_TcpServiceStartMessage) + | 1905 | mlen = sizeof (struct GNUNET_EXIT_TcpServiceStartMessage) + |
1906 | payload_length - sizeof (struct GNUNET_TUN_TcpHeader); | 1906 | payload_length - sizeof (struct GNUNET_TUN_TcpHeader); |
1907 | if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) | 1907 | if (mlen >= GNUNET_MAX_MESSAGE_SIZE) |
1908 | { | 1908 | { |
1909 | GNUNET_break (0); | 1909 | GNUNET_break (0); |
1910 | return; | 1910 | return; |
@@ -1927,7 +1927,7 @@ route_packet (struct DestinationEntry *destination, | |||
1927 | 1927 | ||
1928 | mlen = sizeof (struct GNUNET_EXIT_TcpInternetStartMessage) + | 1928 | mlen = sizeof (struct GNUNET_EXIT_TcpInternetStartMessage) + |
1929 | alen + payload_length - sizeof (struct GNUNET_TUN_TcpHeader); | 1929 | alen + payload_length - sizeof (struct GNUNET_TUN_TcpHeader); |
1930 | if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) | 1930 | if (mlen >= GNUNET_MAX_MESSAGE_SIZE) |
1931 | { | 1931 | { |
1932 | GNUNET_break (0); | 1932 | GNUNET_break (0); |
1933 | return; | 1933 | return; |
@@ -1963,7 +1963,7 @@ route_packet (struct DestinationEntry *destination, | |||
1963 | 1963 | ||
1964 | mlen = sizeof (struct GNUNET_EXIT_TcpDataMessage) + | 1964 | mlen = sizeof (struct GNUNET_EXIT_TcpDataMessage) + |
1965 | payload_length - sizeof (struct GNUNET_TUN_TcpHeader); | 1965 | payload_length - sizeof (struct GNUNET_TUN_TcpHeader); |
1966 | if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) | 1966 | if (mlen >= GNUNET_MAX_MESSAGE_SIZE) |
1967 | { | 1967 | { |
1968 | GNUNET_break (0); | 1968 | GNUNET_break (0); |
1969 | return; | 1969 | return; |
@@ -2038,7 +2038,7 @@ route_packet (struct DestinationEntry *destination, | |||
2038 | /* update length calculations, as payload_length may have changed */ | 2038 | /* update length calculations, as payload_length may have changed */ |
2039 | mlen = sizeof (struct GNUNET_EXIT_IcmpServiceMessage) + | 2039 | mlen = sizeof (struct GNUNET_EXIT_IcmpServiceMessage) + |
2040 | alen + payload_length - sizeof (struct GNUNET_TUN_IcmpHeader); | 2040 | alen + payload_length - sizeof (struct GNUNET_TUN_IcmpHeader); |
2041 | if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) | 2041 | if (mlen >= GNUNET_MAX_MESSAGE_SIZE) |
2042 | { | 2042 | { |
2043 | GNUNET_break (0); | 2043 | GNUNET_break (0); |
2044 | return; | 2044 | return; |
@@ -2168,7 +2168,7 @@ route_packet (struct DestinationEntry *destination, | |||
2168 | /* update length calculations, as payload_length may have changed */ | 2168 | /* update length calculations, as payload_length may have changed */ |
2169 | mlen = sizeof (struct GNUNET_EXIT_IcmpInternetMessage) + | 2169 | mlen = sizeof (struct GNUNET_EXIT_IcmpInternetMessage) + |
2170 | alen + payload_length - sizeof (struct GNUNET_TUN_IcmpHeader); | 2170 | alen + payload_length - sizeof (struct GNUNET_TUN_IcmpHeader); |
2171 | if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) | 2171 | if (mlen >= GNUNET_MAX_MESSAGE_SIZE) |
2172 | { | 2172 | { |
2173 | GNUNET_break (0); | 2173 | GNUNET_break (0); |
2174 | return; | 2174 | return; |