summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_u32.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2007-10-04 16:27:07 +0000
committer/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2007-10-04 16:27:07 +0000
commit0a0a8dbc129729e0028b64b2e9cc8f099f13c4dd (patch)
tree37c29ea4f70d8c72a1a9910b8c775fc8d77bd148 /extensions/libxt_u32.c
parent776aa6b83a7401f41a4c52e32437e32d27ae2e0a (diff)
[PATCH 07/13] Unique symbols 1/6
Give symbols of libxt matches unique names (1/3). Adds unique prefixes to all functions (most of them - especially the hook functions) so that debugging programs can unambiguously map a symbol to an address. Also unifies the names of the xtables_match/xtables_target structs, (based upon libxt_connmark.c/libip6t_*.c). Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libxt_u32.c')
-rw-r--r--extensions/libxt_u32.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libxt_u32.c b/extensions/libxt_u32.c
index 2be5c8b..18aae2d 100644
--- a/extensions/libxt_u32.c
+++ b/extensions/libxt_u32.c
@@ -268,7 +268,7 @@ static void u32_save(const void *ip, const struct xt_entry_match *match)
return;
}
-static struct xtables_match u32_reg = {
+static struct xtables_match u32_match = {
.name = "u32",
.family = AF_INET,
.version = IPTABLES_VERSION,
@@ -281,7 +281,7 @@ static struct xtables_match u32_reg = {
.extra_opts = u32_opts,
};
-static struct xtables_match u32_reg6 = {
+static struct xtables_match u32_match6 = {
.name = "u32",
.family = AF_INET6,
.version = IPTABLES_VERSION,
@@ -296,7 +296,7 @@ static struct xtables_match u32_reg6 = {
void _init(void)
{
- xtables_register_match(&u32_reg);
- xtables_register_match(&u32_reg6);
+ xtables_register_match(&u32_match);
+ xtables_register_match(&u32_match6);
return;
}