|
tracedump
single application IP packet sniffer
|
Go to the source code of this file.
Functions | |
| static void | help (void) |
| Prints usage help screen. | |
| static void | version (void) |
| Prints version and copying information. | |
| static int | parse_argv (struct tracedump *td, int argc, char *argv[]) |
| Parses arguments and loads modules. | |
| static void | sighandler (int signum) |
| static void | handle_socket (struct pid *sp, int fd) |
| static void | handle_attached_pid (struct pid *sp) |
| int | main (int argc, char *argv[]) |
Variables | |
| static bool | EXITING = false |
| static void handle_attached_pid | ( | struct pid * | sp | ) | [static] |
Definition at line 179 of file tracedump.c.
Referenced by main().
| static void handle_socket | ( | struct pid * | sp, |
| int | fd | ||
| ) | [static] |
Definition at line 103 of file tracedump.c.
Referenced by handle_attached_pid(), and main().
| static void help | ( | void | ) | [static] |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 202 of file tracedump.c.
| static int parse_argv | ( | struct tracedump * | td, |
| int | argc, | ||
| char * | argv[] | ||
| ) | [static] |
Parses arguments and loads modules.
| 0 | ok |
| 1 | error, main() should exit (eg. wrong arg. given) |
| 2 | ok, but main() should exit (eg. on --version or --help) |
Definition at line 46 of file tracedump.c.
Referenced by main().
| static void sighandler | ( | int | signum | ) | [static] |
Definition at line 96 of file tracedump.c.
Referenced by main().
| static void version | ( | void | ) | [static] |
Prints version and copying information.
Definition at line 32 of file tracedump.c.
Referenced by parse_argv().
bool EXITING = false [static] |
Definition at line 10 of file tracedump.c.
Referenced by main(), and sighandler().
1.7.3