explorer
525a0ad7a5
Add hooks to use the kernel random system to generate TCP sequence numbers.
1997-10-10 01:54:32 +00:00
mikel
a1c1c11a40
eliminate non-comment text after #endifs; from Dave Sainty in PR kern/4091
1997-09-08 02:06:30 +00:00
hannken
4d03b30298
Add variable hdroptlen'. See file
netinet/tcp_input.c', Rev. 1.30
...
for details. Closes PR #3922 .
1997-07-28 11:50:05 +00:00
thorpej
7ed16a75d1
Pull SYN_cache_branch down to the main line.
1997-07-23 21:30:11 +00:00
thorpej
a0e791807e
Eliminate use of dtom() from the network code, allowing more flexible
...
use of mbuf external storage and increasing performance (by eliminating
an m_pullup() for clusters in the IP reassembly code).
Changes from Koji Imada <koji@math.human.nagoya-u.ac.jp>, in PR #3628
and #3480 , with ever-so-slight integration changes by me.
1997-06-24 02:25:59 +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
veego
8f03890dff
Cast the printf("%ld", sizeof) in eoniphdr to long.
...
This fix a -Wall error on non alpha systems
1996-11-23 21:13:18 +00:00
cgd
6cc49bedec
fix -Wformat problems
1996-11-13 20:00:15 +00:00
christos
ad67e04154
backout previous kprintf change
1996-10-13 16:50:51 +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
mycroft
dd1088afc1
Catch up with netinet changes.
1996-09-17 16:43:48 +00:00
mycroft
0804856d01
Make sure the control mbufs are freed in all cases.
...
Return ENOPROTOOPT rather than picking pseudo-random error values.
Restructure *_ctloutput() functions to match other protocols.
iso_ifreq and SIOC*_ISO are no longer needed; use the standard versions.
1996-09-08 14:28:08 +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
49d52c9b1c
Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and
...
PRU_CONTROL. The usrreq interface really needs to be split up, but this will have to wait.
Remove SS_PRIV completely.
1996-05-22 13:54:55 +00:00
scottr
64da2bdad9
Include <machine/cpu.h> to get setsoftnet().
...
XXX - We need this for at least amiga and hp300. This change must die,
and is intended as a temporary workaround only.
1996-05-09 22:29:25 +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
261b2f7f02
fix a printf format string
1996-04-22 01:43:45 +00:00
cgd
7e4d04910d
fix screw-up in the prototyping changes: print pointers with %p, NOT
...
by casting them to (unsigned int) then printing with %x.
1996-04-13 01:34:06 +00:00
christos
df16a66658
Make netiso not need netccitt by providing a fake pk_flowcontrol(), as before.
...
Closes PR2263
1996-03-26 22:27:01 +00:00
christos
95b6e29e65
Fix a gazillion incorrect printf usages.
1996-03-16 23:13:45 +00:00
christos
1c2a80cfe3
add another missing prototype with TPCONS is not defined.
1996-02-14 21:32:37 +00:00
christos
2d4af9a7f8
netiso prototypes and fixes to get -DTUBA to compile.
1996-02-13 22:07:57 +00:00
mycroft
201c24de5a
Build a hash table of PCBs. Hash function needs tweaking.
1996-02-02 21:56:34 +00:00
mycroft
3a0d2c6a5b
Add extra arg for in_pcbinit().
1996-02-02 21:47:37 +00:00
cgd
dfad729a16
make netinet work on systems where pointers and longs are 64 bits
...
(like the alpha). Biggest problem: IP headers were overlayed with
structure which included pointers, and which therefore didn't overlay
properly on 64-bit machines. Solution: instead of threading pointers
through IP header overlays, add a "queue element" structure to do
the threading, and point it at the ip headers.
1995-11-21 01:07:34 +00:00
mycroft
c7f52bfe3f
Fix error pointed out by GCC 2.7.
1995-10-16 05:28:58 +00:00
mycroft
873ed30f83
so_pcb should be a void *.
1995-08-17 02:57:20 +00:00
mycroft
26c674e349
Allocate PCBs with malloc(), not MGET().
1995-08-16 00:38:53 +00:00
mycroft
5482957905
splnet --> splsoftnet
1995-08-12 23:59:09 +00:00
mycroft
68735fd022
Encapsulate the test for sending a notification in a macro, sb_notify().
1995-08-04 01:09:57 +00:00
mycroft
10a73abd8b
Initialize iso_ifaddr.
1995-07-27 20:36:14 +00:00
cgd
130c77c5a5
make this compile again, a la pr 1218 from Alistair G. Crooks, as whacked
...
by the style police.
1995-07-12 09:17:06 +00:00
mycroft
4b83f9cc67
Change llinfo_llc to use queue.h.
1995-06-13 08:12:33 +00:00
mycroft
3bcdd7fb97
Replace an insque()/remque() pair I missed.
1995-06-13 08:11:37 +00:00
mycroft
a92b154a68
Touch this up so it compiles again.
1995-06-13 07:58:10 +00:00
mycroft
3c833d10fc
Clean this up a bit. Use queue.h more; de-uglify casts.
1995-06-13 07:13:14 +00:00
mycroft
d2307f3ecb
Update to match data structure changes.
1995-06-13 05:52:42 +00:00
mycroft
e21c61b16f
Remove extra definition of satosin().
1995-06-07 15:21:48 +00:00
mycroft
eb216fd6c2
Avoid byte-swapping IP addresses at run time.
1995-06-01 21:35:34 +00:00
cgd
239425ba96
cast pointers to longs, not ints
1995-04-22 13:29:33 +00:00
cgd
eddc28046e
type changes; fix compiler warning caused by new netinet code
1995-04-15 01:55:45 +00:00
mycroft
8b77f9cd5f
Remove some explicit references to loif.
1995-04-11 04:30:47 +00:00
briggs
6efcd1b6d4
KERNEL -> _KERNEL
1995-03-29 21:57:43 +00:00
jtc
db0046c14d
KERNEL -> _KERNEL
1995-03-28 19:59:56 +00:00
jtc
f76f1f89ad
KERNEL -> _KERNEL
1995-03-26 20:35:13 +00:00
cgd
d4c091877f
cast pointers correctly, ioctl cmds are u_longs, most int \!= long
...
type bogons. two on-inspection fixes.
1995-03-08 02:16:07 +00:00
glass
af55380e5a
remove references to arptnew. fix spelling error
1995-03-06 19:06:05 +00:00
mycroft
d67b084135
Fix compiler warning.
1994-12-13 20:38:52 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00