#include <sys/types.h>#include <sys/param.h>#include <sys/socket.h>#include <sys/time.h>#include <sys/uio.h>#include <netatalk/at.h>#include <atalk/aep.h>#include <atalk/ddp.h>#include <atalk/atp.h>#include <atalk/globals.h>#include <atalk/iniparser_util.h>#include <errno.h>#include <iniparser.h>#include <signal.h>#include <stdio.h>#include <stdint.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <syslog.h>#include <fcntl.h>#include <sys/ioctl.h>#include <sysexits.h>#include <pwd.h>#include "common.h"#include "macip.h"#include "tunnel.h"#include "util.h"Functions | |
| static void | die (int n) |
| static void | server (void) |
| void | disassociate (void) |
| void | usage (char *c) |
| struct passwd * | get_user (const char *username) |
| macip_options * | read_options (const char *conf) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | atsocket |
| int | tundev |
| int | debug = 0 |
| static char * | version = VERSION |
|
static |
| void disassociate | ( | void | ) |
| struct passwd * get_user | ( | const char * | username | ) |
| int main | ( | int | argc, |
| char * | argv[] ) |
| macip_options * read_options | ( | const char * | conf | ) |
|
static |
| void usage | ( | char * | c | ) |
| int atsocket |
| int debug = 0 |
| int tundev |
|
static |