es58x_can_get_echo_skb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– es58x_can_get_echo_skb(9) β€” Kernel API Manual bestie era ✨

🌸 NAME 🌸

es58x_can_get_echo_skb β€” Get the skb from the echo FIFO and loop it back locally. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int es58x_can_get_echo_skb (struct net_device *netdev , u32
rcv_packet_idx , u64 *tstamps , unsigned int pkts );

πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” CAN network device.
  • rcv_packet_idx β€” Index of the first packet received from the device.
  • tstamps β€” Array of hardware timestamps received from a ES58X device.
  • pkts β€” Number of packets (and so, length of tstamps).

✨ DESCRIPTION ✨

Okay so bestie, this is the callback function for when we receive a self reception acknowledgment. It retrieves the skb from the echo FIFO, sets its hardware timestamp β€” the actual time it was sent β€” and loops it back locally. 🫢

The device has to be active, meaning the network interface is UP and it is not in bus off state or restarting. No cap, it literally has to be active. 😭

Packet indexes must be consecutive. So: index of first packet is rcv_packet_idx, index of second packet is rcv_packet_idx + 1, and index of last packet is rcv_packet_idx + pkts - 1. Periodt. πŸ’€


🌈 RETURN 🌈

zero on success. ✨


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/net/can/usb/etas_es58x/es58x_core.c

mwah πŸ’‹ stay iconic, bestie β€” source/version: ./drivers/net/can/usb/etas_es58x; date: October 2026. πŸŽ€

πŸ“¦ where this page comes from