Powered by Apache

CVS log for nsh/route.c

[BACK] Up to [local] / nsh

Request diff between arbitrary revisions


Default branch: MAIN


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

add a route flags argument to ip_route() and pass RTF_UP in "show route" so that it shows active routes.  of course more work needs to be done here for situations where multiple routes exist

Revision 1.11 / (download) - annotate - [select for diffs], Wed Feb 6 22:48:53 2008 UTC (4 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.10 (colored)

convert my copyrights to simpler ISC-style copyright statement

Revision 1.10 / (download) - annotate - [select for diffs], Tue Apr 11 20:17:30 2006 UTC (6 years, 1 month ago) by pata
Branch: MAIN
Diff to previous 1.9 (colored)

ASSUME_NETMASK is only used here

Revision 1.9 / (download) - annotate - [select for diffs], Sat Apr 8 19:58:18 2006 UTC (6 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.8 (colored)

errno.h cleanup
from Manuel Pata <pata@alface.de>

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 18 19:44:23 2003 UTC (8 years, 8 months ago) by chris
Branch: MAIN
Diff to previous 1.7 (colored)

Clone OpenBSD policy of always using strlcpy, and some other misc source
cleanup, mostly from Vincent Labrecque <vincent@psyfreaks.ca>

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 17 16:18:45 2003 UTC (9 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.6 (colored)

Detect if a user is adding a route with a non-network address
"% Inconsistent address and mask (x.x.x.x/y?)"

Revision 1.6 / (download) - annotate - [select for diffs], Tue Feb 18 09:29:46 2003 UTC (9 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.5 (colored)

add rcs tags to everything

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 10 08:10:27 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.4 (colored)

import of nsh-20020619
-use a more macros for better enjoyment
-fix up the toilet flusher to handle arps and routes
-make show route display a specific destination like 'route get' if you
specify an additional argument
-add media types in conf() output
-add powersave to conf() output
-add routes/arps to conf() output
-add media type and hardware address to show interface
-same for network key/powersaving time
-add function that "suprisingly actually works" to get hardware address
-merge ip/netmask/bitmask parser to parse_ip() instead of duplicating code
-strtoul vs atoi becomes an issue
-add capability to setup vlans from interface mode
-get rid of mrtd code from routesys.c and go back to berkeley rtmsg()
-whoops, i forgot to 'cvs add' bridge.c in the last commit!!

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 10 07:56:54 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.3 (colored)

import of nsh-20020607
-bridge config support from brconfig
-rant on openbsd routers
-extend interface mode handler to bridges as well (of course, they
are interfaces anyways) but in a rather hackish way
-add broadcast address to conf() output (not displayed if the user did
not make it non-default)
-fix up rate output while there
-add bridge commands to conf() output
-get rid of unused kern_routes()
-start passing a socket along to interface mode support routines instead of
opening and closing them each time
-explain broadcast or pointtopoint in show interface
-display vlan and rate information in show interface
-display average input and output sizes in show interface
-display flags on show interface if verbose
-add a function to find the network address given an IP and netmask
-add a function to find the broadcast address given an IP and netmask
-stop using strlen() where it is completely unnecessary

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 10 07:37:31 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.2 (colored)

import of nsh-20020510
-start at configuration generator conf()
-use -ledit for command line editing and history
-add flush commands
-is_valid_ifname() walks if_nameindex for the lazy

Revision 1.2 / (download) - annotate - [select for diffs], Mon Feb 10 07:26:15 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.1 (colored)

import of nsh-20020412
-add some -W gems
-get rid of \r\n crap
-add interface mode handler
-vlan stats for show interface
-make rate() work with interface mode handler
-route.c moves to routepr.c
-add route.c as a way to add routes with netmask or bitmask

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Feb 10 07:06:51 2003 UTC (9 years, 3 months ago) by chris
Branch: nsh
CVS Tags: initial
Diff to previous 1.1 (colored)

import of nsh-20020212

Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 10 07:06:51 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN

Initial revision

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>