comment on [NET]: Delete support for old-style protocols, no longer necessary.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux