};
/* content of u32 gwjob.flags */
-#define CAN_TX_LOOPBACK 0x00000001
+#define CAN_TX_ECHO 0x00000001
#define CAN_TX_SRC_TSTAMP 0x00000002
/* modification functions that are invoked in the hot path in gw_rcv */
nskb->tstamp.tv64 = 0;
/* send to netdevice */
- if (can_send(nskb, gwj->flags & CAN_TX_LOOPBACK))
+ if (can_send(nskb, gwj->flags & CAN_TX_ECHO))
gwj->dropped_frames++;
else
gwj->handled_frames++;
gwj->flags = 0;
- if (r->can_txflags & CAN_GW_TXFLAGS_LOOPBACK)
- gwj->flags |= CAN_TX_LOOPBACK;
+ if (r->can_txflags & CAN_GW_TXFLAGS_ECHO)
+ gwj->flags |= CAN_TX_ECHO;
if (r->can_txflags & CAN_GW_TXFLAGS_SRC_TSTAMP)
gwj->flags |= CAN_TX_SRC_TSTAMP;