can_rx_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

can_rx_unregister β€” unsubscribe CAN frames from a specific interface

okay bestie, welcome to the can_rx_unregister(9) page from the Kernel API Manual πŸ’… this one is literally about unsubscribing CAN frames from a specific interface, and it's giving "cleanup era" in the best way 🧚


🌸 SYNOPSIS 🌸

void can_rx_unregister (struct net *net , struct net_device *dev ,
       canid_t can_id , canid_t mask , void (*func)(struct sk_buff *, void *) ,
       void *data );

πŸŽ€ ARGUMENTS πŸŽ€

  • net β€” the applicable net namespace 🫢
  • dev β€” pointer to netdevice (NULL => unsubscribe from 'all' CAN devices list) πŸ‘‘
  • can_id β€” CAN identifier ⭐
  • mask β€” CAN mask πŸŽ€
  • func β€” callback function on filter match πŸ’–
  • data β€” returned parameter for callback function 🌈

πŸ’– DESCRIPTION πŸ’–

Removes subscription entry depending on given (subscription) values. that's the whole vibe: you hand it the subscription values, and it removes the matching subscription entry πŸ”₯ no cap, it's a very focused little function.


πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ signing off from the ./net/can corner of the Kernel API Manual, dated October 2026, for can_rx_unregister(9) 🫢✨

πŸ“¦ where this page comes from