Related command line tools
where
[options] are one or more of the following
: Display this help message | |||
: Generate detailed debug of parser states | |||
: Parse offsets | as (h)ex or (o)ctal. Default is hex | ||
: Specify | |||
| See net/bpf.h | for list of numbers. | |
: Generate no output at all (automatically turns off | |||
: Prepend dummy | Ethernet II header with specified L3PID (in | ||
| HEX) |
|
|
| Example: | ||
: Prepend dummy | IP header with specified IP protocol (in | ||
| DECIMAL). |
|
|
| Automatically | prepends Ethernet header as well. | |
| Example: |
| |
: Max packet length in output, default is 64000 | |||
: Prepend dummy | UDP header with specified dest and source port | ||
| (in DECIMAL). |
| |
| Automatically | prepends Ethernet and IP headers as well | |
| Example: | ||
: Prepend dummy | TCP header with specified dest and source port | ||
| (in DECIMAL). |
| |
| Automatically | prepends Ethernet and IP headers as well | |
| Example: | ||
SCTP header with specified dest/source ports | |||
| and verification tag (in DECIMAL). | ||
| Automatically | prepends Ethernet and IP headers as well | |
| Example: | ||
SCTP header with specified dest/source ports | |||
| and verification tag 0. It also prepends a dummy SCTP DATA | ||
| chunk header with payload protocol identifier ppi. | ||
| Example: | ||
: Treats the text before the packet as a date/time code; the | |||
| specified argument is a format string of the sort supported | ||
| by strptime. |
| |
| Example: The time "10:15:14.5476" has the format code | ||
| "%H:%M:%S." |
| |
| NOTE: | The subsecond component delimiter must be specified | |
|
| (.) but no pattern is required; the remaining numbe | |
|
| is assumed to be fractions of a second. |
| Write the capture file generated by text2pcap to <filename>. The de- |
| fault is to write to standard output. |
Display the help message | |
Displays debugging information during the process. Can be used | |
| multiple times to generate more debugging information. |
Be completely quiet during the process. | |
| Specify the radix for the offsets (hex or octal). Defaults to hex. This |
| corresponds to the |
Specify the | |
| net/bpf.h for the complete list of possible encapsulations. Note that |
| this option should be used if your dump is a complete hex dump of |
| an encapsulated packet and you wish to specify the exact type of en- |
| capsulation. Example: |
174