devip: add comment to ip.h explaining Routehint struct

This commit is contained in:
cinap_lenrek 2021-10-11 12:16:21 +00:00
parent 5484260b42
commit ad1ab7089d

View file

@ -164,6 +164,12 @@ struct Ip4hdr
uchar dst[4]; /* IP destination */
};
/*
* cache for route and arp table lookups.
* one per Conv so conversations with a
* fixed target can avoid the per packet
* lookup overhead.
*/
struct Routehint
{
Route *r; /* last route used */