patch-1.3.6 linux/net/802/tr.c
Next file: linux/net/Changes
Previous file: linux/net/802/psnap.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Thu Jun 29 19:18:52 1995
- Orig file:
v1.3.5/linux/net/802/tr.c
- Orig date:
Tue Jun 6 12:16:42 1995
diff -u --recursive --new-file v1.3.5/linux/net/802/tr.c linux/net/802/tr.c
@@ -41,9 +41,9 @@
int tr_header(unsigned char *buff, struct device *dev, unsigned short type,
void *daddr, void *saddr, unsigned len, struct sk_buff *skb) {
- struct trh_hdr *trh=(struct trh_hdr *)buff;
+ struct trh_hdr *trh=(struct trh_hdr *)skb_push(skb,dev->hard_header_len);
struct trllc *trllc=(struct trllc *)(buff+sizeof(struct trh_hdr));
-
+
trh->ac=AC;
trh->fc=LLC_FRAME;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this