OpenBSD CVS

CVS log for src/usr.bin/netstat/show.c


[BACK] Up to [local] / src / usr.bin / netstat

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_5_6_BASE


Revision 1.42 / (download) - annotate - [select for diffs], Thu May 8 09:28:08 2014 UTC (10 years, 1 month ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.41: +3 -1 lines
Diff to previous 1.41 (colored)

Introduce two new route flags: RTF_LOCAL and RTF_BROADCAST.

Nothing use them for the moment, but here is the plan:

Since a route lookup is always necessary to output a packet it makes
sense to store all the information regarding how the packet should be
sent in the routing entry.  This will save us some expensive lookups
on address lists.

But once we have all the information about our addresses in the routing
table, we can even use it in the input path with the hope that the number
of lookups in the forwarding case can be reduce to one.

ok henning@, chris@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.