On Mon, Aug 31, 2015 at 11:59 PM, Masao Uebayashi <uebay...@gmail.com> wrote: > sys/netinet/in.c calls a function in sys/net/if_llatbl.c > sys/net/if_llatbl.c calls a function in sys/net/if_arp.c > > This doesn't look very good from modularity POV. Maybe if_llatbl.c > should not directly refer to if_arp.c functions.
Yes, but if we decide to separate nexthop caches from the routing table, the code will be removed. So please wait until then. (If we decide to not, I'll just introduce a callback.) ozaki-r