netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* comment on [NET]: Delete support for old-style protocols, no longer necessary.
@ 2003-10-07 18:37 Joe Perches
  2003-10-07 18:52 ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Perches @ 2003-10-07 18:37 UTC (permalink / raw)
  To: davem, linux-net, netdev

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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-08  0:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-07 18:37 comment on [NET]: Delete support for old-style protocols, no longer necessary Joe Perches
2003-10-07 18:52 ` David S. Miller
2003-10-07 23:33   ` Joe Perches
2003-10-08  0:22     ` Dan Kegel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).