Skip to content

Commit

Permalink
[NETFILTER]: Use lowercase names for matches in Kconfig
Browse files Browse the repository at this point in the history
Unify netfilter match kconfig descriptions

Consistently use lowercase for matches in kconfig one-line
descriptions and name the match module.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jan Engelhardt authored and David S. Miller committed Jan 28, 2008
1 parent e2cf5ec commit 4c37799
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions net/ipv4/netfilter/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ config IP_NF_IPTABLES

# The matches.
config IP_NF_MATCH_IPRANGE
tristate "IP range match support"
tristate '"iprange" match support'
depends on IP_NF_IPTABLES
help
This option makes possible to match IP addresses against IP address
Expand All @@ -73,7 +73,7 @@ config IP_NF_MATCH_TOS
To compile it as a module, choose M here. If unsure, say N.

config IP_NF_MATCH_RECENT
tristate "recent match support"
tristate '"recent" match support'
depends on IP_NF_IPTABLES
help
This match is used for creating one or many lists of recently
Expand All @@ -85,7 +85,7 @@ config IP_NF_MATCH_RECENT
To compile it as a module, choose M here. If unsure, say N.

config IP_NF_MATCH_ECN
tristate "ECN match support"
tristate '"ecn" match support'
depends on IP_NF_IPTABLES
help
This option adds a `ECN' match, which allows you to match against
Expand All @@ -94,7 +94,7 @@ config IP_NF_MATCH_ECN
To compile it as a module, choose M here. If unsure, say N.

config IP_NF_MATCH_AH
tristate "AH match support"
tristate '"ah" match support'
depends on IP_NF_IPTABLES
help
This match extension allows you to match a range of SPIs
Expand All @@ -103,7 +103,7 @@ config IP_NF_MATCH_AH
To compile it as a module, choose M here. If unsure, say N.

config IP_NF_MATCH_TTL
tristate "TTL match support"
tristate '"ttl" match support'
depends on IP_NF_IPTABLES
help
This adds CONFIG_IP_NF_MATCH_TTL option, which enabled the user
Expand All @@ -112,7 +112,7 @@ config IP_NF_MATCH_TTL
To compile it as a module, choose M here. If unsure, say N.

config IP_NF_MATCH_ADDRTYPE
tristate 'address type match support'
tristate '"addrtype" address type match support'
depends on IP_NF_IPTABLES
help
This option allows you to match what routing thinks of an address,
Expand Down
16 changes: 8 additions & 8 deletions net/ipv6/netfilter/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ config IP6_NF_IPTABLES

# The simple matches.
config IP6_NF_MATCH_RT
tristate "Routing header match support"
tristate '"rt" Routing header match support'
depends on IP6_NF_IPTABLES
help
rt matching allows you to match packets based on the routing
Expand All @@ -63,7 +63,7 @@ config IP6_NF_MATCH_RT
To compile it as a module, choose M here. If unsure, say N.

config IP6_NF_MATCH_OPTS
tristate "Hop-by-hop and Dst opts header match support"
tristate '"hopbyhop" and "dst" opts header match support'
depends on IP6_NF_IPTABLES
help
This allows one to match packets based on the hop-by-hop
Expand All @@ -72,7 +72,7 @@ config IP6_NF_MATCH_OPTS
To compile it as a module, choose M here. If unsure, say N.

config IP6_NF_MATCH_FRAG
tristate "Fragmentation header match support"
tristate '"frag" Fragmentation header match support'
depends on IP6_NF_IPTABLES
help
frag matching allows you to match packets based on the fragmentation
Expand All @@ -81,7 +81,7 @@ config IP6_NF_MATCH_FRAG
To compile it as a module, choose M here. If unsure, say N.

config IP6_NF_MATCH_HL
tristate "HL match support"
tristate '"hl" match support'
depends on IP6_NF_IPTABLES
help
HL matching allows you to match packets based on the hop
Expand All @@ -90,7 +90,7 @@ config IP6_NF_MATCH_HL
To compile it as a module, choose M here. If unsure, say N.

config IP6_NF_MATCH_IPV6HEADER
tristate "IPv6 Extension Headers Match"
tristate '"ipv6header" IPv6 Extension Headers Match'
depends on IP6_NF_IPTABLES
help
This module allows one to match packets based upon
Expand All @@ -99,23 +99,23 @@ config IP6_NF_MATCH_IPV6HEADER
To compile it as a module, choose M here. If unsure, say N.

config IP6_NF_MATCH_AH
tristate "AH match support"
tristate '"ah" match support'
depends on IP6_NF_IPTABLES
help
This module allows one to match AH packets.

To compile it as a module, choose M here. If unsure, say N.

config IP6_NF_MATCH_MH
tristate "MH match support"
tristate '"mh" match support'
depends on IP6_NF_IPTABLES
help
This module allows one to match MH packets.

To compile it as a module, choose M here. If unsure, say N.

config IP6_NF_MATCH_EUI64
tristate "EUI64 address check"
tristate '"eui64" address check'
depends on IP6_NF_IPTABLES
help
This module performs checking on the IPv6 source address
Expand Down
8 changes: 4 additions & 4 deletions net/netfilter/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ config NETFILTER_XT_MATCH_CONNTRACK
To compile it as a module, choose M here. If unsure, say N.

config NETFILTER_XT_MATCH_DCCP
tristate '"DCCP" protocol match support'
tristate '"dccp" protocol match support'
depends on NETFILTER_XTABLES
help
With this option enabled, you will be able to use the iptables
Expand All @@ -487,7 +487,7 @@ config NETFILTER_XT_MATCH_DCCP
<file:Documentation/kbuild/modules.txt>. If unsure, say `N'.

config NETFILTER_XT_MATCH_DSCP
tristate '"DSCP" match support'
tristate '"dscp" match support'
depends on NETFILTER_XTABLES
help
This option adds a `DSCP' match, which allows you to match against
Expand All @@ -498,7 +498,7 @@ config NETFILTER_XT_MATCH_DSCP
To compile it as a module, choose M here. If unsure, say N.

config NETFILTER_XT_MATCH_ESP
tristate '"ESP" match support'
tristate '"esp" match support'
depends on NETFILTER_XTABLES
help
This match extension allows you to match a range of SPIs
Expand Down Expand Up @@ -573,7 +573,7 @@ config NETFILTER_XT_MATCH_POLICY
To compile it as a module, choose M here. If unsure, say N.

config NETFILTER_XT_MATCH_MULTIPORT
tristate "Multiple port match support"
tristate '"multiport" Multiple port match support'
depends on NETFILTER_XTABLES
help
Multiport matching allows you to match TCP or UDP packets based on
Expand Down

0 comments on commit 4c37799

Please sign in to comment.