diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-09-01 14:22:19 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-09-01 14:22:19 +0200 |
commit | ddac6c5bc636003d664d25c08ea3fe176565096c (patch) | |
tree | b8630ca5953dfee6fb03d39ed52eff39617262b0 /extensions/libxt_TCPMSS.c | |
parent | a2a7f2b531cc582ab6cc3c2b73715ed1d58b9eab (diff) |
src: Update comments
A number of comments are redundant, some outdated and others outright
wrong in their own way. Remove and fixup.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'extensions/libxt_TCPMSS.c')
-rw-r--r-- | extensions/libxt_TCPMSS.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/extensions/libxt_TCPMSS.c b/extensions/libxt_TCPMSS.c index fbf73c9a..bffd260d 100644 --- a/extensions/libxt_TCPMSS.c +++ b/extensions/libxt_TCPMSS.c @@ -16,7 +16,6 @@ struct mssinfo { struct xt_tcpmss_info mss; }; -/* Function which prints out usage message. */ static void __TCPMSS_help(int hdrsize) { printf( @@ -42,8 +41,6 @@ static const struct option TCPMSS_opts[] = { { .name = NULL } }; -/* Function which parses command options; returns true if it - ate an option */ static int __TCPMSS_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_target **target, int hdrsize) @@ -99,7 +96,6 @@ static void TCPMSS_check(unsigned int flags) "TCPMSS target: At least one parameter is required"); } -/* Prints out the targinfo. */ static void TCPMSS_print(const void *ip, const struct xt_entry_target *target, int numeric) { @@ -111,7 +107,6 @@ static void TCPMSS_print(const void *ip, const struct xt_entry_target *target, printf("TCPMSS set %u ", mssinfo->mss); } -/* Saves the union ipt_targinfo in parsable form to stdout. */ static void TCPMSS_save(const void *ip, const struct xt_entry_target *target) { const struct xt_tcpmss_info *mssinfo = |