can_rx_unregister(9)
β¨ 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 π¦
- Kernel file
./net/can/af_can.cπ can_send(9)πeffhash(9)β¨can_rcv_list_find(9)πcan_rx_register(9)πcan_proto_register(9)π§can_proto_unregister(9)π
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms