Powered by Apache

CVS log for nsh/carp.c

[BACK] Up to [local] / nsh

Request diff between arbitrary revisions


Default branch: MAIN


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

convert my copyrights to simpler ISC-style copyright statement

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

vhid 0 not valid

Revision 1.10 / (download) - annotate - [select for diffs], Mon Feb 4 02:49:46 2008 UTC (4 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.9 (colored)

Destroy inappropriate use of CMP_ARG and rename it to MIN_ARG since is
is really only for comparing that an argument matches a minimum of the
characters supplied to the second position in the macro.

Next move from using half-assed minimum-matching/ambiguous proof to
being truly table driven by using genget everywhere.  This is done by
eliminating chains of if (CMP_ARG){...; return;} and using structs
which genget loops around to determine the shortest non-ambiguous
prefix.  This doesn't buy command completion yet!  But, by using
table driven command sets, it moves in the right direction.

Also replace use of CMP_ARG in places that are not table-driven to
isprefix() (it was already in genget.c) which does matching in the
opposite order, so nsh can know that an argument is "interface"
and match i, in, int, inte, ... but not match iff or other mis-spelled
arguments.  (CMP_ARG was just matching against the minimum non-
ambiguous part of the argument as compiled into nsh at any given
time, poor form)

Revision 1.9 / (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.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 16 10:42:14 2007 UTC (4 years, 5 months ago) by chris
Branch: MAIN
Diff to previous 1.7 (colored)

carpnode set support
also has fairly intuitive carpnode delete support-a bit more flexible than
ifconfig (which requries you to specify the full carpnode table on config)
also, keep in mind this is not really useful in the kernel yet

Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 15 22:51:26 2007 UTC (4 years, 5 months ago) by chris
Branch: MAIN
Diff to previous 1.6 (colored)

track multiple vhid carp changes in OpenBSD-current
still needs more work- missing a carpnode set command and other parts of
carp.c still need to be aware of multiple vhids

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 19 00:14:04 2007 UTC (5 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.5 (colored)

carpdev output in conf_ routine

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 13 12:41:46 2006 UTC (5 years, 6 months ago) by pata
Branch: MAIN
Diff to previous 1.4 (colored)

o add carpdev support (function intcdev)

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

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

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 12 07:47:58 2005 UTC (6 years, 11 months ago) by chris
Branch: MAIN
Diff to previous 1.2 (colored)

Simplify life with strtonum() and other little cleanups

Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 23 08:36:33 2004 UTC (8 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.1 (colored)

Unnecessary force of IFF_RUNNING

Revision 1.1 / (download) - annotate - [select for diffs], Mon Mar 22 11:33:29 2004 UTC (8 years, 1 month ago) by chris
Branch: MAIN

Implement CARP controls

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>