packet: introduce PACKET_QDISC_BYPASS socket option
[cascardo/linux.git] / net / packet / internal.h
index c4e4b45..0a87d7b 100644 (file)
@@ -113,6 +113,8 @@ struct packet_sock {
        unsigned int            tp_loss:1;
        unsigned int            tp_tx_has_off:1;
        unsigned int            tp_tstamp;
+       struct net_device __rcu *cached_dev;
+       int                     (*xmit)(struct sk_buff *skb);
        struct packet_type      prot_hook ____cacheline_aligned_in_smp;
 };