2 * lib/ppp.c This file contains the SLIP support for the NET-2 base
5 * Version: $Id: ppp.c,v 1.4 2000/03/05 11:26:03 philip Exp $
7 * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
8 * Copyright 1993 MicroWalt Corporation
10 * Modified by Alan Cox, May 94 to cover NET-3
13 * 980701 {1.12} Arnaldo Carvalho de Melo - GNU gettext instead of catgets
15 * This program is free software; you can redistribute it
16 * and/or modify it under the terms of the GNU General
17 * Public License as published by the Free Software
18 * Foundation; either version 2 of the License, or (at
19 * your option) any later version.
25 #include <sys/types.h>
26 #include <sys/ioctl.h>
27 #include <sys/socket.h>
28 #include <net/if_arp.h>
37 #include "net-support.h"
38 #include "pathnames.h"
41 /* Start the PPP encapsulation on the file descriptor. */
42 static int do_ppp(int fd
)
44 fprintf(stderr
, _("You cannot start PPP with this program.\n"));
49 struct hwtype ppp_hwtype
=
51 "ppp", NULL
, /*"Point-Point Protocol", */ ARPHRD_PPP
, 0,