|
@@ -19,7 +19,7 @@
|
|
|
* The tcpbridge program is copyrighted and licensed
|
|
|
* under the following terms:
|
|
|
*
|
|
|
- * Copyright (C) 2000-2018 Aaron Turner and Fred Klassen, all rights reserved.
|
|
|
+ * Copyright (C) 2000-2022 Aaron Turner and Fred Klassen, all rights reserved.
|
|
|
* This is free software. It is licensed for use, modification and
|
|
|
* redistribution under the terms of the GNU General Public License,
|
|
|
* version 3 or later <http://gnu.org/licenses/gpl.html>
|
|
@@ -76,9 +76,9 @@ extern tcpbridge_opt_t options;
|
|
|
/**
|
|
|
* static const strings for tcpbridge options
|
|
|
*/
|
|
|
-static char const tcpbridge_opt_strs[4517] =
|
|
|
+static char const tcpbridge_opt_strs[4593] =
|
|
|
/* 0 */ "tcpbridge (tcpbridge)\n"
|
|
|
- "Copyright (C) 2000-2018 Aaron Turner and Fred Klassen, all rights reserved.\n"
|
|
|
+ "Copyright (C) 2000-2022 Aaron Turner and Fred Klassen, all rights reserved.\n"
|
|
|
"This is free software. It is licensed for use, modification and\n"
|
|
|
"redistribution under the terms of the GNU General Public License,\n"
|
|
|
"version 3 or later <http://gnu.org/licenses/gpl.html>\n\0"
|
|
@@ -182,79 +182,82 @@ static char const tcpbridge_opt_strs[4517] =
|
|
|
/* 2667 */ "Specify the ethernet 802.1q VLAN priority\0"
|
|
|
/* 2709 */ "ENET_VLAN_PRI\0"
|
|
|
/* 2723 */ "enet-vlan-pri\0"
|
|
|
-/* 2737 */ "Specify HDLC control value\0"
|
|
|
-/* 2764 */ "HDLC_CONTROL\0"
|
|
|
-/* 2777 */ "hdlc-control\0"
|
|
|
-/* 2790 */ "Specify HDLC address\0"
|
|
|
-/* 2811 */ "HDLC_ADDRESS\0"
|
|
|
-/* 2824 */ "hdlc-address\0"
|
|
|
-/* 2837 */ "Set output file DLT type\0"
|
|
|
-/* 2862 */ "USER_DLT\0"
|
|
|
-/* 2871 */ "user-dlt\0"
|
|
|
-/* 2880 */ "Rewrite Data-Link layer with user specified data\0"
|
|
|
-/* 2929 */ "USER_DLINK\0"
|
|
|
-/* 2940 */ "user-dlink\0"
|
|
|
-/* 2951 */ "Enable debugging output\0"
|
|
|
-/* 2975 */ "DBUG\0"
|
|
|
-/* 2980 */ "dbug\0"
|
|
|
-/* 2985 */ "Primary interface (listen in uni-directional mode)\0"
|
|
|
-/* 3036 */ "INTF1\0"
|
|
|
-/* 3042 */ "intf1\0"
|
|
|
-/* 3048 */ "Secondary interface (send in uni-directional mode)\0"
|
|
|
-/* 3099 */ "INTF2\0"
|
|
|
-/* 3105 */ "intf2\0"
|
|
|
-/* 3111 */ "Send and receive in only one direction\0"
|
|
|
-/* 3150 */ "UNIDIR\0"
|
|
|
-/* 3157 */ "unidir\0"
|
|
|
-/* 3164 */ "List available network interfaces and exit\0"
|
|
|
-/* 3207 */ "LISTNICS\0"
|
|
|
-/* 3216 */ "listnics\0"
|
|
|
-/* 3225 */ "Limit the number of packets to send\0"
|
|
|
-/* 3261 */ "LIMIT\0"
|
|
|
-/* 3267 */ "limit\0"
|
|
|
-/* 3273 */ "MAC addresses of local NIC's\0"
|
|
|
-/* 3302 */ "MAC\0"
|
|
|
-/* 3306 */ "mac\0"
|
|
|
-/* 3310 */ "Include only packets matching rule\0"
|
|
|
-/* 3345 */ "INCLUDE\0"
|
|
|
-/* 3353 */ "include\0"
|
|
|
-/* 3361 */ "Exclude any packet matching this rule\0"
|
|
|
-/* 3399 */ "EXCLUDE\0"
|
|
|
-/* 3407 */ "exclude\0"
|
|
|
-/* 3415 */ "Print the PID of tcpbridge at startup\0"
|
|
|
-/* 3453 */ "PID\0"
|
|
|
-/* 3457 */ "pid\0"
|
|
|
-/* 3461 */ "Print decoded packets via tcpdump to STDOUT\0"
|
|
|
-/* 3505 */ "VERBOSE\0"
|
|
|
-/* 3513 */ "verbose\0"
|
|
|
-/* 3521 */ "Arguments passed to tcpdump decoder\0"
|
|
|
-/* 3557 */ "DECODE\0"
|
|
|
-/* 3564 */ "decode\0"
|
|
|
-/* 3571 */ "Print version information\0"
|
|
|
-/* 3597 */ "VERSION\0"
|
|
|
-/* 3605 */ "version\0"
|
|
|
-/* 3613 */ "Display less usage information and exit\0"
|
|
|
-/* 3653 */ "LESS_HELP\0"
|
|
|
-/* 3663 */ "less-help\0"
|
|
|
-/* 3673 */ "display extended usage information and exit\0"
|
|
|
-/* 3717 */ "help\0"
|
|
|
-/* 3722 */ "extended usage information passed thru pager\0"
|
|
|
-/* 3767 */ "more-help\0"
|
|
|
-/* 3777 */ "save the option state to a config file\0"
|
|
|
-/* 3816 */ "save-opts\0"
|
|
|
-/* 3826 */ "load options from a config file\0"
|
|
|
-/* 3858 */ "LOAD_OPTS\0"
|
|
|
-/* 3868 */ "no-load-opts\0"
|
|
|
-/* 3881 */ "no\0"
|
|
|
-/* 3884 */ "TCPBRIDGE\0"
|
|
|
-/* 3894 */ "tcpbridge (tcpbridge) - Bridge network traffic across two interfaces\n"
|
|
|
+/* 2737 */ "Specify VLAN tag protocol 802.1q or 802.1ad\0"
|
|
|
+/* 2781 */ "ENET_VLAN_PROTO\0"
|
|
|
+/* 2797 */ "enet-vlan-proto\0"
|
|
|
+/* 2813 */ "Specify HDLC control value\0"
|
|
|
+/* 2840 */ "HDLC_CONTROL\0"
|
|
|
+/* 2853 */ "hdlc-control\0"
|
|
|
+/* 2866 */ "Specify HDLC address\0"
|
|
|
+/* 2887 */ "HDLC_ADDRESS\0"
|
|
|
+/* 2900 */ "hdlc-address\0"
|
|
|
+/* 2913 */ "Set output file DLT type\0"
|
|
|
+/* 2938 */ "USER_DLT\0"
|
|
|
+/* 2947 */ "user-dlt\0"
|
|
|
+/* 2956 */ "Rewrite Data-Link layer with user specified data\0"
|
|
|
+/* 3005 */ "USER_DLINK\0"
|
|
|
+/* 3016 */ "user-dlink\0"
|
|
|
+/* 3027 */ "Enable debugging output\0"
|
|
|
+/* 3051 */ "DBUG\0"
|
|
|
+/* 3056 */ "dbug\0"
|
|
|
+/* 3061 */ "Primary interface (listen in uni-directional mode)\0"
|
|
|
+/* 3112 */ "INTF1\0"
|
|
|
+/* 3118 */ "intf1\0"
|
|
|
+/* 3124 */ "Secondary interface (send in uni-directional mode)\0"
|
|
|
+/* 3175 */ "INTF2\0"
|
|
|
+/* 3181 */ "intf2\0"
|
|
|
+/* 3187 */ "Send and receive in only one direction\0"
|
|
|
+/* 3226 */ "UNIDIR\0"
|
|
|
+/* 3233 */ "unidir\0"
|
|
|
+/* 3240 */ "List available network interfaces and exit\0"
|
|
|
+/* 3283 */ "LISTNICS\0"
|
|
|
+/* 3292 */ "listnics\0"
|
|
|
+/* 3301 */ "Limit the number of packets to send\0"
|
|
|
+/* 3337 */ "LIMIT\0"
|
|
|
+/* 3343 */ "limit\0"
|
|
|
+/* 3349 */ "MAC addresses of local NIC's\0"
|
|
|
+/* 3378 */ "MAC\0"
|
|
|
+/* 3382 */ "mac\0"
|
|
|
+/* 3386 */ "Include only packets matching rule\0"
|
|
|
+/* 3421 */ "INCLUDE\0"
|
|
|
+/* 3429 */ "include\0"
|
|
|
+/* 3437 */ "Exclude any packet matching this rule\0"
|
|
|
+/* 3475 */ "EXCLUDE\0"
|
|
|
+/* 3483 */ "exclude\0"
|
|
|
+/* 3491 */ "Print the PID of tcpbridge at startup\0"
|
|
|
+/* 3529 */ "PID\0"
|
|
|
+/* 3533 */ "pid\0"
|
|
|
+/* 3537 */ "Print decoded packets via tcpdump to STDOUT\0"
|
|
|
+/* 3581 */ "VERBOSE\0"
|
|
|
+/* 3589 */ "verbose\0"
|
|
|
+/* 3597 */ "Arguments passed to tcpdump decoder\0"
|
|
|
+/* 3633 */ "DECODE\0"
|
|
|
+/* 3640 */ "decode\0"
|
|
|
+/* 3647 */ "Print version information\0"
|
|
|
+/* 3673 */ "VERSION\0"
|
|
|
+/* 3681 */ "version\0"
|
|
|
+/* 3689 */ "Display less usage information and exit\0"
|
|
|
+/* 3729 */ "LESS_HELP\0"
|
|
|
+/* 3739 */ "less-help\0"
|
|
|
+/* 3749 */ "display extended usage information and exit\0"
|
|
|
+/* 3793 */ "help\0"
|
|
|
+/* 3798 */ "extended usage information passed thru pager\0"
|
|
|
+/* 3843 */ "more-help\0"
|
|
|
+/* 3853 */ "save the option state to a config file\0"
|
|
|
+/* 3892 */ "save-opts\0"
|
|
|
+/* 3902 */ "load options from a config file\0"
|
|
|
+/* 3934 */ "LOAD_OPTS\0"
|
|
|
+/* 3944 */ "no-load-opts\0"
|
|
|
+/* 3957 */ "no\0"
|
|
|
+/* 3960 */ "TCPBRIDGE\0"
|
|
|
+/* 3970 */ "tcpbridge (tcpbridge) - Bridge network traffic across two interfaces\n"
|
|
|
"Usage: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n\0"
|
|
|
-/* 4021 */ "$$/\0"
|
|
|
-/* 4025 */ ".tcpbridgerc\0"
|
|
|
-/* 4038 */ "tcpreplay-users@lists.sourceforge.net\0"
|
|
|
-/* 4076 */ "tcpbridge is a tool for selectively bridging network traffic across two\n"
|
|
|
+/* 4097 */ "$$/\0"
|
|
|
+/* 4101 */ ".tcpbridgerc\0"
|
|
|
+/* 4114 */ "tcpreplay-users@lists.sourceforge.net\0"
|
|
|
+/* 4152 */ "tcpbridge is a tool for selectively bridging network traffic across two\n"
|
|
|
"interfaces and optionally modifying the packets in between\n\0"
|
|
|
-/* 4208 */ "The basic operation of tcpbridge is to be a network bridge between two\n"
|
|
|
+/* 4284 */ "The basic operation of tcpbridge is to be a network bridge between two\n"
|
|
|
"subnets. All packets received on one interface are sent via the other.\n\n"
|
|
|
"Optionally, packets can be edited in a variety of ways according to your\n"
|
|
|
"needs.\n\n"
|
|
@@ -715,14 +718,27 @@ static int const aEnet_Vlan_PriMustList[] = {
|
|
|
| OPTST_SET_ARGTYPE(OPARG_TYPE_NUMERIC))
|
|
|
|
|
|
/**
|
|
|
+ * enet-vlan-proto option description:
|
|
|
+ */
|
|
|
+/** Descriptive text for the enet-vlan-proto option */
|
|
|
+#define ENET_VLAN_PROTO_DESC (tcpbridge_opt_strs+2737)
|
|
|
+/** Upper-cased name for the enet-vlan-proto option */
|
|
|
+#define ENET_VLAN_PROTO_NAME (tcpbridge_opt_strs+2781)
|
|
|
+/** Name string for the enet-vlan-proto option */
|
|
|
+#define ENET_VLAN_PROTO_name (tcpbridge_opt_strs+2797)
|
|
|
+/** Compiled in flag settings for the enet-vlan-proto option */
|
|
|
+#define ENET_VLAN_PROTO_FLAGS (OPTST_DISABLED \
|
|
|
+ | OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
|
+
|
|
|
+/**
|
|
|
* hdlc-control option description:
|
|
|
*/
|
|
|
/** Descriptive text for the hdlc-control option */
|
|
|
-#define HDLC_CONTROL_DESC (tcpbridge_opt_strs+2737)
|
|
|
+#define HDLC_CONTROL_DESC (tcpbridge_opt_strs+2813)
|
|
|
/** Upper-cased name for the hdlc-control option */
|
|
|
-#define HDLC_CONTROL_NAME (tcpbridge_opt_strs+2764)
|
|
|
+#define HDLC_CONTROL_NAME (tcpbridge_opt_strs+2840)
|
|
|
/** Name string for the hdlc-control option */
|
|
|
-#define HDLC_CONTROL_name (tcpbridge_opt_strs+2777)
|
|
|
+#define HDLC_CONTROL_name (tcpbridge_opt_strs+2853)
|
|
|
/** Compiled in flag settings for the hdlc-control option */
|
|
|
#define HDLC_CONTROL_FLAGS (OPTST_DISABLED \
|
|
|
| OPTST_SET_ARGTYPE(OPARG_TYPE_NUMERIC))
|
|
@@ -731,11 +747,11 @@ static int const aEnet_Vlan_PriMustList[] = {
|
|
|
* hdlc-address option description:
|
|
|
*/
|
|
|
/** Descriptive text for the hdlc-address option */
|
|
|
-#define HDLC_ADDRESS_DESC (tcpbridge_opt_strs+2790)
|
|
|
+#define HDLC_ADDRESS_DESC (tcpbridge_opt_strs+2866)
|
|
|
/** Upper-cased name for the hdlc-address option */
|
|
|
-#define HDLC_ADDRESS_NAME (tcpbridge_opt_strs+2811)
|
|
|
+#define HDLC_ADDRESS_NAME (tcpbridge_opt_strs+2887)
|
|
|
/** Name string for the hdlc-address option */
|
|
|
-#define HDLC_ADDRESS_name (tcpbridge_opt_strs+2824)
|
|
|
+#define HDLC_ADDRESS_name (tcpbridge_opt_strs+2900)
|
|
|
/** Compiled in flag settings for the hdlc-address option */
|
|
|
#define HDLC_ADDRESS_FLAGS (OPTST_DISABLED \
|
|
|
| OPTST_SET_ARGTYPE(OPARG_TYPE_NUMERIC))
|
|
@@ -744,11 +760,11 @@ static int const aEnet_Vlan_PriMustList[] = {
|
|
|
* user-dlt option description:
|
|
|
*/
|
|
|
/** Descriptive text for the user-dlt option */
|
|
|
-#define USER_DLT_DESC (tcpbridge_opt_strs+2837)
|
|
|
+#define USER_DLT_DESC (tcpbridge_opt_strs+2913)
|
|
|
/** Upper-cased name for the user-dlt option */
|
|
|
-#define USER_DLT_NAME (tcpbridge_opt_strs+2862)
|
|
|
+#define USER_DLT_NAME (tcpbridge_opt_strs+2938)
|
|
|
/** Name string for the user-dlt option */
|
|
|
-#define USER_DLT_name (tcpbridge_opt_strs+2871)
|
|
|
+#define USER_DLT_name (tcpbridge_opt_strs+2947)
|
|
|
/** Compiled in flag settings for the user-dlt option */
|
|
|
#define USER_DLT_FLAGS (OPTST_DISABLED \
|
|
|
| OPTST_SET_ARGTYPE(OPARG_TYPE_NUMERIC))
|
|
@@ -757,11 +773,11 @@ static int const aEnet_Vlan_PriMustList[] = {
|
|
|
* user-dlink option description:
|
|
|
*/
|
|
|
/** Descriptive text for the user-dlink option */
|
|
|
-#define USER_DLINK_DESC (tcpbridge_opt_strs+2880)
|
|
|
+#define USER_DLINK_DESC (tcpbridge_opt_strs+2956)
|
|
|
/** Upper-cased name for the user-dlink option */
|
|
|
-#define USER_DLINK_NAME (tcpbridge_opt_strs+2929)
|
|
|
+#define USER_DLINK_NAME (tcpbridge_opt_strs+3005)
|
|
|
/** Name string for the user-dlink option */
|
|
|
-#define USER_DLINK_name (tcpbridge_opt_strs+2940)
|
|
|
+#define USER_DLINK_name (tcpbridge_opt_strs+3016)
|
|
|
/** Compiled in flag settings for the user-dlink option */
|
|
|
#define USER_DLINK_FLAGS (OPTST_DISABLED | OPTST_STACKED \
|
|
|
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
@@ -771,11 +787,11 @@ static int const aEnet_Vlan_PriMustList[] = {
|
|
|
*/
|
|
|
#ifdef DEBUG
|
|
|
/** Descriptive text for the dbug option */
|
|
|
-#define DBUG_DESC (tcpbridge_opt_strs+2951)
|
|
|
+#define DBUG_DESC (tcpbridge_opt_strs+3027)
|
|
|
/** Upper-cased name for the dbug option */
|
|
|
-#define DBUG_NAME (tcpbridge_opt_strs+2975)
|
|
|
+#define DBUG_NAME (tcpbridge_opt_strs+3051)
|
|
|
/** Name string for the dbug option */
|
|
|
-#define DBUG_name (tcpbridge_opt_strs+2980)
|
|
|
+#define DBUG_name (tcpbridge_opt_strs+3056)
|
|
|
/** The compiled in default value for the dbug option argument */
|
|
|
#define DBUG_DFT_ARG ((char const*)0)
|
|
|
/** Compiled in flag settings for the dbug option */
|
|
@@ -794,11 +810,11 @@ static int const aEnet_Vlan_PriMustList[] = {
|
|
|
* intf1 option description:
|
|
|
*/
|
|
|
/** Descriptive text for the intf1 option */
|
|
|
-#define INTF1_DESC (tcpbridge_opt_strs+2985)
|
|
|
+#define INTF1_DESC (tcpbridge_opt_strs+3061)
|
|
|
/** Upper-cased name for the intf1 option */
|
|
|
-#define INTF1_NAME (tcpbridge_opt_strs+3036)
|
|
|
+#define INTF1_NAME (tcpbridge_opt_strs+3112)
|
|
|
/** Name string for the intf1 option */
|
|
|
-#define INTF1_name (tcpbridge_opt_strs+3042)
|
|
|
+#define INTF1_name (tcpbridge_opt_strs+3118)
|
|
|
/** Compiled in flag settings for the intf1 option */
|
|
|
#define INTF1_FLAGS (OPTST_DISABLED | OPTST_MUST_SET \
|
|
|
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
@@ -807,11 +823,11 @@ static int const aEnet_Vlan_PriMustList[] = {
|
|
|
* intf2 option description:
|
|
|
*/
|
|
|
/** Descriptive text for the intf2 option */
|
|
|
-#define INTF2_DESC (tcpbridge_opt_strs+3048)
|
|
|
+#define INTF2_DESC (tcpbridge_opt_strs+3124)
|
|
|
/** Upper-cased name for the intf2 option */
|
|
|
-#define INTF2_NAME (tcpbridge_opt_strs+3099)
|
|
|
+#define INTF2_NAME (tcpbridge_opt_strs+3175)
|
|
|
/** Name string for the intf2 option */
|
|
|
-#define INTF2_name (tcpbridge_opt_strs+3105)
|
|
|
+#define INTF2_name (tcpbridge_opt_strs+3181)
|
|
|
/** Compiled in flag settings for the intf2 option */
|
|
|
#define INTF2_FLAGS (OPTST_DISABLED \
|
|
|
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
@@ -820,11 +836,11 @@ static int const aEnet_Vlan_PriMustList[] = {
|
|
|
* unidir option description:
|
|
|
*/
|
|
|
/** Descriptive text for the unidir option */
|
|
|
-#define UNIDIR_DESC (tcpbridge_opt_strs+3111)
|
|
|
+#define UNIDIR_DESC (tcpbridge_opt_strs+3187)
|
|
|
/** Upper-cased name for the unidir option */
|
|
|
-#define UNIDIR_NAME (tcpbridge_opt_strs+3150)
|
|
|
+#define UNIDIR_NAME (tcpbridge_opt_strs+3226)
|
|
|
/** Name string for the unidir option */
|
|
|
-#define UNIDIR_name (tcpbridge_opt_strs+3157)
|
|
|
+#define UNIDIR_name (tcpbridge_opt_strs+3233)
|
|
|
/** Compiled in flag settings for the unidir option */
|
|
|
#define UNIDIR_FLAGS (OPTST_DISABLED)
|
|
|
|
|
@@ -833,11 +849,11 @@ static int const aEnet_Vlan_PriMustList[] = {
|
|
|
*/
|
|
|
#ifdef ENABLE_PCAP_FINDALLDEVS
|
|
|
/** Descriptive text for the listnics option */
|
|
|
-#define LISTNICS_DESC (tcpbridge_opt_strs+3164)
|
|
|
+#define LISTNICS_DESC (tcpbridge_opt_strs+3240)
|
|
|
/** Upper-cased name for the listnics option */
|
|
|
-#define LISTNICS_NAME (tcpbridge_opt_strs+3207)
|
|
|
+#define LISTNICS_NAME (tcpbridge_opt_strs+3283)
|
|
|
/** Name string for the listnics option */
|
|
|
-#define LISTNICS_name (tcpbridge_opt_strs+3216)
|
|
|
+#define LISTNICS_name (tcpbridge_opt_strs+3292)
|
|
|
/** Compiled in flag settings for the listnics option */
|
|
|
#define LISTNICS_FLAGS (OPTST_DISABLED | OPTST_IMM)
|
|
|
|
|
@@ -852,11 +868,11 @@ static int const aEnet_Vlan_PriMustList[] = {
|
|
|
* limit option description:
|
|
|
*/
|
|
|
/** Descriptive text for the limit option */
|
|
|
-#define LIMIT_DESC (tcpbridge_opt_strs+3225)
|
|
|
+#define LIMIT_DESC (tcpbridge_opt_strs+3301)
|
|
|
/** Upper-cased name for the limit option */
|
|
|
-#define LIMIT_NAME (tcpbridge_opt_strs+3261)
|
|
|
+#define LIMIT_NAME (tcpbridge_opt_strs+3337)
|
|
|
/** Name string for the limit option */
|
|
|
-#define LIMIT_name (tcpbridge_opt_strs+3267)
|
|
|
+#define LIMIT_name (tcpbridge_opt_strs+3343)
|
|
|
/** The compiled in default value for the limit option argument */
|
|
|
#define LIMIT_DFT_ARG ((char const*)-1)
|
|
|
/** Compiled in flag settings for the limit option */
|
|
@@ -867,11 +883,11 @@ static int const aEnet_Vlan_PriMustList[] = {
|
|
|
* mac option description:
|
|
|
*/
|
|
|
/** Descriptive text for the mac option */
|
|
|
-#define MAC_DESC (tcpbridge_opt_strs+3273)
|
|
|
+#define MAC_DESC (tcpbridge_opt_strs+3349)
|
|
|
/** Upper-cased name for the mac option */
|
|
|
-#define MAC_NAME (tcpbridge_opt_strs+3302)
|
|
|
+#define MAC_NAME (tcpbridge_opt_strs+3378)
|
|
|
/** Name string for the mac option */
|
|
|
-#define MAC_name (tcpbridge_opt_strs+3306)
|
|
|
+#define MAC_name (tcpbridge_opt_strs+3382)
|
|
|
/** Compiled in flag settings for the mac option */
|
|
|
#define MAC_FLAGS (OPTST_DISABLED | OPTST_STACKED \
|
|
|
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
@@ -881,11 +897,11 @@ static int const aEnet_Vlan_PriMustList[] = {
|
|
|
* "Must also have options" and "Incompatible options":
|
|
|
*/
|
|
|
/** Descriptive text for the include option */
|
|
|
-#define INCLUDE_DESC (tcpbridge_opt_strs+3310)
|
|
|
+#define INCLUDE_DESC (tcpbridge_opt_strs+3386)
|
|
|
/** Upper-cased name for the include option */
|
|
|
-#define INCLUDE_NAME (tcpbridge_opt_strs+3345)
|
|
|
+#define INCLUDE_NAME (tcpbridge_opt_strs+3421)
|
|
|
/** Name string for the include option */
|
|
|
-#define INCLUDE_name (tcpbridge_opt_strs+3353)
|
|
|
+#define INCLUDE_name (tcpbridge_opt_strs+3429)
|
|
|
/** Other options that appear in conjunction with the include option */
|
|
|
static int const aIncludeCantList[] = {
|
|
|
INDEX_OPT_EXCLUDE, NO_EQUIVALENT };
|
|
@@ -898,11 +914,11 @@ static int const aIncludeCantList[] = {
|
|
|
* "Must also have options" and "Incompatible options":
|
|
|
*/
|
|
|
/** Descriptive text for the exclude option */
|
|
|
-#define EXCLUDE_DESC (tcpbridge_opt_strs+3361)
|
|
|
+#define EXCLUDE_DESC (tcpbridge_opt_strs+3437)
|
|
|
/** Upper-cased name for the exclude option */
|
|
|
-#define EXCLUDE_NAME (tcpbridge_opt_strs+3399)
|
|
|
+#define EXCLUDE_NAME (tcpbridge_opt_strs+3475)
|
|
|
/** Name string for the exclude option */
|
|
|
-#define EXCLUDE_name (tcpbridge_opt_strs+3407)
|
|
|
+#define EXCLUDE_name (tcpbridge_opt_strs+3483)
|
|
|
/** Other options that appear in conjunction with the exclude option */
|
|
|
static int const aExcludeCantList[] = {
|
|
|
INDEX_OPT_INCLUDE, NO_EQUIVALENT };
|
|
@@ -914,11 +930,11 @@ static int const aExcludeCantList[] = {
|
|
|
* pid option description:
|
|
|
*/
|
|
|
/** Descriptive text for the pid option */
|
|
|
-#define PID_DESC (tcpbridge_opt_strs+3415)
|
|
|
+#define PID_DESC (tcpbridge_opt_strs+3491)
|
|
|
/** Upper-cased name for the pid option */
|
|
|
-#define PID_NAME (tcpbridge_opt_strs+3453)
|
|
|
+#define PID_NAME (tcpbridge_opt_strs+3529)
|
|
|
/** Name string for the pid option */
|
|
|
-#define PID_name (tcpbridge_opt_strs+3457)
|
|
|
+#define PID_name (tcpbridge_opt_strs+3533)
|
|
|
/** Compiled in flag settings for the pid option */
|
|
|
#define PID_FLAGS (OPTST_DISABLED)
|
|
|
|
|
@@ -927,11 +943,11 @@ static int const aExcludeCantList[] = {
|
|
|
*/
|
|
|
#ifdef ENABLE_VERBOSE
|
|
|
/** Descriptive text for the verbose option */
|
|
|
-#define VERBOSE_DESC (tcpbridge_opt_strs+3461)
|
|
|
+#define VERBOSE_DESC (tcpbridge_opt_strs+3537)
|
|
|
/** Upper-cased name for the verbose option */
|
|
|
-#define VERBOSE_NAME (tcpbridge_opt_strs+3505)
|
|
|
+#define VERBOSE_NAME (tcpbridge_opt_strs+3581)
|
|
|
/** Name string for the verbose option */
|
|
|
-#define VERBOSE_name (tcpbridge_opt_strs+3513)
|
|
|
+#define VERBOSE_name (tcpbridge_opt_strs+3589)
|
|
|
/** Compiled in flag settings for the verbose option */
|
|
|
#define VERBOSE_FLAGS (OPTST_DISABLED | OPTST_IMM)
|
|
|
|
|
@@ -948,11 +964,11 @@ static int const aExcludeCantList[] = {
|
|
|
*/
|
|
|
#ifdef ENABLE_VERBOSE
|
|
|
/** Descriptive text for the decode option */
|
|
|
-#define DECODE_DESC (tcpbridge_opt_strs+3521)
|
|
|
+#define DECODE_DESC (tcpbridge_opt_strs+3597)
|
|
|
/** Upper-cased name for the decode option */
|
|
|
-#define DECODE_NAME (tcpbridge_opt_strs+3557)
|
|
|
+#define DECODE_NAME (tcpbridge_opt_strs+3633)
|
|
|
/** Name string for the decode option */
|
|
|
-#define DECODE_name (tcpbridge_opt_strs+3564)
|
|
|
+#define DECODE_name (tcpbridge_opt_strs+3640)
|
|
|
/** Other options that are required by the decode option */
|
|
|
static int const aDecodeMustList[] = {
|
|
|
INDEX_OPT_VERBOSE, NO_EQUIVALENT };
|
|
@@ -972,11 +988,11 @@ static int const aDecodeMustList[] = {
|
|
|
* version option description:
|
|
|
*/
|
|
|
/** Descriptive text for the version option */
|
|
|
-#define VERSION_DESC (tcpbridge_opt_strs+3571)
|
|
|
+#define VERSION_DESC (tcpbridge_opt_strs+3647)
|
|
|
/** Upper-cased name for the version option */
|
|
|
-#define VERSION_NAME (tcpbridge_opt_strs+3597)
|
|
|
+#define VERSION_NAME (tcpbridge_opt_strs+3673)
|
|
|
/** Name string for the version option */
|
|
|
-#define VERSION_name (tcpbridge_opt_strs+3605)
|
|
|
+#define VERSION_name (tcpbridge_opt_strs+3681)
|
|
|
/** Compiled in flag settings for the version option */
|
|
|
#define VERSION_FLAGS (OPTST_DISABLED)
|
|
|
|
|
@@ -984,34 +1000,34 @@ static int const aDecodeMustList[] = {
|
|
|
* less-help option description:
|
|
|
*/
|
|
|
/** Descriptive text for the less-help option */
|
|
|
-#define LESS_HELP_DESC (tcpbridge_opt_strs+3613)
|
|
|
+#define LESS_HELP_DESC (tcpbridge_opt_strs+3689)
|
|
|
/** Upper-cased name for the less-help option */
|
|
|
-#define LESS_HELP_NAME (tcpbridge_opt_strs+3653)
|
|
|
+#define LESS_HELP_NAME (tcpbridge_opt_strs+3729)
|
|
|
/** Name string for the less-help option */
|
|
|
-#define LESS_HELP_name (tcpbridge_opt_strs+3663)
|
|
|
+#define LESS_HELP_name (tcpbridge_opt_strs+3739)
|
|
|
/** Compiled in flag settings for the less-help option */
|
|
|
#define LESS_HELP_FLAGS (OPTST_DISABLED | OPTST_IMM)
|
|
|
|
|
|
/*
|
|
|
* Help/More_Help option descriptions:
|
|
|
*/
|
|
|
-#define HELP_DESC (tcpbridge_opt_strs+3673)
|
|
|
-#define HELP_name (tcpbridge_opt_strs+3717)
|
|
|
+#define HELP_DESC (tcpbridge_opt_strs+3749)
|
|
|
+#define HELP_name (tcpbridge_opt_strs+3793)
|
|
|
#ifdef HAVE_WORKING_FORK
|
|
|
-#define MORE_HELP_DESC (tcpbridge_opt_strs+3722)
|
|
|
-#define MORE_HELP_name (tcpbridge_opt_strs+3767)
|
|
|
+#define MORE_HELP_DESC (tcpbridge_opt_strs+3798)
|
|
|
+#define MORE_HELP_name (tcpbridge_opt_strs+3843)
|
|
|
#define MORE_HELP_FLAGS (OPTST_IMM | OPTST_NO_INIT)
|
|
|
#else
|
|
|
#define MORE_HELP_DESC HELP_DESC
|
|
|
#define MORE_HELP_name HELP_name
|
|
|
#define MORE_HELP_FLAGS (OPTST_OMITTED | OPTST_NO_INIT)
|
|
|
#endif
|
|
|
-#define SAVE_OPTS_DESC (tcpbridge_opt_strs+3777)
|
|
|
-#define SAVE_OPTS_name (tcpbridge_opt_strs+3816)
|
|
|
-#define LOAD_OPTS_DESC (tcpbridge_opt_strs+3826)
|
|
|
-#define LOAD_OPTS_NAME (tcpbridge_opt_strs+3858)
|
|
|
-#define NO_LOAD_OPTS_name (tcpbridge_opt_strs+3868)
|
|
|
-#define LOAD_OPTS_pfx (tcpbridge_opt_strs+3881)
|
|
|
+#define SAVE_OPTS_DESC (tcpbridge_opt_strs+3853)
|
|
|
+#define SAVE_OPTS_name (tcpbridge_opt_strs+3892)
|
|
|
+#define LOAD_OPTS_DESC (tcpbridge_opt_strs+3902)
|
|
|
+#define LOAD_OPTS_NAME (tcpbridge_opt_strs+3934)
|
|
|
+#define NO_LOAD_OPTS_name (tcpbridge_opt_strs+3944)
|
|
|
+#define LOAD_OPTS_pfx (tcpbridge_opt_strs+3957)
|
|
|
#define LOAD_OPTS_name (NO_LOAD_OPTS_name + 3)
|
|
|
/**
|
|
|
* Declare option callback procedures
|
|
@@ -1421,8 +1437,20 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ ENET_VLAN_PRI_DESC, ENET_VLAN_PRI_NAME, ENET_VLAN_PRI_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 31, VALUE_OPT_HDLC_CONTROL,
|
|
|
- /* equiv idx, value */ 31, VALUE_OPT_HDLC_CONTROL,
|
|
|
+ { /* entry idx, value */ 31, VALUE_OPT_ENET_VLAN_PROTO,
|
|
|
+ /* equiv idx, value */ 31, VALUE_OPT_ENET_VLAN_PROTO,
|
|
|
+ /* equivalenced to */ NO_EQUIVALENT,
|
|
|
+ /* min, max, act ct */ 0, 1, 0,
|
|
|
+ /* opt state flags */ ENET_VLAN_PROTO_FLAGS, 0,
|
|
|
+ /* last opt argumnt */ { NULL }, /* --enet-vlan-proto */
|
|
|
+ /* arg list/cookie */ NULL,
|
|
|
+ /* must/cannot opts */ NULL, NULL,
|
|
|
+ /* option proc */ NULL,
|
|
|
+ /* desc, NAME, name */ ENET_VLAN_PROTO_DESC, ENET_VLAN_PROTO_NAME, ENET_VLAN_PROTO_name,
|
|
|
+ /* disablement strs */ NULL, NULL },
|
|
|
+
|
|
|
+ { /* entry idx, value */ 32, VALUE_OPT_HDLC_CONTROL,
|
|
|
+ /* equiv idx, value */ 32, VALUE_OPT_HDLC_CONTROL,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ HDLC_CONTROL_FLAGS, 0,
|
|
@@ -1433,8 +1461,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ HDLC_CONTROL_DESC, HDLC_CONTROL_NAME, HDLC_CONTROL_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 32, VALUE_OPT_HDLC_ADDRESS,
|
|
|
- /* equiv idx, value */ 32, VALUE_OPT_HDLC_ADDRESS,
|
|
|
+ { /* entry idx, value */ 33, VALUE_OPT_HDLC_ADDRESS,
|
|
|
+ /* equiv idx, value */ 33, VALUE_OPT_HDLC_ADDRESS,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ HDLC_ADDRESS_FLAGS, 0,
|
|
@@ -1445,8 +1473,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ HDLC_ADDRESS_DESC, HDLC_ADDRESS_NAME, HDLC_ADDRESS_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 33, VALUE_OPT_USER_DLT,
|
|
|
- /* equiv idx, value */ 33, VALUE_OPT_USER_DLT,
|
|
|
+ { /* entry idx, value */ 34, VALUE_OPT_USER_DLT,
|
|
|
+ /* equiv idx, value */ 34, VALUE_OPT_USER_DLT,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ USER_DLT_FLAGS, 0,
|
|
@@ -1457,8 +1485,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ USER_DLT_DESC, USER_DLT_NAME, USER_DLT_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 34, VALUE_OPT_USER_DLINK,
|
|
|
- /* equiv idx, value */ 34, VALUE_OPT_USER_DLINK,
|
|
|
+ { /* entry idx, value */ 35, VALUE_OPT_USER_DLINK,
|
|
|
+ /* equiv idx, value */ 35, VALUE_OPT_USER_DLINK,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 2, 0,
|
|
|
/* opt state flags */ USER_DLINK_FLAGS, 0,
|
|
@@ -1469,8 +1497,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ USER_DLINK_DESC, USER_DLINK_NAME, USER_DLINK_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 35, VALUE_OPT_DBUG,
|
|
|
- /* equiv idx, value */ 35, VALUE_OPT_DBUG,
|
|
|
+ { /* entry idx, value */ 36, VALUE_OPT_DBUG,
|
|
|
+ /* equiv idx, value */ 36, VALUE_OPT_DBUG,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ DBUG_FLAGS, 0,
|
|
@@ -1481,8 +1509,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ DBUG_DESC, DBUG_NAME, DBUG_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 36, VALUE_OPT_INTF1,
|
|
|
- /* equiv idx, value */ 36, VALUE_OPT_INTF1,
|
|
|
+ { /* entry idx, value */ 37, VALUE_OPT_INTF1,
|
|
|
+ /* equiv idx, value */ 37, VALUE_OPT_INTF1,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 1, 1, 0,
|
|
|
/* opt state flags */ INTF1_FLAGS, 0,
|
|
@@ -1493,8 +1521,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ INTF1_DESC, INTF1_NAME, INTF1_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 37, VALUE_OPT_INTF2,
|
|
|
- /* equiv idx, value */ 37, VALUE_OPT_INTF2,
|
|
|
+ { /* entry idx, value */ 38, VALUE_OPT_INTF2,
|
|
|
+ /* equiv idx, value */ 38, VALUE_OPT_INTF2,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ INTF2_FLAGS, 0,
|
|
@@ -1505,8 +1533,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ INTF2_DESC, INTF2_NAME, INTF2_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 38, VALUE_OPT_UNIDIR,
|
|
|
- /* equiv idx, value */ 38, VALUE_OPT_UNIDIR,
|
|
|
+ { /* entry idx, value */ 39, VALUE_OPT_UNIDIR,
|
|
|
+ /* equiv idx, value */ 39, VALUE_OPT_UNIDIR,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ UNIDIR_FLAGS, 0,
|
|
@@ -1517,8 +1545,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ UNIDIR_DESC, UNIDIR_NAME, UNIDIR_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 39, VALUE_OPT_LISTNICS,
|
|
|
- /* equiv idx, value */ 39, VALUE_OPT_LISTNICS,
|
|
|
+ { /* entry idx, value */ 40, VALUE_OPT_LISTNICS,
|
|
|
+ /* equiv idx, value */ 40, VALUE_OPT_LISTNICS,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ LISTNICS_FLAGS, 0,
|
|
@@ -1529,8 +1557,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ LISTNICS_DESC, LISTNICS_NAME, LISTNICS_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 40, VALUE_OPT_LIMIT,
|
|
|
- /* equiv idx, value */ 40, VALUE_OPT_LIMIT,
|
|
|
+ { /* entry idx, value */ 41, VALUE_OPT_LIMIT,
|
|
|
+ /* equiv idx, value */ 41, VALUE_OPT_LIMIT,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ LIMIT_FLAGS, 0,
|
|
@@ -1541,8 +1569,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ LIMIT_DESC, LIMIT_NAME, LIMIT_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 41, VALUE_OPT_MAC,
|
|
|
- /* equiv idx, value */ 41, VALUE_OPT_MAC,
|
|
|
+ { /* entry idx, value */ 42, VALUE_OPT_MAC,
|
|
|
+ /* equiv idx, value */ 42, VALUE_OPT_MAC,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 2, 0,
|
|
|
/* opt state flags */ MAC_FLAGS, 0,
|
|
@@ -1553,8 +1581,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ MAC_DESC, MAC_NAME, MAC_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 42, VALUE_OPT_INCLUDE,
|
|
|
- /* equiv idx, value */ 42, VALUE_OPT_INCLUDE,
|
|
|
+ { /* entry idx, value */ 43, VALUE_OPT_INCLUDE,
|
|
|
+ /* equiv idx, value */ 43, VALUE_OPT_INCLUDE,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ INCLUDE_FLAGS, 0,
|
|
@@ -1565,8 +1593,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ INCLUDE_DESC, INCLUDE_NAME, INCLUDE_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 43, VALUE_OPT_EXCLUDE,
|
|
|
- /* equiv idx, value */ 43, VALUE_OPT_EXCLUDE,
|
|
|
+ { /* entry idx, value */ 44, VALUE_OPT_EXCLUDE,
|
|
|
+ /* equiv idx, value */ 44, VALUE_OPT_EXCLUDE,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ EXCLUDE_FLAGS, 0,
|
|
@@ -1577,8 +1605,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ EXCLUDE_DESC, EXCLUDE_NAME, EXCLUDE_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 44, VALUE_OPT_PID,
|
|
|
- /* equiv idx, value */ 44, VALUE_OPT_PID,
|
|
|
+ { /* entry idx, value */ 45, VALUE_OPT_PID,
|
|
|
+ /* equiv idx, value */ 45, VALUE_OPT_PID,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ PID_FLAGS, 0,
|
|
@@ -1589,8 +1617,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ PID_DESC, PID_NAME, PID_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 45, VALUE_OPT_VERBOSE,
|
|
|
- /* equiv idx, value */ 45, VALUE_OPT_VERBOSE,
|
|
|
+ { /* entry idx, value */ 46, VALUE_OPT_VERBOSE,
|
|
|
+ /* equiv idx, value */ 46, VALUE_OPT_VERBOSE,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ VERBOSE_FLAGS, 0,
|
|
@@ -1601,8 +1629,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ VERBOSE_DESC, VERBOSE_NAME, VERBOSE_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 46, VALUE_OPT_DECODE,
|
|
|
- /* equiv idx, value */ 46, VALUE_OPT_DECODE,
|
|
|
+ { /* entry idx, value */ 47, VALUE_OPT_DECODE,
|
|
|
+ /* equiv idx, value */ 47, VALUE_OPT_DECODE,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ DECODE_FLAGS, 0,
|
|
@@ -1613,8 +1641,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ DECODE_DESC, DECODE_NAME, DECODE_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 47, VALUE_OPT_VERSION,
|
|
|
- /* equiv idx, value */ 47, VALUE_OPT_VERSION,
|
|
|
+ { /* entry idx, value */ 48, VALUE_OPT_VERSION,
|
|
|
+ /* equiv idx, value */ 48, VALUE_OPT_VERSION,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ VERSION_FLAGS, 0,
|
|
@@ -1625,8 +1653,8 @@ static tOptDesc optDesc[OPTION_CT] = {
|
|
|
/* desc, NAME, name */ VERSION_DESC, VERSION_NAME, VERSION_name,
|
|
|
/* disablement strs */ NULL, NULL },
|
|
|
|
|
|
- { /* entry idx, value */ 48, VALUE_OPT_LESS_HELP,
|
|
|
- /* equiv idx, value */ 48, VALUE_OPT_LESS_HELP,
|
|
|
+ { /* entry idx, value */ 49, VALUE_OPT_LESS_HELP,
|
|
|
+ /* equiv idx, value */ 49, VALUE_OPT_LESS_HELP,
|
|
|
/* equivalenced to */ NO_EQUIVALENT,
|
|
|
/* min, max, act ct */ 0, 1, 0,
|
|
|
/* opt state flags */ LESS_HELP_FLAGS, 0,
|
|
@@ -1692,21 +1720,21 @@ tOptDesc * const tcpedit_tcpedit_optDesc_p = optDesc + 0;
|
|
|
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
/** Reference to the upper cased version of tcpbridge. */
|
|
|
-#define zPROGNAME (tcpbridge_opt_strs+3884)
|
|
|
+#define zPROGNAME (tcpbridge_opt_strs+3960)
|
|
|
/** Reference to the title line for tcpbridge usage. */
|
|
|
-#define zUsageTitle (tcpbridge_opt_strs+3894)
|
|
|
+#define zUsageTitle (tcpbridge_opt_strs+3970)
|
|
|
/** tcpbridge configuration file name. */
|
|
|
-#define zRcName (tcpbridge_opt_strs+4025)
|
|
|
+#define zRcName (tcpbridge_opt_strs+4101)
|
|
|
/** Directories to search for tcpbridge config files. */
|
|
|
static char const * const apzHomeList[2] = {
|
|
|
- tcpbridge_opt_strs+4021,
|
|
|
+ tcpbridge_opt_strs+4097,
|
|
|
NULL };
|
|
|
/** The tcpbridge program bug email address. */
|
|
|
-#define zBugsAddr (tcpbridge_opt_strs+4038)
|
|
|
+#define zBugsAddr (tcpbridge_opt_strs+4114)
|
|
|
/** Clarification/explanation of what tcpbridge does. */
|
|
|
-#define zExplain (tcpbridge_opt_strs+4076)
|
|
|
+#define zExplain (tcpbridge_opt_strs+4152)
|
|
|
/** Extra detail explaining what tcpbridge does. */
|
|
|
-#define zDetail (tcpbridge_opt_strs+4208)
|
|
|
+#define zDetail (tcpbridge_opt_strs+4284)
|
|
|
/** The full version string for tcpbridge. */
|
|
|
#define zFullVersion (NULL)
|
|
|
/* extracted from optcode.tlib near line 364 */
|
|
@@ -2408,7 +2436,7 @@ doOptVersion(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
|
fprintf(stderr, " (debug)");
|
|
|
#endif
|
|
|
fprintf(stderr, "\n");
|
|
|
- fprintf(stderr, "Copyright 2013-2018 by Fred Klassen <tcpreplay at appneta dot com> - AppNeta\n");
|
|
|
+ fprintf(stderr, "Copyright 2013-2022 by Fred Klassen <tcpreplay at appneta dot com> - AppNeta\n");
|
|
|
fprintf(stderr, "Copyright 2000-2012 by Aaron Turner <aturner at synfin dot net>\n");
|
|
|
fprintf(stderr, "The entire Tcpreplay Suite is licensed under the GPLv3\n");
|
|
|
#ifdef HAVE_LIBDNET
|
|
@@ -2527,7 +2555,7 @@ tOptions tcpbridgeOptions = {
|
|
|
NO_EQUIVALENT, /* '-#' option index */
|
|
|
10 /* index of default opt */
|
|
|
},
|
|
|
- 53 /* full option count */, 49 /* user option count */,
|
|
|
+ 54 /* full option count */, 50 /* user option count */,
|
|
|
tcpbridge_full_usage, tcpbridge_short_usage,
|
|
|
NULL, NULL,
|
|
|
PKGDATADIR, tcpbridge_packager_info
|
|
@@ -2663,7 +2691,7 @@ static void bogus_function(void) {
|
|
|
*/
|
|
|
/* referenced via tcpbridgeOptions.pzCopyright */
|
|
|
puts(_("tcpbridge (tcpbridge)\n\
|
|
|
-Copyright (C) 2000-2018 Aaron Turner and Fred Klassen, all rights reserved.\n\
|
|
|
+Copyright (C) 2000-2022 Aaron Turner and Fred Klassen, all rights reserved.\n\
|
|
|
This is free software. It is licensed for use, modification and\n\
|
|
|
redistribution under the terms of the GNU General Public License,\n\
|
|
|
version 3 or later <http://gnu.org/licenses/gpl.html>\n"));
|
|
@@ -2774,6 +2802,9 @@ with this program. If not, see <http://www.gnu.org/licenses/>.\n"));
|
|
|
puts(_("Specify the ethernet 802.1q VLAN priority"));
|
|
|
|
|
|
/* referenced via tcpbridgeOptions.pOptDesc->pzText */
|
|
|
+ puts(_("Specify VLAN tag protocol 802.1q or 802.1ad"));
|
|
|
+
|
|
|
+ /* referenced via tcpbridgeOptions.pOptDesc->pzText */
|
|
|
puts(_("Specify HDLC control value"));
|
|
|
|
|
|
/* referenced via tcpbridgeOptions.pOptDesc->pzText */
|