| History log of /src/sbin/route/extern.h |
| Revision | | Date | Author | Comments |
| 1.15 |
| 06-Nov-2014 |
christos | Factor out the netstat route printing code and use it here. There is no point in having 2 different copies; fixes PR/49371
|
| 1.14 |
| 21-Oct-2009 |
snj | branches: 1.14.24; Remove 3rd and 4th clauses in christos' license. OK christos.
|
| 1.13 |
| 10-Sep-2008 |
dyoung | Constify.
|
| 1.12 |
| 09-Sep-2008 |
dyoung | Constify.
|
| 1.11 |
| 09-Sep-2008 |
dyoung | Shorten a staircase. Remove superfluous parentheses from return statements. Constify.
|
| 1.10 |
| 09-Sep-2008 |
dyoung | Use bool.
|
| 1.9 |
| 23-Sep-2006 |
dyoung | branches: 1.9.18; 1.9.22; Let us qualify 'route flush' and 'route show' commands with -llinfo and -host flags, which is useful for displaying/flushing ARP entries:
# route -n show -inet -llinfo -host Routing table
Internet: Destination Gateway Flags 169.254.1.119 link#1 UH 169.254.230.110 00:02:6f:21:e6:6e UH # route -n flush -inet -llinfo -host 169.254.1.119 done 169.254.230.110 0.2.6f.21.e6.6e done 169.254.237.70 done # route -n show -inet -llinfo -host Routing table #
This will help me address bin/11079, "dhclient may require arp and sed".
Extract common code from flushroutes() and show(), creating parse_show_opts().
While I'm here, make small cosmetic changes to flushroutes().
|
| 1.8 |
| 07-Sep-2006 |
dogcow | remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP.
|
| 1.7 |
| 25-Jan-2006 |
christos | PR/32632: Yves-Emmanuel JUTARD: Improvment suggestion in 'route' display. Add a new -S flag that prints a space for missing flags.
|
| 1.6 |
| 15-Aug-2005 |
ginsbach | Make sure that a netmask socket address value prints appropriately when the family is unset. Either the destination or interface address socket address family value is used. This change prevents the following sort of output:
RTM_NEWADDR: address being added to iface: len 60, metric 0, flags:<UP> sockaddrs: <NETMASK,IFA,BRD> (0) 00.00.ff.00.00 127.0.0.1 127.0.0.1
With this change the last line becomes:
255.0.0.0 127.0.0.1 127.0.0.1
Also make sure that when using a generated inet netmask the address family is set. With this change a generated netmask will print appropriately when using the verbose (-v) option.
|
| 1.5 |
| 09-Aug-2005 |
ginsbach | Accept protocol flags, i.e. -inet, -inet6, with the show command. [From OpenBSD via DragonFly BSD]
|
| 1.4 |
| 26-Jun-2005 |
christos | const poisoning.
|
| 1.3 |
| 05-Feb-2005 |
xtraeme | Kill __P(), use ANSI function declarations.
|
| 1.2 |
| 24-Oct-2001 |
atatat | Print a R on reject routes to indicate that they're not normal routes, and check netmask (or prefix) length as well as the destination address when determining if a route is a "default" or not. This means that the output from 'route show' will no longer say:
Internet6: Destination Gateway Flags default localhost UG default localhost UG
but instead
Internet6: Destination Gateway Flags ::/104 localhost UGR ::/96 localhost UGR
which makes much more sense.
|
| 1.1 |
| 03-Apr-1997 |
christos | - Add netatalk bits - Add prototypes - Fix printf formats
|
| 1.9.22.1 |
| 24-Sep-2008 |
wrstuden | Merge in changes between wrstuden-revivesa-base-2 and wrstuden-revivesa-base-3.
|
| 1.9.18.1 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
| 1.14.24.1 |
| 08-Jan-2015 |
martin | Pull up following revision(s) (requested by prlw1 in ticket #390): usr.bin/netstat/mroute.c: revision 1.25 usr.bin/netstat/Makefile: revision 1.40 sbin/route/prog_ops.h: revision 1.3 sbin/route/rtutil.c: revision 1.1 sbin/route/rtutil.h: revision 1.1 usr.bin/netstat/mroute6.c: revision 1.15 sbin/route/extern.h: revision 1.15 usr.bin/netstat/show.c: file removal usr.bin/netstat/main.c: revision 1.93 usr.bin/netstat/route.c: revision 1.83 usr.bin/netstat/netstat.h: revision 1.51 distrib/utils/x_route/Makefile: revision 1.18 sbin/route/show.c: revision 1.46 usr.bin/netstat/if.c: revision 1.80 sbin/route/route.c: revision 1.145 sbin/route/Makefile: revision 1.26 Factor out the netstat route printing code and use it here. There is no point in having 2 different copies; fixes PR/49371
|