2eb9abc3d8
Timestamp location in can message has changed, In the original logic timestamp is saved at the end of the data segment: io_data ------------------------------------------------- | CAN message | Time Stamp | ------------------------------------------------- |<--------------- io_len ---------------->| In the new structure timestamps will reuse NET_LL_GUARDSIZE to isolate CAN messages: io_data io_offset ------------------------------------------------- | Time Stamp | CAN message | ------------------------------------------------- |<-------- io_len --------->| This PR will: 1. Increase NET_LL_GUARDSIZE to 16 (sizeof(struct timeval)) if NET_CAN && NET_TIMESTAMP are enabled 2. Apply timestamp to adapt to the new structure Signed-off-by: chao an <anchao@xiaomi.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Make.defs | ||
can.h | ||
can_callback.c | ||
can_conn.c | ||
can_getsockopt.c | ||
can_input.c | ||
can_notifier.c | ||
can_poll.c | ||
can_recvmsg.c | ||
can_sendmsg.c | ||
can_setsockopt.c | ||
can_sockif.c |