]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/ipcp.h
The use of <net/ppp_defs.h> isn't guranteed to exist on Linux (e.g. uclibc, buildroot...
[ppp.git] / pppd / ipcp.h
index 9c4f68df2b862d8d0a28c17aa5bd741515f8dba8..0e449319b64bf56336a16ea297999716302dfd84 100644 (file)
  * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
+#ifndef PPP_IPCP_H
+#define PPP_IPCP_H
+
+#include "pppdconf.h"
 
 /*
  * Options.
@@ -76,6 +80,8 @@ typedef struct ipcp_options {
     bool accept_remote;                /* accept peer's value for hisaddr */
     bool req_dns1;             /* Ask peer to send primary DNS address? */
     bool req_dns2;             /* Ask peer to send secondary DNS address? */
+    bool req_wins1;            /* Ask peer to send primary WINS address? */
+    bool req_wins2;            /* Ask peer to send secondary WINS address? */
     int  vj_protocol;          /* protocol value to use in VJ option */
     int  maxslotindex;         /* values for RFC1332 VJ compression neg. */
     bool cflag;
@@ -93,3 +99,5 @@ extern ipcp_options ipcp_hisoptions[];
 char *ip_ntoa(u_int32_t);
 
 extern struct protent ipcp_protent;
+
+#endif /* PPP_IPCP_H */