Reputation: 2777
I am going through a can base network driver for MCP-2515
https://github.com/raspberrypi/linux/blob/rpi-3.6.y/drivers/net/can/mcp251x.c
Please suggest where i can find the description of the function, :--
alloc_candev
open_candev
alloc_can_skb
can_dropped_invalid_skb
alloc_can_err_skb
etc .....
Is there some read-me file or some tutorial ?
Please suggest.
Upvotes: 0
Views: 3015
Reputation: 4849
This is the first place to look for info about SocketCAN drivers: https://www.kernel.org/doc/Documentation/networking/can.txt
Networking stuff can be found in the same folder: https://www.kernel.org/doc/Documentation/networking/
Here a description of network buffering in Linux: http://vger.kernel.org/~davem/skb.html and http://www.tldp.org/LDP/khg/HyperNews/get/net/net-intro.html
Upvotes: 1