diff --git a/docs/Actions.xml b/docs/Actions.xml index 5f5cb9472..5c97c366e 100644 --- a/docs/Actions.xml +++ b/docs/Actions.xml @@ -948,10 +948,51 @@ bar:debug + + + Shorewall::Rules::perl_action_tcp_helper( $target, $proto + ) + + + This function is similar to + Shorewall::Rules::perl_action_helper but is taylored for specifying + options to "-p tcp". + + To use this function, you must include: + + + use + Shorewall::Rules; + + + Arguments are: + + + + $target + + + The target of the rule. Legal values are anything that + can appear in the TARGET column of in an action body and may + include log level, tag, and parameters. + + + + + $proto + + + The '-p' part of the rule to be generated (e.g., "-p tcp + --tcp-flags RST RST"). + + + + + - For an example of using these services, look at the standard action - /usr/share/shorewall/action.TCPFlags. + For examples of using these services, look at the standard actions + in /usr/share/shorewall/action.*.