ref: f9308e9fd0a3a4669b7a4b810a5c7615a4673ef7
parent: d74327ca534fbb154da1969887f6edddba63c171
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Oct 11 08:16:21 EDT 2021
devip: add comment to ip.h explaining Routehint struct
--- a/sys/src/9/ip/ip.h
+++ b/sys/src/9/ip/ip.h
@@ -164,6 +164,12 @@
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 */
--
⑨