patch-2.3.14 linux/net/802/psnap.c
Next file: linux/net/802/tr.c
Previous file: linux/net/802/p8023.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Aug 18 11:38:48 1999
- Orig file:
v2.3.13/linux/net/802/psnap.c
- Orig date:
Fri Jul 10 13:51:41 1998
diff -u --recursive --new-file v2.3.13/linux/net/802/psnap.c linux/net/802/psnap.c
@@ -39,7 +39,7 @@
* A SNAP packet has arrived
*/
-int snap_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
+int snap_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt)
{
static struct packet_type psnap_packet_type =
{
@@ -100,7 +100,7 @@
* Register SNAP clients. We don't yet use this for IP.
*/
-struct datalink_proto *register_snap_client(unsigned char *desc, int (*rcvfunc)(struct sk_buff *, struct device *, struct packet_type *))
+struct datalink_proto *register_snap_client(unsigned char *desc, int (*rcvfunc)(struct sk_buff *, struct net_device *, struct packet_type *))
{
struct datalink_proto *proto;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)