hdlc_ppp.c (c1b054d03f5b31c33eaa0b267c629b118eaf3790) hdlc_ppp.c (4bc83b4d409edacb33db6c71d03e963d9728476c)
1/*
2 * Generic HDLC support routines for Linux
3 * Point-to-point protocol support
4 *
5 * Copyright (C) 1999 - 2003 Krzysztof Halasa <khc@pm.waw.pl>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of version 2 of the GNU General Public License

--- 93 unchanged lines hidden (view full) ---

102 hdlc->proto.open = ppp_open;
103 hdlc->proto.close = ppp_close;
104 hdlc->proto.type_trans = ppp_type_trans;
105 hdlc->proto.id = IF_PROTO_PPP;
106 dev->hard_start_xmit = hdlc->xmit;
107 dev->hard_header = NULL;
108 dev->type = ARPHRD_PPP;
109 dev->addr_len = 0;
1/*
2 * Generic HDLC support routines for Linux
3 * Point-to-point protocol support
4 *
5 * Copyright (C) 1999 - 2003 Krzysztof Halasa <khc@pm.waw.pl>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of version 2 of the GNU General Public License

--- 93 unchanged lines hidden (view full) ---

102 hdlc->proto.open = ppp_open;
103 hdlc->proto.close = ppp_close;
104 hdlc->proto.type_trans = ppp_type_trans;
105 hdlc->proto.id = IF_PROTO_PPP;
106 dev->hard_start_xmit = hdlc->xmit;
107 dev->hard_header = NULL;
108 dev->type = ARPHRD_PPP;
109 dev->addr_len = 0;
110 netif_dormant_off(dev);
110 return 0;
111 }
112
113 return -EINVAL;
114}
111 return 0;
112 }
113
114 return -EINVAL;
115}