summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2008-02-03 19:58:44 +0000
committerBart De Schuymer <bdschuym@pandora.be>2008-02-03 19:58:44 +0000
commitaec7a025a9a8e9b9c47e9b14c8b3bad25eb46d0e (patch)
treef853e382d4a1f6ba5e62096c4caaea297df60352
parente65d5f02f57fbe3ad6ca1b22d2afe1273bcfd88e (diff)
Jan Engelhardt: remove unneedd macro
-rw-r--r--userspace/ebtables2/extensions/ebt_802_3.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_among.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_arp.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_arpreply.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_ip.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_limit.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_log.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_mark.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_mark_m.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_nat.c4
-rw-r--r--userspace/ebtables2/extensions/ebt_pkttype.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_redirect.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_standard.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_stp.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_ulog.c2
-rw-r--r--userspace/ebtables2/extensions/ebt_vlan.c2
16 files changed, 17 insertions, 17 deletions
diff --git a/userspace/ebtables2/extensions/ebt_802_3.c b/userspace/ebtables2/extensions/ebt_802_3.c
index a43d060..dd22eb2 100644
--- a/userspace/ebtables2/extensions/ebt_802_3.c
+++ b/userspace/ebtables2/extensions/ebt_802_3.c
@@ -130,7 +130,7 @@ static int compare(const struct ebt_entry_match *m1,
static struct ebt_u_match _802_3_match =
{
- .name = EBT_802_3_MATCH,
+ .name = "802_3",
.size = sizeof(struct ebt_802_3_info),
.help = print_help,
.init = init,
diff --git a/userspace/ebtables2/extensions/ebt_among.c b/userspace/ebtables2/extensions/ebt_among.c
index edd678e..85bf0b5 100644
--- a/userspace/ebtables2/extensions/ebt_among.c
+++ b/userspace/ebtables2/extensions/ebt_among.c
@@ -476,7 +476,7 @@ static int compare(const struct ebt_entry_match *m1,
}
static struct ebt_u_match among_match = {
- .name = EBT_AMONG_MATCH,
+ .name = "among",
.size = sizeof(struct ebt_among_info),
.help = print_help,
.init = init,
diff --git a/userspace/ebtables2/extensions/ebt_arp.c b/userspace/ebtables2/extensions/ebt_arp.c
index 4171d57..64d337d 100644
--- a/userspace/ebtables2/extensions/ebt_arp.c
+++ b/userspace/ebtables2/extensions/ebt_arp.c
@@ -351,7 +351,7 @@ static int compare(const struct ebt_entry_match *m1,
static struct ebt_u_match arp_match =
{
- .name = EBT_ARP_MATCH,
+ .name = "arp",
.size = sizeof(struct ebt_arp_info),
.help = print_help,
.init = init,
diff --git a/userspace/ebtables2/extensions/ebt_arpreply.c b/userspace/ebtables2/extensions/ebt_arpreply.c
index 32e50b4..0b81b1c 100644
--- a/userspace/ebtables2/extensions/ebt_arpreply.c
+++ b/userspace/ebtables2/extensions/ebt_arpreply.c
@@ -122,7 +122,7 @@ static int compare(const struct ebt_entry_target *t1,
static struct ebt_u_target arpreply_target =
{
- .name = EBT_ARPREPLY_TARGET,
+ .name = "arpreply",
.size = sizeof(struct ebt_arpreply_info),
.help = print_help,
.init = init,
diff --git a/userspace/ebtables2/extensions/ebt_ip.c b/userspace/ebtables2/extensions/ebt_ip.c
index 4fac896..4e0b7f0 100644
--- a/userspace/ebtables2/extensions/ebt_ip.c
+++ b/userspace/ebtables2/extensions/ebt_ip.c
@@ -327,7 +327,7 @@ static int compare(const struct ebt_entry_match *m1,
static struct ebt_u_match ip_match =
{
- .name = EBT_IP_MATCH,
+ .name = "ip",
.size = sizeof(struct ebt_ip_info),
.help = print_help,
.init = init,
diff --git a/userspace/ebtables2/extensions/ebt_limit.c b/userspace/ebtables2/extensions/ebt_limit.c
index 5655b59..5349baa 100644
--- a/userspace/ebtables2/extensions/ebt_limit.c
+++ b/userspace/ebtables2/extensions/ebt_limit.c
@@ -201,7 +201,7 @@ static int compare(const struct ebt_entry_match* m1,
static struct ebt_u_match limit_match =
{
- .name = EBT_LIMIT_MATCH,
+ .name = "limit",
.size = sizeof(struct ebt_limit_info),
.help = print_help,
.init = init,
diff --git a/userspace/ebtables2/extensions/ebt_log.c b/userspace/ebtables2/extensions/ebt_log.c
index 575d12e..c728304 100644
--- a/userspace/ebtables2/extensions/ebt_log.c
+++ b/userspace/ebtables2/extensions/ebt_log.c
@@ -193,7 +193,7 @@ static int compare(const struct ebt_entry_watcher *w1,
static struct ebt_u_watcher log_watcher =
{
- .name = EBT_LOG_WATCHER,
+ .name = "log",
.size = sizeof(struct ebt_log_info),
.help = print_help,
.init = init,
diff --git a/userspace/ebtables2/extensions/ebt_mark.c b/userspace/ebtables2/extensions/ebt_mark.c
index a924ceb..5776b1c 100644
--- a/userspace/ebtables2/extensions/ebt_mark.c
+++ b/userspace/ebtables2/extensions/ebt_mark.c
@@ -161,7 +161,7 @@ static int compare(const struct ebt_entry_target *t1,
static struct ebt_u_target mark_target =
{
- .name = EBT_MARK_TARGET,
+ .name = "mark",
.size = sizeof(struct ebt_mark_t_info),
.help = print_help,
.init = init,
diff --git a/userspace/ebtables2/extensions/ebt_mark_m.c b/userspace/ebtables2/extensions/ebt_mark_m.c
index 8c5913e..2a259b0 100644
--- a/userspace/ebtables2/extensions/ebt_mark_m.c
+++ b/userspace/ebtables2/extensions/ebt_mark_m.c
@@ -110,7 +110,7 @@ static int compare(const struct ebt_entry_match *m1,
static struct ebt_u_match mark_match =
{
- .name = EBT_MARK_MATCH,
+ .name = "mark_m",
.size = sizeof(struct ebt_mark_m_info),
.help = print_help,
.init = init,
diff --git a/userspace/ebtables2/extensions/ebt_nat.c b/userspace/ebtables2/extensions/ebt_nat.c
index a2941fc..8c4dab8 100644
--- a/userspace/ebtables2/extensions/ebt_nat.c
+++ b/userspace/ebtables2/extensions/ebt_nat.c
@@ -207,7 +207,7 @@ static int compare(const struct ebt_entry_target *t1,
static struct ebt_u_target snat_target =
{
- .name = EBT_SNAT_TARGET,
+ .name = "snat",
.size = sizeof(struct ebt_nat_info),
.help = print_help_s,
.init = init_s,
@@ -220,7 +220,7 @@ static struct ebt_u_target snat_target =
static struct ebt_u_target dnat_target =
{
- .name = EBT_DNAT_TARGET,
+ .name = "dnat",
.size = sizeof(struct ebt_nat_info),
.help = print_help_d,
.init = init_d,
diff --git a/userspace/ebtables2/extensions/ebt_pkttype.c b/userspace/ebtables2/extensions/ebt_pkttype.c
index 3333a9b..5b5cb03 100644
--- a/userspace/ebtables2/extensions/ebt_pkttype.c
+++ b/userspace/ebtables2/extensions/ebt_pkttype.c
@@ -114,7 +114,7 @@ static int compare(const struct ebt_entry_match *m1,
static struct ebt_u_match pkttype_match =
{
- .name = EBT_PKTTYPE_MATCH,
+ .name = "pkttype",
.size = sizeof(struct ebt_pkttype_info),
.help = print_help,
.init = init,
diff --git a/userspace/ebtables2/extensions/ebt_redirect.c b/userspace/ebtables2/extensions/ebt_redirect.c
index 8630254..e470818 100644
--- a/userspace/ebtables2/extensions/ebt_redirect.c
+++ b/userspace/ebtables2/extensions/ebt_redirect.c
@@ -97,7 +97,7 @@ static int compare(const struct ebt_entry_target *t1,
static struct ebt_u_target redirect_target =
{
- .name = EBT_REDIRECT_TARGET,
+ .name = "redirect",
.size = sizeof(struct ebt_redirect_info),
.help = print_help,
.init = init,
diff --git a/userspace/ebtables2/extensions/ebt_standard.c b/userspace/ebtables2/extensions/ebt_standard.c
index 8059f66..67d4d7c 100644
--- a/userspace/ebtables2/extensions/ebt_standard.c
+++ b/userspace/ebtables2/extensions/ebt_standard.c
@@ -72,7 +72,7 @@ static int compare(const struct ebt_entry_target *t1,
static struct ebt_u_target standard =
{
- .name = EBT_STANDARD_TARGET,
+ .name = "standard",
.size = sizeof(struct ebt_standard_target) -
sizeof(struct ebt_entry_target),
.help = print_help,
diff --git a/userspace/ebtables2/extensions/ebt_stp.c b/userspace/ebtables2/extensions/ebt_stp.c
index 08a48fb..2b108a7 100644
--- a/userspace/ebtables2/extensions/ebt_stp.c
+++ b/userspace/ebtables2/extensions/ebt_stp.c
@@ -326,7 +326,7 @@ static int compare(const struct ebt_entry_match *m1,
static struct ebt_u_match stp_match =
{
- .name = EBT_STP_MATCH,
+ .name = "stp",
.size = sizeof(struct ebt_stp_info),
.help = print_help,
.init = init,
diff --git a/userspace/ebtables2/extensions/ebt_ulog.c b/userspace/ebtables2/extensions/ebt_ulog.c
index 673b4b4..162586d 100644
--- a/userspace/ebtables2/extensions/ebt_ulog.c
+++ b/userspace/ebtables2/extensions/ebt_ulog.c
@@ -169,7 +169,7 @@ static int compare(const struct ebt_entry_watcher *w1,
static struct ebt_u_watcher ulog_watcher =
{
- .name = EBT_ULOG_WATCHER,
+ .name = "ulog",
.size = sizeof(struct ebt_ulog_info),
.help = print_help,
.init = init,
diff --git a/userspace/ebtables2/extensions/ebt_vlan.c b/userspace/ebtables2/extensions/ebt_vlan.c
index 21f2e22..6714c82 100644
--- a/userspace/ebtables2/extensions/ebt_vlan.c
+++ b/userspace/ebtables2/extensions/ebt_vlan.c
@@ -170,7 +170,7 @@ static int compare(const struct ebt_entry_match *vlan1,
}
static struct ebt_u_match vlan_match = {
- .name = EBT_VLAN_MATCH,
+ .name = "vlan",
.size = sizeof(struct ebt_vlan_info),
.help = print_help,
.init = init,