diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-12-25 16:12:47 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-12-25 16:12:47 +0100 |
commit | 4905f68d52125e59e7e86fd984b60ecbb6b3ba28 (patch) | |
tree | a017089211551d43985c9235a8fb6a947689ebb0 /src/include/gnunet_nat_service.h | |
parent | 0bd19eb0fe8f039a0a90a742b2abcc917ba17e35 (diff) | |
download | gnunet-4905f68d52125e59e7e86fd984b60ecbb6b3ba28.tar.gz gnunet-4905f68d52125e59e7e86fd984b60ecbb6b3ba28.zip |
working on proper IP address filtering logic
Diffstat (limited to 'src/include/gnunet_nat_service.h')
-rw-r--r-- | src/include/gnunet_nat_service.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/gnunet_nat_service.h b/src/include/gnunet_nat_service.h index a42d1d7e6..4df17b531 100644 --- a/src/include/gnunet_nat_service.h +++ b/src/include/gnunet_nat_service.h | |||
@@ -114,11 +114,13 @@ enum GNUNET_NAT_AddressClass | |||
114 | GNUNET_NAT_AC_LOOPBACK = 64, | 114 | GNUNET_NAT_AC_LOOPBACK = 64, |
115 | 115 | ||
116 | /** | 116 | /** |
117 | * Addresses that should be our global external IP address | 117 | * Addresses that should be our external IP address |
118 | * on the outside of a NAT. Might be incorrectly determined. | 118 | * on the outside of a NAT. Might be incorrectly determined. |
119 | * Used as a bit in combination with #GNUNET_NAT_AC_GLOBAL. | 119 | * Used as a bit in combination with #GNUNET_NAT_AC_GLOBAL, |
120 | * or in case of double-NAT with | ||
121 | * #GNUNET_NAT_AC_LAN. | ||
120 | */ | 122 | */ |
121 | GNUNET_NAT_AC_GLOBAL_EXTERN = 128, | 123 | GNUNET_NAT_AC_EXTERN = 128, |
122 | 124 | ||
123 | /** | 125 | /** |
124 | * Bitmask for "any" address. | 126 | * Bitmask for "any" address. |