scottr
4cf4807ab0
if_arc.h is in net, not netinet.
1997-03-17 06:45:20 +00:00
is
07b064e02e
New ARP system, supports IPv4 over any hardware link.
...
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.
For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
thorpej
60449c1840
Don't let the read timeout get inadvertently rounded down to 0.
...
From John Hawkinson <jhawk@mit.edu>, PR #2531 .
1997-02-21 23:59:35 +00:00
christos
a1dcf4b026
backout previous kprintf change
1996-10-13 02:10:01 +00:00
christos
10191279fb
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:59:41 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
cgd
d73abf41aa
avoid unnecessary checks of m_get/MGET/etc.'s return values. When
...
they're called with M_WAIT, they are defined to never return NULL.
1996-06-14 22:21:12 +00:00
mycroft
2a94215734
Remove duplicate definition of bpf_setif().
1996-05-22 13:41:54 +00:00
thorpej
527565ac15
Kill a couple of unnecessary calls to strlen().
1996-05-07 05:26:02 +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
7af5cc8190
Eliminate need for and remove net_conf.h
1996-03-30 21:57:30 +00:00
christos
206e75c6f1
Net prototypes
1996-02-13 21:59:53 +00:00
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