aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Erickson <gerickson@nuovations.com>2023-12-06 11:04:25 -0800
committerMarcel Holtmann <marcel@holtmann.org>2023-12-08 01:55:44 +0100
commitf1f292b19dc9760a7872efa4813b31732159c616 (patch)
tree6e310fc968c8864bffd1d2be7b3c4c8c6d9f4617
parent39652d36b32f71d4a27b3e291b213b60c1cd9d41 (diff)
downloadconnman-f1f292b19dc9760a7872efa4813b31732159c616.tar.gz
connection: Document 'gateway_hash'.
This adds documentation to the 'gateway_hash' global.
-rw-r--r--src/connection.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/connection.c b/src/connection.c
index d575e514e..f1e91c7c8 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -418,6 +418,11 @@ static const struct gateway_config_ops ipv6_gateway_config_ops = {
static const char *const ipv4_addr_any_str = "0.0.0.0";
static const char *const ipv6_addr_any_str = "::";
+/**
+ * A dictionary / hash table of network services to gateway, or
+ * default router, data.
+ *
+ */
static GHashTable *gateway_hash = NULL;
/**