Powered by Apache

CVS log for nsh/pfsync.c

[BACK] Up to [local] / nsh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10 / (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.9 (colored)

convert my copyrights to simpler ISC-style copyright statement

Revision 1.9 / (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.8 (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.8 / (download) - annotate - [select for diffs], Sat Dec 29 23:11:22 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.7 (colored)

add timeslot and syncpeer commands (from ifconfig)

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

PFSYNC_MAXUPDATES is only used here.

Revision 1.6 / (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.5 (colored)

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

Revision 1.5 / (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.4 (colored)

Simplify life with strtonum() and other little cleanups

Revision 1.4 / (download) - annotate - [select for diffs], Mon May 30 23:26:06 2005 UTC (6 years, 11 months ago) by chris
Branch: MAIN
Diff to previous 1.3 (colored)

'syncif' became 'syncdev' in openbsd 3.7

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 22 11:17:09 2004 UTC (8 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.2 (colored)

make 'syncif' set IFF_UP flag when syncif also set

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 22 10:41:09 2004 UTC (8 years, 1 month ago) by chris
Branch: MAIN
Diff to previous 1.1 (colored)

pedantic use of strtoul which allows for proper detection of large
(out of range) values and also the special 'base 0' feature which allows
for base 8, 10 or base 16 conversions if the value starts with appropriate
characters, see strtoul(3)..oh, yes, all uses of atoi or strtoul in nsh
should be converted to look like this

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

Add support for configuring pfsync interfaces

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>