summaryrefslogtreecommitdiffstats
path: root/sys/net
Commit message (Collapse)AuthorAgeFilesLines
* Reduced loopback MTU to 16k to work around a miriad of problems with itdg1995-03-041-2/+2
| | | | | set near or above 32k (likely caused by 16bit signed word overflow). 16k actually (surprizingly) has higher performance than other values I tested.
* New user Process PPP based on iij-ppp0.94beta2.amurai1995-02-262-142/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Supporting SYNC SIO device (But need a device driver) - add "set speed sync" o Fixing bug for Predictor-1 function. o Add new parameter that re-sent interval for set timeout commands. o Improving RTT (Round Trip Time) and reducing processor time. - Previous Timer service was using polling, and now using SIGALRM ;-) - A 0.94beta2 will not work correctly.... -- Follows are additinal feature not including 0.94beta2 o Support Proxy ARP - add "enable/disable proxy" commands o Marging common routine in CHAP/PAP. o Enhancing LCP/IPCP log information. o Support local Authfication connection on port 300x and tty. - You can set up pair of your "hostname -s" and password in ppp.secret. if either ppp.secret file nor your hostname line don't exist, It will notify a message and working as same as previous version.(Backword compatibility) - If you did set up them, It's allow connection but nothing to do except help and passwd command. - add "passwd yourpasswd" commands o Support afilter - keep Alive filter that a packet can send/receiving according to ifilter/ofilter but doesn't count it as preventing idle timer expires. - Same syntax of other filters. o Fixing bugs reported by current user for previous one. Thanks !! Reviewed by: Atsushi Murai (amurai@spec.co.jp)
* Fixed comment - IFT_P80 is 80mbit.dg1995-02-251-2/+2
| | | | Submitted by: frank@fwi.uva.nl (Frank van der Linden)
* In ifa_ifwithdstaddr() when walking through ifa structs associated withdg1995-02-241-2/+2
| | | | | a point-to-point link, don't attempt a comparison if the pointer to the destination sockaddr is NULL (i.e. it has not been set/initialized).
* Attempting to bind() or connect() a routing socket, while meaningless,wollman1995-02-161-3/+7
| | | | | | shouldn't cause a panic. Obtained from: Stevens, vol. 2, p. 667
* Nuke some more compiler warnings, while I'm at it..jkh1995-02-151-16/+16
|
* *close: just purge tty queues if we can't drain themache1995-02-132-4/+6
|
* Define RTF_PINNED for future use.wollman1995-02-081-2/+3
|
* Correct fix for merge conflicts: RTM_VERSION is always 5. Header fileswollman1995-02-071-5/+1
| | | | included by user code must never depend on kernel compile options.
* Fixed unresolved CVS conflict on RTM_VERSION.dg1995-02-071-8/+2
|
* Merge in the socket-level support for Transaction TCP from the OLAH_TTCPwollman1995-02-071-1/+11
| | | | | | branch. Submitted by: Andras Olah <olah@cs.utwente.nl>
* This commit was generated by cvs2svn to compensate for changes in r6053,amurai1995-01-312-0/+687
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * (no commit message)amurai1995-01-312-0/+687
|
* Declare `struct mbuf' with the correct scope to avoid lots of warningsbde1995-01-241-1/+6
| | | | | | for compiling routed... Previously a kernel function pointer that is bogusly visible to applications was incompletely declared to hide the problem.
* Added back the missing last few bytes of the file.dg1995-01-231-2/+3
|
* route.c: keep track of where cloned routes come from, and make sure towollman1995-01-232-9/+65
| | | | | | | | | | | delete them when the ``parent'' goes away route.h: add glue to track this to rtentry structure. WARNING WILL ROBINSON! This will be yet another incompatible change in your route-using binaries. I apologize, but this was the only way to do it. I took this opportunity to increase the size of the metrics to what I believe will be the final length for 2.1, so that when the T/TCP stuff is done, this won't happen again.
* Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>se1995-01-051-1/+2
| | | | | | Reviewed by: <wollman> First hooks and defines for the ISDN driver, that soon will see the light ...
* Moved declaration of ifnet pointer out of the header file and into thedg1994-12-302-3/+5
| | | | .c file where it belongs. Bezeroed some uninitialized malloc data.
* Added `ds', a black-hole network interface.wollman1994-12-221-0/+220
|
* Removed bogus semicolon at end of a #define line.dg1994-12-221-2/+2
|
* Add generic part of generic multiple-physical-interface support (thewollman1994-12-212-2/+15
| | | | successor of IFF_ALTPHYS).
* Add a #define for if_rawoutput(), which isn't used now, but eventually willwollman1994-12-211-1/+2
| | | | be.
* Implemented rtalloc_ign().wollman1994-12-131-0/+10
|
* Add support for two separate cloning flags, one set by the lower layers,wollman1994-12-136-23/+46
| | | | | | | | | | | | | | | | | and one set by the protocol family. Also add another parameter to rtalloc1() to allow for any interface flags to be ignored; currently this is only useful for RTF_PRCLONING. Get rid of rt_prflags and re-unite with rt_flags. Add T/TCP ``route metrics''. NB: YOU MUST RECOMPILE `route' AND OTHER RELATED PROGRAMS AS A RESULT OF THIS CHANGE. This also adds a new interface parameter, `ifi_physical', which will eventually replace IFF_ALTPHYS as the mechanism for specifying the particular physical connection desired on a multiple-connection card. NB: YOU MUST RECOMPILE `ifconfig' AND OTHER RELATED PROGRAMS AS A RESULT OF THIS CHANGE.
* Fix bogus include paths:bde1994-12-041-2/+2
| | | | | <systm.h> is <sys/systm.h>. <kernel.h> is <sys/kernel.h>.
* This commit was generated by cvs2svn to compensate for changes in r4910,wollman1994-12-022-0/+1289
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Cronyx/Sigma sync/async serial driver with PPP supportwollman1994-12-022-0/+1289
| | | | from Serge Vakulenko
* Fix previous change: don't attempt to reserve cblocks if the tty is null.bde1994-11-272-10/+16
|
* Fix cblock starvation bugs by reserving enough cblocks for minimalbde1994-11-262-12/+51
| | | | | | | | | operation of each clist. Limit the growth of each clist. Clists can only grow larger than the reserved minimum if there are free cblocks in a shared pool. The size of this pool is now fixed (this could be improved). The reserved and maximum sizes are more carefully allocated for slip and ppp, depending on the mtu. A maximum MTU of 16384 is now enforced for ppp.
* Moved conversion of ether_type to host byte order out of ethernet driversdg1994-11-241-8/+11
| | | | | | and into ether_input(). It was silly to have bpf want this one way and ether_input want it another way. Ripped out trailer support from the few remaining drivers that still had it.
* The long-time-waited-for patch for PPP.ugen1994-11-231-1/+2
| | | | | See Gene's mail for explanation.. Submitted by: Gene Stark
* #include <socket.h> -> <sys/socket.h>phk1994-11-162-4/+4
|
* Include <sys/socket.h> for declaration of struct sockaddr. This helpsbde1994-11-152-7/+12
| | | | | | genassym compile when KERNEL is not defined. Uniformize idempotency ifdef.
* if.h:bde1994-11-142-6/+10
| | | | | | | | | | Declare a complete prototype for the function pointer *ifa_rtrequest. radix.h: Declare a complete prototype for the function pointer *rnh_walktree and for the function rn_walktree. Uniformize idempotency ifdef.
* Remove redundant stuff. Amazing that they actually solved a bug found inguido1994-11-101-3/+1
| | | | 1.1.5.1, and oversaw this thang.
* Collapse two fields so that we have space for another 32 flags.wollman1994-11-032-3/+10
| | | | | | NB: You will have to recompile programs which use the `rt_use' member in order to get the correct values. This should not cause incorrect operation, but the statistics may look a little confusing.
* Add code to be a bit smarter about IP routes, conditioned on the optionwollman1994-11-022-20/+9
| | | | | IN_RMX. (Eventually this will be standard, but I just wrote the code today and don't want to break anyone.)
* Make it compile again. XXX - this is not really the right way to fixwollman1994-11-011-4/+4
| | | | this problem.
* Make PPP compile cleanlypst1994-11-012-18/+22
|
* moved a message into a #ifdef DEBUG. This message comes out if a kernelphk1994-10-151-1/+3
| | | | | doesn't have any networking in it. For instance the new "MINI" install- kernel.
* Fix a bug which caused panics when attempting to change just the flags ofwollman1994-10-113-5/+44
| | | | | | | | a route. (This still doesn't work, but it doesn't panic now.) It looks like there may be a number of incipient bugs in this code. Also, get ready for the time when all IP gateway routes are cloning, which is necessary to keep proper TCP statistics.
* Got rid of map.h. It's a leftover from the rmap code, and we use rlists.dg1994-10-091-2/+1
| | | | Changed swapmap into swaplist.
* Cosmetics: to silence gcc -wall.phk1994-10-085-30/+44
|
* Mostly Cosmetics. Some of the procedures in if_sl.c was void, but shouldphk1994-10-083-31/+44
| | | | | be int. I made them int, and let them return 0. Will have to find out what the return-val is used for.
* Install line discipline the new way.wollman1994-10-052-15/+19
|
* A number of bug-fixes inspired by Mark Treacy:wollman1994-10-053-10/+32
| | | | | | | | | | | - Allow PPP to run multicasts natively. - Deal properly with lots of similarly-named interfaces. - Don't sign-extend if_flags. NB: the last fix (to rtsock.c) must be reversed when we expand if_flags to a reasonable size. Submitted by: Mark Treacy
* Moved m_copyback into uipc_mbuf.cphk1994-10-041-54/+1
|
* GCC cleanup.phk1994-10-021-4/+9
| | | | | | Reviewed by: Submitted by: Obtained from:
* Define IFF_ALTPHYS to be IFF_LINK2. Gross, but effective. (There aren't anywollman1994-10-011-1/+2
| | | | | more bits left in if_flags and I don't want to make it a long this late in the release cycle.)
* Make the kernel side of PPP compile.wollman1994-09-233-15/+31
|
OpenPOWER on IntegriCloud