3 * This file contains the HDLC/LAPB support for the NET-2 base
6 * Version: $Id: hdlclapb.c,v 1.5 2000/03/05 11:26:02 philip Exp $
9 * Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
10 * Copyright 1993 MicroWalt Corporation
12 * Modified by Alan Cox, May 94 to cover NET-3
14 * This program is free software; you can redistribute it
15 * and/or modify it under the terms of the GNU General
16 * Public License as published by the Free Software
17 * Foundation; either version 2 of the License, or (at
18 * your option) any later version.
24 #include <sys/types.h>
25 #include <sys/ioctl.h>
26 #include <sys/socket.h>
27 #include <net/if_arp.h>
36 #include "net-support.h"
37 #include "pathnames.h"
40 #warning "No definition of ARPHRD_HDLC in <net/if_arp.h>, using private value 513"
41 #define ARPHRD_HDLC 513
45 #warning "No definition of ARPHRD_HDLC in <net/if_arp.h>, using private value 516"
46 #define ARPHRD_LAPB 516
49 struct hwtype hdlc_hwtype
=
51 "hdlc", NULL
, /*"(Cisco) HDLC", */ ARPHRD_HDLC
, 0,
54 struct hwtype lapb_hwtype
=
56 "lapb", NULL
, /*"LAPB", */ ARPHRD_LAPB
, 0,
60 #endif /* HAVE_HWHDLCLAPB */