Powered by Apache

CVS log for nsh/show.c

[BACK] Up to [local] / nsh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10 / (download) - annotate - [select for diffs], Fri May 22 23:43:33 2009 UTC (2 years, 11 months ago) by chris
Branch: MAIN
CVS Tags: HEAD
Diff to previous 1.9 (colored)

use correct cast for pointer math on hdrlen switch

Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 2 23:01:14 2009 UTC (3 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.8 (colored)

Sync with OpenBSD - start using rtm_hdrlen from kernel route messages so we have a better chance of working if the kernel and userland are significantly out of sync (such as when the header changes)

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 13 02:27:38 2008 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.7 (colored)

random cleanup and arp set/search support (show arp already works)

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 6 17:20:05 2008 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.6 (colored)

Cleanup:
-cleanup conf_route code so IPv4 and IPv6 static routes print without effort,
 using functions already available (note that we can't actually set an IPv6
 static route yet)
-consolidate p_rttables route dump sysctl into getrtdump()
-move chains of if(errno==blah)elseif(errno==bleh) to switch{case blah:}
-print arp table with 'show arp'
-fix static arp display in nsh configuration (still need arp set support)

Initial cut at supporting new(er) openbsd features:
-interface route labels
-interface groups
-group attribute support
-vlan priority

1. Don't bother to run this without the LATEST 4.2-CURRENT kernel or
YOU WILL PANIC THE KERNEL

2. THIS CHANGES VLAN CONFIGURATION SYNTAX:

vlan <VID> <PARENT>
becomes:
vlan <VID> parent <PARENT>

You must edit nshrc by hand if you are upgrading an existing installation that
uses vlans!  Or run the new nsh binary and write out the config before trying
to reboot.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Dec 27 03:12:22 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.5 (colored)

type cleanup from cc -W

Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 27 02:26:37 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.4 (colored)

compensate for uninitialized sin_addr on zero length netmask (like the
default route from the kernel sysctl) in netname4/routename4, not at higher lvl

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 27 01:57:56 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.3 (colored)

start using routename() from show.c and abandon routename_sa()
also apply other trivial cleanup to show.c for nsh-style display

Revision 1.3 / (download) - annotate - [select for diffs], Wed Dec 26 05:58:35 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.2 (colored)

only print "interesting" flags for now

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 26 05:42:23 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.1 (colored)

Always show all octets for IPv4 addresses

Revision 1.1 / (download) - annotate - [select for diffs], Wed Dec 26 05:19:33 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN

new route print code from /usr/src/sbin/route/show.c
(uses sysctl instead of kvm)
extinguish all remaining kvm usage from NSH

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.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>