aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/descriptor.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-02-16 00:01:12 +0000
committerBrian Somers <brian@FreeBSD.org>1998-02-16 00:01:12 +0000
commit3006ec67fe3d15592a083f3ff7038db84742e9d2 (patch)
treecb280e30a1c78895a12cd39ea1c93fab811a3f94 /usr.sbin/ppp/descriptor.h
parentc78db105b59024d57d8bee9a11cb0c02abbb7ed6 (diff)
downloadsrc-3006ec67fe3d15592a083f3ff7038db84742e9d2.tar.gz
src-3006ec67fe3d15592a083f3ff7038db84742e9d2.zip
Create struct datalink.
This is a type of physical link that can chat and talk LCP & CCP. A bundle contains a list of these (only one in the list for the moment). The datalink is a type of descriptor, and dials, enters LCP (& does CCP), kicks the bundle when its FSMs do something interesting and does the hangup chat script on the way down. It also handles redials and reconnects. There are lots of loose ends, and probably lots of bugs, but the data structures are getting there !
Notes
Notes: svn path=/cvs2svn/branches/MP/; revision=33415
Diffstat (limited to 'usr.sbin/ppp/descriptor.h')
-rw-r--r--usr.sbin/ppp/descriptor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/descriptor.h b/usr.sbin/ppp/descriptor.h
index de979f3589ec..03b7eaa1b3d8 100644
--- a/usr.sbin/ppp/descriptor.h
+++ b/usr.sbin/ppp/descriptor.h
@@ -23,13 +23,14 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: descriptor.h,v 1.1.2.4 1998/02/10 03:23:17 brian Exp $
+ * $Id: descriptor.h,v 1.1.2.5 1998/02/13 05:10:15 brian Exp $
*/
#define PHYSICAL_DESCRIPTOR (1)
#define SERVER_DESCRIPTOR (2)
#define PROMPT_DESCRIPTOR (3)
#define CHAT_DESCRIPTOR (4)
+#define DATALINK_DESCRIPTOR (5)
struct descriptor {
int type;