patch-2.4.3 linux/include/linux/trdevice.h
Next file: linux/include/linux/tty.h
Previous file: linux/include/linux/tqueue.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sun Mar 25 18:24:31 2001
- Orig file:
v2.4.2/linux/include/linux/trdevice.h
- Orig date:
Wed Aug 18 11:38:46 1999
diff -u --recursive --new-file v2.4.2/linux/include/linux/trdevice.h linux/include/linux/trdevice.h
@@ -33,7 +33,10 @@
void *saddr, unsigned len);
extern int tr_rebuild_header(struct sk_buff *skb);
extern unsigned short tr_type_trans(struct sk_buff *skb, struct net_device *dev);
-extern struct net_device * init_trdev(struct net_device *, int);
+extern struct net_device *init_trdev(struct net_device *dev, int sizeof_priv);
+extern struct net_device *alloc_trdev(int sizeof_priv);
+extern int register_trdev(struct net_device *dev);
+extern void unregister_trdev(struct net_device *dev);
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)