aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/IPXrouted
Commit message (Collapse)AuthorAgeFilesLines
* Make IPXrouted compile using Clang by using ANSI function declarations.Ed Schouten2009-03-041-22/+10
| | | | | | | | | | Because of integer promotion, Clang doesn't allow ANSI prototypes to be mixed with K&R declarations. Submitted by: Pawel Worach <pawel worach gmail com> Notes: svn path=/head/; revision=189369
* Use printf formats which match the variable types without casts so weJohn Birrell2007-11-171-4/+4
| | | | | | | can go back to using -Werror in higher WARNS levels. Notes: svn path=/head/; revision=173709
* Do not use int where socklen_t is expected.Alexander Kabaev2006-09-211-1/+2
| | | | Notes: svn path=/head/; revision=162492
* Declare iftraceinit() at file scope.Stefan Farfeleder2005-08-051-2/+1
| | | | Notes: svn path=/head/; revision=148716
* Spell SHUT_RD as SHUT_RD not 0 as the how argument to shutdown(2).Juli Mallett2005-05-111-1/+1
| | | | Notes: svn path=/head/; revision=146076
* Per letter dated July 22, 1999, delete clause 3 from code directlyWarner Losh2004-08-071-4/+0
| | | | | | | from Berkeley. Notes: svn path=/head/; revision=133248
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+1
| | | | Notes: svn path=/head/; revision=131500
* Markup nits.Ruslan Ermilov2004-06-051-2/+4
| | | | Notes: svn path=/head/; revision=130130
* Replace ROUNDUP/ADVANCE with SA_SIZELuigi Rizzo2004-04-131-6/+2
| | | | Notes: svn path=/head/; revision=128186
* Drop unused dependencies.Ruslan Ermilov2004-02-041-3/+0
| | | | Notes: svn path=/head/; revision=125430
* Make this WARNS 2 clean, and fix up the manual page:Tom Rhodes2003-11-1512-32/+59
| | | | | | | | | | | | | | | | Avoid implicit function calls by adding the proper include files. Use const char copyright. Fix some fprint formatting. In the manual page: Use the .Pa macro for filenames and locations. Kill hard setence breaks. Make use of the .Tn and .Dq macros. Add some to text to the otherwise blank HISTORY section (taken from CVS). Notes: svn path=/head/; revision=122760
* Make 64 bit safe.Peter Wemm2003-10-262-6/+6
| | | | Notes: svn path=/head/; revision=121552
* The .Xr utilityPhilippe Charnier2003-06-081-2/+3
| | | | Notes: svn path=/head/; revision=116050
* "Advertizing" is ugly and possibly incorrect; use "Advertising" instead.Tim J. Robbins2003-02-271-1/+1
| | | | Notes: svn path=/head/; revision=111619
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-011-1/+1
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* The .Nm utilityPhilippe Charnier2002-07-141-2/+4
| | | | Notes: svn path=/head/; revision=99968
* Fix syntax error (label with no statement).Garrett Wollman2002-05-301-0/+1
| | | | Notes: svn path=/head/; revision=97638
* Fix preprocessor directive syntax (text after #else).Garrett Wollman2002-05-301-3/+5
| | | | | | | This program is not likely to compile if DEBUG is ever defined. Notes: svn path=/head/; revision=97632
* o Move NTOHL() and associated macros into <sys/param.h>. These areMike Barcroft2002-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm Notes: svn path=/head/; revision=90868
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-0/+1
| | | | | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before. Notes: svn path=/head/; revision=80029
* Remove whitespace at EOL.Dima Dorfman2001-07-151-7/+7
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79537
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74532
* mdoc(7) police: use canonical form of .Dd macro.Ruslan Ermilov2000-12-111-1/+1
| | | | Notes: svn path=/head/; revision=69862
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-15/+15
| | | | Notes: svn path=/head/; revision=68965
* Don't call syslog() without a format string.Kris Kennaway2000-07-121-1/+1
| | | | Notes: svn path=/head/; revision=62984
* remove extern int errno; include errno.hWarner Losh2000-04-141-1/+1
| | | | Notes: svn path=/head/; revision=59218
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57673
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2821-21/+21
| | | | Notes: svn path=/head/; revision=50479
* Move ipxrouted.dmp from /tmp to /var/log to make it more difficult to hijack.John Hay1999-08-242-4/+4
| | | | | | | PR: 13286 Notes: svn path=/head/; revision=50306
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+2
| | | | | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48791
* Add an option to disable responses to SAP_GETNEAREST_SERVER requests.John Hay1999-04-244-4/+16
| | | | | | | Submitted by: Boris Popov <bp@butya.kz> Notes: svn path=/head/; revision=45988
* Teach IPXrouted to handle the internal net properly.John Hay1999-02-062-18/+5
| | | | | | | | PR: 9871 Submitted by: Boris Popov <bp@butya.kz> Notes: svn path=/head/; revision=43713
* Major IPXrouted rework.John Hay1997-07-0615-177/+355
| | | | | | | | | | | | | | | | | | | | | | | | | | | In rt_change() remember to update the interface pointer otherwise we will send the RIP packets to the wrong interface(s) in future. Update the hash generator and increase the size of the hash tables. Only use the network and host parts when comparing IPX interface addresses. Immediately broadscast RIP and SAP changes. Change the alarm code to use the setitimer() call and only set a flag in the alarm signal handler. This gets rid of possible race conditions. Remove the host routing table. IPX RIP cannot do host routes, only net routes. Make the delay between broadcast packets 50ms. It seems that some Netware 4.x servers is very slow and don't have much input buffering. Handle received messages about networks and services that go down, better. Add tracing of RIP and SAP changes. It gets sysloged with a level of LOG_DEBUG. Notes: svn path=/head/; revision=27244
* Don't depend on <machine/cpufunc.h> including <sys/types.h>. In fact,Bruce Evans1997-07-012-8/+2
| | | | | | | don't include this kernel-only header at all, since we don't need it. Notes: svn path=/head/; revision=27127
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-2220-20/+20
| | | | Notes: svn path=/head/; revision=22997
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-1420-20/+20
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadGarrett Wollman1996-12-101-1/+2
| | | | | | | | | do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it. Notes: svn path=/head/; revision=20287
* Slow down the RIP and SAP broadcasts. At least some NW4.x machines can'tJohn Hay1996-11-242-2/+16
| | | | | | | | handle them back-to-back. (We couldn't either without my ipx receive buffer enlargement.) Notes: svn path=/head/; revision=19948
* Accept and use the content of packets received that is bigger than theJohn Hay1996-04-1311-17/+77
| | | | | | | | | Novell spec, but still only transmit according to the spec. Add a feature to dump the RIP and SAP tables when a SIGINFO signal is received. Notes: svn path=/head/; revision=15248
* Submitted by: John Hay -- John.Hay@csir.co.zaJulian Elischer1996-02-201-2/+7
| | | | | | | fix broken local routing .. (broken in previous patch) Notes: svn path=/head/; revision=14165
* Correct a bunch of man page cross references and generallyMike Pritchard1996-02-111-1/+1
| | | | | | | | | try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however. Notes: svn path=/head/; revision=14038
* Submitted by: John HayJulian Elischer1995-12-091-5/+5
| | | | | | | | | | | Ok, I shouldn't have said it was the last one previously. :-)) This fix a stupid bug in the select code. John Notes: svn path=/head/; revision=12692
* Submitted by: john hayJulian Elischer1995-12-052-4/+5
| | | | | | | | | | | | | | | | | | >From jhay@mikom.csir.co.za Mon Dec 4 09:48:12 1995 Subject: Yet another IPXrouted fix I think these should should make IPXrouted fairly stable. These last problems only showed when we had more than one route of the same cost to a net. This will fix some endless loops in the clone code. John -- John Hay -- John.Hay@csir.co.za Notes: svn path=/head/; revision=12630
* Submitted by: John HayJulian Elischer1995-12-043-5/+9
| | | | | | | patches to allow correct deletion of IPX routes Notes: svn path=/head/; revision=12620
* Submitted by: John Hay <jhay@mikom.csir.co.za>Julian Elischer1995-11-133-9/+5
| | | | | | | | | | | Here is some patches to IPXrouted. It does the following: Always use the sap port in the destination address of sap broadcasts. Clear the host part of network addresses so that routes will really be deleted in the kernel. Notes: svn path=/head/; revision=12268
* Submitted by: john hayJulian Elischer1995-10-274-26/+35
| | | | | | | | | | patches to merge the two IPX packages to work with each other and to not break make-world :) IPXrouted should be working now, (or at least compiling) :) Notes: svn path=/head/; revision=11840
* Reviewed by: julian and Mike MitchelJulian Elischer1995-10-2621-0/+4265
Submitted by: john Hay (John.Hay@csir.co.za) John's IPXrouted.. this has not yet been seen to run correctly with Mike's IPX/SPX code (he has his own) bringing them both in is the first step in merging the two packages for 2.2 Notes: svn path=/head/; revision=11820