Hello,I don't know if this is the right place where to ask, but I was wondering why the dev_loopback_xmit function defined in /net/core/dev.c takes struct net * and struct sock * as parameters. They are never used, so I believe passing only the struct sk_buff * should be enough.
In addition, it would like to know where I can read what is and how to set a skb dst_entry, since I don't really understand it.
Thanks a lot, Emanuele