chs
f64abc7b4c
add flags arg to hashinit(), to pass to malloc().
1998-02-07 02:44:44 +00:00
mycroft
e76ba36231
Make sure we install the route returned by the upcall before trying to
...
forward any queued packets. From Bill Fenner, via Brad Karp.
1997-08-14 06:42:33 +00:00
christos
5545959d0b
backout previous kprintf changes
1996-10-13 02:03:00 +00:00
christos
6d7ad25bea
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:12:43 +00:00
mrg
4b851a2d9b
remove an unused variable.
1996-09-14 12:35:07 +00:00
mycroft
9bb1acd303
Rework the token bucket filter to use a list of packets rather than a static
...
array. Also, fix several memory leaks. From Bill Fenner.
1996-09-09 17:14:04 +00:00
mycroft
23437fc3d2
Cosmetic changes, some from Bill Fenner.
1996-09-09 17:09:50 +00:00
mycroft
62a6cce9ca
Add in_nullhost() and in_hosteq() macros, to hide some protocol
...
details. Also, fix a bug in TCP wrt SYN+URG packets.
1996-09-09 14:51:07 +00:00
mycroft
865bfae299
Return ENOPROTOOPT rather than picking pseudo-random error values.
...
Don't allow SIOCGET{VIF,SG}CNT from sockets other than the multicast router.
Restructure rip_ctloutput() like ip_ctloutput(), and fix memory leaks.
1996-06-23 12:12:44 +00:00
thorpej
4edabe2501
Changed struct ifnet to have a pointer to the softc of the underlying
...
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 02:40:22 +00:00
christos
2769793c13
Fix printf format args.
1996-03-16 23:53:58 +00:00
christos
14d9cd33af
netinet prototypes
1996-02-13 23:40:59 +00:00
mycroft
5482957905
splnet --> splsoftnet
1995-08-12 23:59:09 +00:00
mycroft
c88cf97b34
Clear the MFC entry's statistical counters when doing an upcall.
1995-06-12 03:05:12 +00:00
mycroft
4906fd756f
Simplify ipip_input() a bit. Don't blow away the vif cache if someone sends
...
us a bogus packet.
1995-06-04 07:38:19 +00:00
mycroft
e30d6fd798
Simply tbf_control() a bit.
1995-06-04 07:20:47 +00:00
mycroft
b8c4ea6580
Eliminate compiler warnings.
1995-06-04 06:55:30 +00:00
mycroft
e201372b7d
For consistency, set sin_len for SIOC{ADD,DEL}MULTI.
1995-06-04 06:46:05 +00:00
mycroft
0a99592372
Clean up many more casts.
1995-06-04 05:06:49 +00:00
mycroft
489f42a2d8
Dynamically allocate the deencapsulation interfaces. Abstract the code to
...
reset a vif into a separate function.
1995-06-02 04:23:05 +00:00
mycroft
eb216fd6c2
Avoid byte-swapping IP addresses at run time.
1995-06-01 21:35:34 +00:00
mycroft
ba9883ec57
Integrate multicast 3.5 distribution, with several bugs fixed and general
...
cleanup. This is a (working) snapshot of work in progress.
1995-05-31 21:50:34 +00:00
cgd
b5b72d26ea
be a bit more careful and explicit with types. (basically a large no-op.)
1995-04-13 06:25:36 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
brezak
669769d3e0
Update to version 2 mrouting; from pre-4.4lite NetBSD + 4.4 mods
1994-06-09 16:01:53 +00:00
mycroft
f130f244e7
Remove a spurious splx().
1994-06-04 08:29:51 +00:00
mycroft
07b4f2ab54
Update to 4.4-Lite networking code, with a few local changes.
1994-05-13 06:02:48 +00:00
mycroft
252495f006
Format police.
1994-02-10 18:46:04 +00:00
mycroft
bf98a55f37
Deprecate af.h.
1994-02-10 17:25:03 +00:00
brezak
8243f1bb37
Fix some cases of NOT dealing with m_pkthdr's. This code is still suspect though, at least this fixes some panics.
1994-01-29 11:57:45 +00:00
brezak
17ea2355b4
Fix some prototype detected warnings/errors.
1994-01-18 03:26:53 +00:00
brezak
38253dddb8
Patch for ip-multicast bugs from mccanne@ee.lbl.gov (Steven McCanne)
1994-01-18 02:36:53 +00:00
mycroft
b79490fcca
Should compile now with or without `options MULTICAST'.
1994-01-10 20:14:14 +00:00
mycroft
222ebaf50e
Prototype the rest.
1994-01-09 01:06:02 +00:00
mycroft
4fe12e6e88
Fix some inconsistent spacing; spaces at the end of lines, etc.
1994-01-08 21:21:28 +00:00
hpeyerl
aa7f3b23a8
multicast support.
...
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-06 04:50:19 +00:00