X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fpppd.h;h=f44fe016c82847b6f402a635329aa082eba5d897;hb=0678d3bf69116af58b00fbc64bd4185acb4d5c37;hp=9214aaeb6ff1c778032c922af3cc62bc6de10b5b;hpb=c78e3129d404f20d556f727ceee3704722de8cc7;p=ppp.git diff --git a/pppd/pppd.h b/pppd/pppd.h index 9214aae..f44fe01 100644 --- a/pppd/pppd.h +++ b/pppd/pppd.h @@ -50,6 +50,8 @@ #define __PPPD_H__ #include /* for FILE */ +#include /* for encrypt */ +#include /* for setkey */ #include /* for NGROUPS_MAX */ #include /* for MAXPATHLEN and BSD4_4, if defined */ #include /* for u_int32_t, if defined */ @@ -221,6 +223,7 @@ struct notifier { * Global variables. */ +extern int got_sigterm; /* SIGINT or SIGTERM was received */ extern int hungup; /* Physical layer has disconnected */ extern int ifunit; /* Interface unit number */ extern char ifname[]; /* Interface name */ @@ -683,6 +686,12 @@ int sifdefaultroute __P((int, u_int32_t, u_int32_t)); /* Create default route through i/f */ int cifdefaultroute __P((int, u_int32_t, u_int32_t)); /* Delete default route through i/f */ +#ifdef INET6 +int sif6defaultroute __P((int, eui64_t, eui64_t)); + /* Create default IPv6 route through i/f */ +int cif6defaultroute __P((int, eui64_t, eui64_t)); + /* Delete default IPv6 route through i/f */ +#endif int sifproxyarp __P((int, u_int32_t)); /* Add proxy ARP entry for peer */ int cifproxyarp __P((int, u_int32_t));