.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Generic HDLC support routines for Linux |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 1999 - 2008 Krzysztof Halasa <khc@pm.waw.pl> |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify it |
---|
7 | | - * under the terms of version 2 of the GNU General Public License |
---|
8 | | - * as published by the Free Software Foundation. |
---|
9 | 6 | * |
---|
10 | 7 | * Currently supported: |
---|
11 | 8 | * * raw IP-in-HDLC |
---|
.. | .. |
---|
240 | 237 | dev->min_mtu = 68; |
---|
241 | 238 | dev->max_mtu = HDLC_MAX_MTU; |
---|
242 | 239 | dev->type = ARPHRD_RAWHDLC; |
---|
243 | | - dev->hard_header_len = 16; |
---|
| 240 | + dev->hard_header_len = 0; |
---|
| 241 | + dev->needed_headroom = 0; |
---|
244 | 242 | dev->addr_len = 0; |
---|
245 | 243 | dev->header_ops = &hdlc_null_ops; |
---|
246 | 244 | } |
---|