aboutsummaryrefslogtreecommitdiff
path: root/sys/netipx/ipx_outputfl.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove IPX support.Gleb Smirnoff2014-03-141-288/+0
| | | | | | | | | | | | | | IPX was a network transport protocol in Novell's NetWare network operating system from late 80s and then 90s. The NetWare itself switched to TCP/IP as default transport in 1998. Later, in this century the Novell Open Enterprise Server became successor of Novell NetWare. The last release that claimed to still support IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco) discontinued support for IPX in 2011. Thus, IPX won't be supported in FreeBSD 11.0-RELEASE. Notes: svn path=/head/; revision=263140
* - Remove rt_metrics_lite and simply put its members into rtentry.Gleb Smirnoff2014-03-051-1/+1
| | | | | | | | | | | | | | | | | | | - Use counter(9) for rt_pksent (former rt_rmx.rmx_pksent). This removes another cache trashing ++ from packet forwarding path. - Create zini/fini methods for the rtentry UMA zone. Via initialize mutex and counter in them. - Fix reporting of rmx_pksent to routing socket. - Fix netstat(1) to report "Use" both in kvm(3) and sysctl(3) mode. The change is mostly targeted for stable/10 merge. For head, rt_pksent is expected to just disappear. Discussed with: melifaro Sponsored by: Netflix Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=262763
* The r48589 promised to remove implicit inclusion of if_var.h soon. PrepareGleb Smirnoff2013-10-261-0/+1
| | | | | | | | | | | to this event, adding if_var.h to files that do need it. Also, include all includes that now are included due to implicit pollution via if_var.h Sponsored by: Netflix Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=257176
* Mechanically substitute flags from historic mbuf allocator withGleb Smirnoff2012-12-051-1/+1
| | | | | | | | | | | | malloc(9) flags within sys. Exceptions: - sys/contrib not touched - sys/mbuf.h edited manually Notes: svn path=/head/; revision=243882
* Use queue(9) instead of hand-crafted link lists for the global IPXRobert Watson2009-06-241-13/+16
| | | | | | | | | | address list (ipx_ifaddr -> ipx_ifaddrhead), and generally adopt the naming and usage conventions found in netinet. MFC after: 6 weeks Notes: svn path=/head/; revision=194905
* Introduce basic locking of global IPX address list 'ipx_ifaddr' usingRobert Watson2009-06-211-3/+14
| | | | | | | | | | | | a new rwlock, ipx_ifaddr_rw, wrapped with macros. This locking is necessary but not sufficient, in isolation, to satisfy the stability requirements of a fully parallel IPX input path during interface reconfiguration. MFC after: 3 weeks Notes: svn path=/head/; revision=194608
* Remove historical support for capturing IPX packets in the output pathRobert Watson2009-06-211-8/+0
| | | | | | | | | | | | | | | | | | | | | | using raw IPX sockets. While functional, this support is disabled using a flag that can't be changed from userspace, and google reveals no documentation or use of that flag anywhere. This eliminates a potential lock order reversal and code reentrance issue in which the output path reentered the input path in IPX. An alternative to removal would be to use the netisr, as a comment I added in 2005 suggests. While this change is fairly straight-forward, the lack of any consumers or the easy possibility of consumers (kernel modification and recompile required) suggests that this is simply an unused feature. Update README to remove this TODO, and a TODO regarding IPX/IP encapsulation which was also removed a few years ago. MFC after: 1 week Notes: svn path=/head/; revision=194580
* Change if_output to take a struct route as its fourth argument in orderKip Macy2009-04-161-1/+1
| | | | | | | | | to allow passing a cached struct llentry * down to L2 Reviewed by: rwatson Notes: svn path=/head/; revision=191148
* Use ANSI C function declarations throughout netipx.Robert Watson2007-05-111-9/+5
| | | | | | | Remove 'register' use. Notes: svn path=/head/; revision=169463
* Factor out UCB and my copyrights from copyrights of Mike Mitchell;Robert Watson2007-01-081-1/+26
| | | | | | | | | | the former use a three-clause BSD license (per UCB authorization letter), whereas he uses a four-clause BSD license. MFC after: 3 days Notes: svn path=/head/; revision=165899
* /* -> /*- for license, minor formatting changesWarner Losh2005-01-071-1/+1
| | | | Notes: svn path=/head/; revision=139823
* Use RTFREE() to free route references rather than rtfree(), as rtfree()Robert Watson2005-01-021-1/+1
| | | | | | | | | | | expects a locked route reference. This removes a panic that occurs when connected ipxpcb is closed and its route free'd, and may have been present since the route locking took place. MFC after: 2 weeks Notes: svn path=/head/; revision=139557
* Prefer rtalloc_ign() API to rtalloc() API.Robert Watson2005-01-021-2/+2
| | | | Notes: svn path=/head/; revision=139556
* Use __FBSDID().David E. O'Brien2003-06-111-2/+3
| | | | Notes: svn path=/head/; revision=116189
* Back out M_* changes, per decision of the TRB.Warner Losh2003-02-191-1/+1
| | | | | | | Approved by: trb Notes: svn path=/head/; revision=111119
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.Alfred Perlstein2003-01-211-1/+1
| | | | | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT. Notes: svn path=/head/; revision=109623
* FreeBSD/vax is quite some time away.Peter Wemm2001-11-031-4/+0
| | | | Notes: svn path=/head/; revision=85958
* Calculate checksum properly for propagated IPX/NetBIOS packets.Boris Popov2000-04-271-2/+2
| | | | Notes: svn path=/head/; revision=59683
* Get rid of the old XNS checksum code and implement it the IPX way.John Hay1999-08-281-6/+2
| | | | | | | | PR: 13374 Submitted by: Boris Popov <bp@butya.kz> Notes: svn path=/head/; revision=50519
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Remove incorrect initialization.Eivind Eklund1999-04-111-2/+2
| | | | Notes: svn path=/head/; revision=45572
* Make it possible to use lo0 as an internal IPX network. This is usefullJohn Hay1999-02-061-2/+3
| | | | | | | | | for mars_nwe server and nwfs. PR: 9871 Submitted by: Boris Popov <bp@butya.kz> Notes: svn path=/head/; revision=43712
* Staticize.Eivind Eklund1998-02-091-2/+2
| | | | Notes: svn path=/head/; revision=33181
* Don't depend on gcc's feature of permitting labels that aren't followedBruce Evans1997-07-011-2/+2
| | | | | | | by a statement. Notes: svn path=/head/; revision=27125
* Removed the #ifdef IPXERRORMSGS'ed code. Fix a lot of style errors that IJohn Hay1997-06-261-5/+1
| | | | | | | | introduced with the previous commit. Style fixes Submitted by: Bruce Evans <bde@FreeBSD.ORG> Notes: svn path=/head/; revision=26965
* Mega IPX commit.John Hay1997-05-101-22/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the MAC address of an interface for the host part of an IPX address and not the MAC address of the first interface for every IPX address. This is more inline with the way others like Novell do it. Mostly Submitted by: "Serge A. Babkin" <babkin@hq.icb.chel.su> Take out the error messages (the ip icmp equivalent) with #ifdef IPXERRORMSGS. This is bogus and as far as I could figure out IPX don't have anything like it. This is a leftover from its XNS heritage. If nobody complains, I will take it out completely in a few weeks. Add some more ipxstat statistics counters. Make ipxprintfs a sysctl variable and off by default. Add IPX Netbios "routing" support. This is off by default and can be switched on with a sysctl knob. General code cleanup to at least use the same style throughout the IPX code, but also be more style(9) conformant. Also make a lot of functions static. If I don't get any complaints I'll bring all of this over to the 2.2 tree in a few weeks. Notes: svn path=/head/; revision=25652
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm1997-02-221-1/+1
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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
* Move or add #include <queue.h> in preparation for upcoming struct socketDavid Greenman1996-03-111-1/+2
| | | | | | | changes. Notes: svn path=/head/; revision=14546
* Suggested by: bdeJulian Elischer1995-11-041-1/+3
| | | | | | | clear up some confusion about Id: lines on behalf of the author Notes: svn path=/head/; revision=12057
* Submitted by: Mike Mitchell (mitchell@ref.tfs.com)Julian Elischer1995-10-311-1/+1
| | | | | | | | these patches bring the ipx code up to the point that it compiles cleanly with the -W arguments suggested by bruce. Notes: svn path=/head/; revision=11991
* Reviewed by: julian and jhay@mikom.csir.co.zaJulian Elischer1995-10-261-0/+159
Submitted by: Mike Mitchell, supervisor@alb.asctmd.com This is a bulk mport of Mike's IPX/SPX protocol stacks and all the related gunf that goes with it.. it is not guaranteed to work 100% correctly at this time but as we had several people trying to work on it I figured it would be better to get it checked in so they could all get teh same thing to work on.. Mikes been using it for a year or so but on 2.0 more changes and stuff will be merged in from other developers now that this is in. Mike Mitchell, Network Engineer AMTECH Systems Corporation, Technology and Manufacturing 8600 Jefferson Street, Albuquerque, New Mexico 87113 (505) 856-8000 supervisor@alb.asctmd.com Notes: svn path=/head/; revision=11819