diff --git a/tc/em_cmp.c b/tc/em_cmp.c index b8f9b467..ce72a429 100644 --- a/tc/em_cmp.c +++ b/tc/em_cmp.c @@ -1,5 +1,5 @@ /* - * em_cmp.c Simle coparison Ematch + * em_cmp.c Simple comparison Ematch * * This program is free software; you can distribute it and/or * modify it under the terms of the GNU General Public License @@ -32,7 +32,7 @@ static void cmp_print_usage(FILE *fd) "Usage: cmp(ALIGN at OFFSET [ ATTRS ] { eq | lt | gt } VALUE)\n" \ "where: ALIGN := { u8 | u16 | u32 }\n" \ " ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ]\n" \ - " LAYER := { link | header | next-header | 0..%d }\n" \ + " LAYER := { link | network | transport | 0..%d }\n" \ "\n" \ "Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20)\n", TCF_LAYER_MAX); diff --git a/tc/em_nbyte.c b/tc/em_nbyte.c index 98f98837..242c361b 100644 --- a/tc/em_nbyte.c +++ b/tc/em_nbyte.c @@ -32,7 +32,7 @@ static void nbyte_print_usage(FILE *fd) "Usage: nbyte(NEEDLE at OFFSET [layer LAYER])\n" \ "where: NEEDLE := { string | \"c-escape-sequence\" }\n" \ " OFFSET := int\n" \ - " LAYER := { link | header | next-header | 0..%d }\n" \ + " LAYER := { link | network | transport | 0..%d }\n" \ "\n" \ "Example: nbyte(\"ababa\" at 12 layer 1)\n", TCF_LAYER_MAX);