tsutsui
d779b85d3e
Remove extra whitespace added by a stupid tool.
...
XXX: more in src/sys/arch
2009-04-18 14:58:02 +00:00
cegger
e2cb85904d
bcopy -> memcpy
2009-03-18 17:06:41 +00:00
cegger
c363a9cb62
bzero -> memset
2009-03-18 16:00:08 +00:00
plunky
539d558040
Remove remaining TPCONS code.
...
(The TPCONS kernel option was marked obsolete over a year ago)
2008-04-23 09:57:59 +00:00
dyoung
688ff775ce
Use rtcache_validate() instead of rtcache_getrt().
2008-01-14 04:17:35 +00:00
dyoung
72fa642a86
Poison struct route->ro_rt uses in the kernel by changing the name
...
to _ro_rt. Use rtcache_getrt() to access a route cache's struct
rtentry *.
Introduce struct ifnet->if_dl that always points at the interface
identifier/link-layer address. Make code that treated the first
ifaddr on struct ifnet->if_addrlist as the interface address use
if_dl, instead.
Remove stale debugging code from net/route.c. Move the rtflush()
code into rtcache_clear() and delete rtflush(). Delete rtalloc(),
because nothing uses it any more.
Make ND6_HINT an inline, lowercase subroutine, nd6_hint.
I've done my best to convert IP Filter, the ISO stack, and the
AppleTalk stack to rtcache_getrt(). They compile, but I have not
tested them. I have given the changes to PF, GRE, IPv4 and IPv6
stacks a lot of exercise.
2007-12-20 19:53:29 +00:00
plunky
985d6fdf0b
Do not use insque/remque from libkern; they are about to be removed.
...
As an interim measure while the netiso code is being converted to
use queue(3) macros, define and use our own private equivalent
functions iso_insque/iso_remque.
2007-11-09 21:00:05 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
dogcow
f2d329dca0
remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP.
2006-09-07 02:40:31 +00:00
matt
2c65982795
Make sure any inclusion of <netccitt/*.h> is protected by opt_ccitt.h and
...
CCITT.
2006-08-25 19:46:04 +00:00
christos
5994b27932
compile with no options INET
2005-12-28 09:18:46 +00:00
dsl
d12c019f70
For some peverse reason the ISO code has to have the same template for
...
it's iso_pcbconnect() as the IP stack.
2005-11-16 20:44:19 +00:00
christos
d276a994d2
- sprinkle const
...
- remove unnecessary casts
- change some b*() to mem*()
2005-05-29 21:27:45 +00:00
matt
e50668c7fa
Constify protosw arrays. This can reduce the kernel .data section by
...
over 4K (if all the network protocols) are loaded.
2004-04-22 01:01:40 +00:00
matt
a87928f350
ANSI'fy, de-__P(), and constify some read-only data.
2004-04-19 05:16:45 +00:00
matt
591f26e81f
Use M_ZERO when appropriate
2004-04-18 18:54:03 +00:00
christos
90e1f431ca
adjust to the sbreserve prototype change.
2004-04-17 15:18:53 +00:00
itojun
9ec3d05b38
remove weird #define MNULL/PCBNULL (NULL should do it just fine)
2003-08-11 15:17:29 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
lukem
4f2ad95259
add RCSIDs
2001-11-13 00:56:55 +00:00
thorpej
e45efd967f
Deprecate the "m_act" alias of "m_nextpkt" (m_act is a historical
...
name), and just use m_nextpkt everywhere.
2001-10-18 20:17:24 +00:00
wiz
c52d355d71
"wierd" is weird.
2001-08-20 12:20:01 +00:00
augustss
8529438fe6
Remove register declarations.
2000-03-30 12:51:13 +00:00
jonathan
5c0c5dd0b4
defopt ISO TPIP.
1998-07-05 04:37:35 +00:00
jonathan
8db0fcdbf7
defopt CCITT.
1998-07-05 02:12:22 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +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
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
2d4af9a7f8
netiso prototypes and fixes to get -DTUBA to compile.
1996-02-13 22:07:57 +00:00
mycroft
26c674e349
Allocate PCBs with malloc(), not MGET().
1995-08-16 00:38:53 +00:00
mycroft
3c833d10fc
Clean this up a bit. Use queue.h more; de-uglify casts.
1995-06-13 07:13:14 +00:00
cgd
fccfa11af5
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:39:25 +00:00
mycroft
c427e65091
Update to 4.4-Lite networking code, with a few local changes.
1994-05-13 06:08:03 +00:00
mycroft
95b048b53a
Canonicalize all #includes.
1993-12-18 00:40:47 +00:00
mycroft
f2a8151b46
Move pk_flowcontrol() up and declare it static void.
1993-09-06 18:08:02 +00:00
cgd
b3ab33bca9
file header cleanup and rcsid additions
1993-05-20 05:26:42 +00:00
cgd
db622a7428
added netccitt, netiso, and netns support, from (currently
...
alpha) patch 126
1993-04-09 12:00:07 +00:00