How about netdevice.h struct sock; struct packet_type { unsigned short type; /* This is really htons(ether_type). */ struct net_device *dev; /* NULL is wildcarded here */ int (*func) (struct sk_buff *, struct net_device *, struct packet_type *); - void *af_packet_priv; + struct sock *sk; /* appropriate comment: socket copy? */ struct list_head list; }; and s/af_packet_priv/sk/g in the rest of the files? - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html