Files
kernel_arpi/include/linux
Oliver Hartkopp 156c2bb9f8 can: add private data space for CAN sk_buffs
The struct can_skb_priv is used to transport additional information along
with the stored struct can(fd)_frame that can not be contained in existing
struct sk_buff elements.

can_skb_priv is located in the skb headroom, which does not touch the existing
CAN sk_buff usage with skb->data and skb->len, so that even out-of-tree
CAN drivers can be used without changes.

Btw. out-of-tree CAN drivers without can_skb_priv in the sk_buff headroom
would not support features based on can_skb_priv.

The can_skb_priv->ifindex contains the first interface where the CAN frame
appeared on the local host. Unfortunately skb->skb_iif can not be used as this
value is overwritten in every netif_receive_skb() call.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2013-01-26 16:59:01 +01:00
..
2013-01-02 17:36:10 -08:00
2013-01-02 17:36:10 -08:00
2012-12-07 17:02:47 +00:00
2013-01-02 17:36:10 -08:00
2012-11-30 12:37:36 +01:00
2012-12-02 00:05:12 +00:00
2012-11-15 00:34:23 +01:00
2012-12-20 13:57:36 -05:00
2012-12-21 20:23:41 +00:00
2012-11-08 16:58:31 +01:00
2012-11-28 11:54:40 +01:00
2012-11-22 13:43:27 +09:00
2012-11-28 21:49:02 -05:00
2012-11-28 21:49:02 -05:00
2012-11-08 16:58:30 +01:00
2012-11-21 10:07:48 +01:00
2012-11-23 12:23:40 +01:00
2012-12-14 13:05:26 +10:30
2013-01-13 21:04:37 -05:00
2013-01-10 10:57:01 -08:00
2012-11-21 15:09:26 -08:00
2012-11-20 16:15:02 +10:00
2012-12-12 17:38:33 -08:00
2012-12-14 13:06:40 +10:30
2012-12-25 18:45:06 -05:00
2013-01-08 17:56:09 -08:00
2012-12-11 17:22:27 -08:00
2013-01-03 15:57:14 -08:00
2013-01-23 13:44:00 -05:00
2012-11-16 14:33:04 -08:00
2012-12-18 15:02:13 -08:00
2012-12-18 15:02:14 -08:00
2012-11-15 17:20:58 -08:00