thorpej
e1f1a3a9a7
Enhancements to the bpf from Stu Grossman <grossman@cygnus.com>:
...
* grok FIONBIO, FIOASYNC, and TIOC{G,S}PGRP
* add BIOC{G,S}RSIG; get/set the signal to be delivered
to the process or process group upon packet reception.
Defaults to SIGIO.
1995-09-27 18:30:37 +00:00
mycroft
f174a96f7b
Don't pass through SIOCGIFADDR, per Steve McCanne.
1995-08-13 04:15:38 +00:00
mycroft
5482957905
splnet --> splsoftnet
1995-08-12 23:59:09 +00:00
mycroft
90d6423bcb
For outgoing packets, always allocate a header mbuf and fill it in.
1995-07-23 16:29:47 +00:00
cgd
c7d6aa46d5
copy routines should take size_t lengths for prototype consistency.
...
don't assume that tick is >= 1000; loses badly on alpha (div. by zero)
only try unaligned copies if NetBSD's UNALIGNED_ACCESS symbol is defined.
various misc type size cleanups, mostly short -> int16_t.
1995-04-22 13:26:20 +00:00
mycroft
b468ed3d00
Fix panic when an interface in promiscuous mode goes down and the BPF user
...
tries to turn off promiscuous mode. From Lon Willett.
1995-03-22 16:08:32 +00:00
glass
f634dc196b
preliminary arcnet support. uses lame but RFC address resolution
1995-02-23 07:19:49 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00
cgd
d7fc64af84
don't use inline, use __inline, like cdefs intends (so it can kill it if nongcc
1994-07-15 22:29:22 +00:00
cgd
ef9dc92b8e
this is what cdefs.h is for
1994-06-29 21:23:15 +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
mycroft
d361acde18
Update to 4.4-Lite networking code, with a few local changes.
1994-05-13 06:01:27 +00:00
deraadt
b45332d2b5
new from mccanne. be afraid.
1994-01-25 06:10:08 +00:00
mycroft
b8cc9a5cd2
Get the pkthdr.len calculation right.
1994-01-12 02:45:11 +00:00
deraadt
d553c09639
writing out of bpf; use a hdr mbuf and set the pkthdr.len as well.
...
(rarpd now works with if_ep.c!)
1994-01-12 00:38:50 +00:00
mycroft
95b048b53a
Canonicalize all #includes.
1993-12-18 00:40:47 +00:00
cgd
9e078d7394
defines change
1993-11-23 04:51:25 +00:00
deraadt
5c7d4e081c
add bpfilterattach(), as in magnum
1993-11-15 09:56:46 +00:00
cgd
8d6c77881c
make kernel select interface be one-stop shopping & clean it all up.
1993-05-18 18:18:40 +00:00
glass
696d0f1953
fixes stupid piece of bpf code that duplicates cdefs.h's handling of
...
'inline' in such a way as to cause stupid warnings.
1993-04-09 11:02:51 +00:00
deraadt
d64d6e2c56
selwakeup() takes a "pid_t" rather than "struct proc *" now.
1993-04-05 22:04:09 +00:00
cgd
73119bc337
added BPF support, as provided by David Greenman (davidg@implode.rain.com)
1993-03-25 00:27:49 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00