|
RTEMS CPU Kit with SuperCore
4.11.2
|
#include <ctype.h>#include <stdio.h>#include <errno.h>#include <unistd.h>#include <fcntl.h>#include <stdlib.h>#include <termios.h>#include <string.h>#include <netdb.h>#include <pwd.h>#include <sys/types.h>#include <sys/stat.h>#include <netinet/in.h>#include <arpa/inet.h>#include "pppd.h"#include "pathnames.h"#include "patchlevel.h"#include "fsm.h"#include "lcp.h"#include "ipcp.h"#include "upap.h"#include "chap.h"#include "ccp.h"#include <net/ppp_comp.h>
Data Structures | |
| struct | option_list |
Macros | |
| #define | RCSID "$Id$" |
| #define | isoctal(c) ((c) >= '0' && (c) < '8') |
Functions | |
| int | parse_args (int argc, char **argv) |
| int | options_from_file (char *filename, int must_exist, int check_prot, int priv) |
| int | options_from_user (void) |
| int | options_for_tty (void) |
| int | options_from_list (struct wordlist *w, int priv) |
| void | add_options (option_t *opt) |
| void option_error | __V ((char *fmt,...)) |
| int | getword (FILE *f, char *word, int *newlinep, char *filename) |
| int | int_option (char *str, int *valp) |
Variables | |
| int | debug = 0 |
| int | kdebugflag = 0 |
| int | default_device = 1 |
| char | devnam [MAXPATHLEN] |
| int | crtscts = 0 |
| bool | modem = 1 |
| int | inspeed = 0 |
| uint32_t | netmask = 0 |
| bool | lockflag = 0 |
| bool | nodetach = 0 |
| bool | updetach = 0 |
| char * | initializer = NULL |
| char * | connect_script = NULL |
| char * | disconnect_script = NULL |
| char * | welcomer = NULL |
| char * | ptycommand = NULL |
| int | maxconnect = 0 |
| char | user [MAXNAMELEN] |
| char | passwd [MAXSECRETLEN] |
| bool | persist = 0 |
| char | our_name [MAXNAMELEN] |
| bool | demand = 0 |
| char * | ipparam = NULL |
| int | idle_time_limit = 0 |
| int | holdoff = 30 |
| bool | holdoff_specified |
| bool | notty = 0 |
| char * | record_file = NULL |
| int | using_pty = 0 |
| bool | sync_serial = 0 |
| int | log_to_fd = 1 |
| int | maxfail = 10 |
| char | linkname [MAXPATHLEN] |
| bool | tune_kernel |
| int | connect_delay = 1000 |
| option_t | auth_options [] |
| struct stat | devstat |
| int | prepass |
| struct option_info | initializer_info |
| struct option_info | connect_script_info |
| struct option_info | disconnect_script_info |
| struct option_info | welcomer_info |
| struct option_info | devnam_info |
| struct option_info | ptycommand_info |
| char * | current_option |
| int | privileged_option |
| char * | option_source |
| bool | log_to_file |
| option_t | general_options [] |
1.8.13