--datarootdir=
- The base directory for arch-independant files. Defaults to
+ The base directory for arch-independent files. Defaults to
$prefix/share.
--disable-debug
</row>
<row>
<entry>vtag</entry>
- <entry>Verfication Tag</entry>
+ <entry>Verification Tag</entry>
<entry>integer (32 bit)</entry>
</row>
<row>
* @subtypes: number of subtypes (concat type)
* @name: type name
* @desc: type description
- * @basetype: basetype for subtypes, determines type compatibilty
+ * @basetype: basetype for subtypes, determines type compatibility
* @basefmt: format string for basetype
* @print: function to print a constant of this type
* @parse: function to parse a symbol and return an expression
static void exthdr_expr_print(const struct expr *expr, struct output_ctx *octx)
{
if (expr->exthdr.op == NFT_EXTHDR_OP_TCPOPT) {
- /* Offset calcualtion is a bit hacky at this point.
- * There might be an tcp option one day with another
+ /* Offset calculation is a bit hacky at this point.
+ * There might be a tcp option one day with another
* multiplicator
*/
unsigned int offset = expr->exthdr.offset / 64;
/*
* We can only remove payload dependencies if they occur without
- * a statment with side effects in between.
+ * a statement with side effects in between.
*
* For instance:
* 'ip protocol tcp tcp dport 22 counter' is same as
}
/**
- * payload_dependency_kill - kill a redundant payload depedency
+ * payload_dependency_kill - kill a redundant payload dependency
*
* @ctx: payload dependency context
* @expr: higher layer payload expression
*
* Kill a redundant payload expression if a higher layer payload expression
- * implies its existance. Skip this if the dependency is a network payload and
+ * implies its existence. Skip this if the dependency is a network payload and
* we are in bridge, netdev and inet families.
*/
void payload_dependency_kill(struct payload_dep_ctx *ctx, struct expr *expr,
print_error(reason, filename, lineno)
return -1
- # Add element into a all_set.
+ # Add element into all_set.
if ret == 0 and state == "ok":
for e in set_element:
all_set[set_name].add(e)
Test files are executables files with the pattern <<name_N>>, where N is the
expected return code of the executable. Since they are located with `find',
-test-files can be spreaded in any sub-directories.
+test-files can be spread in any sub-directories.
You can turn on a verbose execution by calling:
% ./run-tests.sh -v
RULESET2="add chain x y"
RULESET3="include \"$tmpdir/*\""
-# Note different order when compared with 0011dir_depencency_0. The idea
+# Note different order when compared with 0011dir_dependency_0. The idea
# here is to introduce wrong order to get the loading fail.
echo "$RULESET1" > $tmpfile2
echo "$RULESET2" > $tmpfile1
#!/bin/bash
-# list ruleset show nothing if emtpy ruleset
+# list ruleset show nothing if empty ruleset
EXPECTED=""