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-04 23:10:29 +01:00
2013-01-03 15:57:02 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:04 -08:00
2013-01-03 15:57:16 -08:00
2013-01-06 00:36:17 +01:00
2013-01-15 15:05:59 -05:00
2013-01-03 15:57:15 -08:00
2012-12-12 18:07:07 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:15 -08:00
2013-01-08 18:53:56 -08:00
2013-01-03 15:57:15 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 13:11:19 +01:00
2013-01-03 13:11:06 +01:00
2013-01-03 15:57:02 -08:00
2013-01-03 15:57:16 -08:00
2013-01-08 18:53:56 -08:00
2013-01-09 08:43:56 -08:00
2012-11-19 14:30:25 +01:00
2012-11-27 06:44:10 -08:00
2013-01-20 23:16:03 -05:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2013-01-14 08:45:27 +10:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2012-11-21 12:46:40 -08:00
2013-01-09 21:47:22 -08:00
2012-11-28 11:41:36 -08:00
2012-12-22 20:13:45 +01:00
2013-01-03 15:57:03 -08:00
2013-01-03 13:11:05 +01:00
2013-01-14 09:08:38 -08:00
2013-01-15 15:05:59 -05:00
2013-01-04 10:30:11 -08:00
2013-01-03 15:57:14 -08:00
2012-12-11 14:08:47 -08:00
2012-12-14 14:42:53 -08:00
2013-01-21 17:36:26 -05:00
2013-01-02 17:58:41 -08:00
2012-12-18 15:19:06 +10:30
2013-01-03 15:57:14 -08:00
2012-12-21 17:08:06 -08:00
2013-01-03 15:57:02 -08:00
2013-01-03 15:57:14 -08:00
2012-11-15 17:30:14 -08:00
2013-01-03 15:57:14 -08:00
2013-01-03 15:57:14 -08:00
2013-01-07 10:28:03 -08:00
2013-01-03 15:57:14 -08:00
2013-01-03 15:57:03 -08:00
2013-01-26 16:59:01 +01:00
2013-01-03 15:57:16 -08:00
2013-01-14 15:11:50 -05:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:03 -08:00
2013-01-10 14:35:23 -08:00
2012-12-12 11:45:16 -08:00
2013-01-08 18:53:56 -08:00
2013-01-07 12:33:48 -05:00
2013-01-03 13:10:53 +01:00
2013-01-08 18:53:56 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2012-12-12 18:07:07 -08:00
2012-12-19 08:19:07 -08:00
2012-12-11 13:13:55 -08:00
2013-01-03 15:57:04 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2013-01-11 14:54:54 -08:00
2013-01-21 13:51:15 -05:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2012-12-19 15:11:41 +00:00
2013-01-08 07:31:49 -08:00
2013-01-15 15:05:59 -05:00
2012-12-15 14:25:10 -08:00
2013-01-03 15:57:02 -08:00
2012-12-16 11:28:10 -08:00
2012-12-12 12:05:15 -08:00
2013-01-15 15:05:59 -05:00
2012-11-26 15:58:43 -08:00
2012-12-07 13:43:51 -07:00
2012-12-15 14:25:10 -08:00
2013-01-11 14:54:54 -08:00
2012-12-18 09:58:09 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2013-01-02 12:07:05 +01:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2012-11-16 08:14:18 -08:00
2012-11-16 08:14:18 -08:00