devip: add comment to ip.h explaining Routehint struct
This commit is contained in:
parent
5484260b42
commit
ad1ab7089d
1 changed files with 6 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue