Commit Graph

2267 Commits

Author SHA1 Message Date
itojun 22b473e0f6 during ip6/icmp6 inbound packet processing, do not call log() nor printf() in
normal operation (/var can get filled up by flodding bogus packets).
sysctl net.inet6.icmp6.nd6_debug will turn on diagnostic messages.
(#define ND6_DEBUG will turn it on by default)

improve stats in ND6 code.

lots of synchronziation with kame (including comments and cometic ones).
2001-02-07 08:59:47 +00:00
christos 180360ac44 remove redundant decl 2001-02-04 21:56:11 +00:00
christos df49c4a876 fix nested extern 2001-02-04 21:53:39 +00:00
christos aceee3f06d fix redundant decls 2001-02-04 21:52:02 +00:00
christos 93292f2f1a revert previous change; not needed. 2001-02-04 21:38:34 +00:00
christos abc5ad9724 fix nested extern 2001-02-04 21:38:01 +00:00
christos b9140b5b9f restore needs the rcmd operations. 2001-02-04 21:37:29 +00:00
christos 91a0880aad fix redundant decls 2001-02-04 21:33:19 +00:00
christos 566662ba06 remove redundant declarations 2001-02-04 21:25:54 +00:00
christos 422d686664 fix nested extern and duplicate declarations 2001-02-04 21:19:34 +00:00
christos 3aed6f1e40 avoid redundant declaration 2001-02-04 21:16:59 +00:00
christos a2c613b344 fix nested extern 2001-02-04 21:14:32 +00:00
christos 252e11ea2b fix nested extern. 2001-02-04 21:13:12 +00:00
christos f156d24d3f fix nested extern 2001-02-04 21:11:47 +00:00
christos 55692aa513 remove nested externs. 2001-02-04 21:09:07 +00:00
christos e2571306fb remove redundant prototypes. 2001-02-04 21:05:42 +00:00
christos a84f9073c7 fix nested extern 2001-02-04 20:09:40 +00:00
christos 158632e207 ifix nested extern. 2001-02-04 20:08:24 +00:00
christos 1e41af421a remove redundant declaration 2001-02-04 20:06:51 +00:00
christos f0cf3bcdfb fix nested externs 2001-02-04 20:05:20 +00:00
christos ccc59bf1d7 fix nested extern. While I am here assign copyright to TNF. 2001-02-04 20:04:02 +00:00
christos 8358095fd4 remove redundant declarations and nested externs. 2001-02-04 19:59:37 +00:00
christos ee002727d9 fix nested extern 2001-02-04 19:54:56 +00:00
itojun ad65d3d893 correct recvmsg() validation. 2001-02-04 00:35:20 +00:00
thorpej cab4d17202 Sprinkle some const. 2001-01-28 00:59:26 +00:00
oster 705631a231 Move parts of a RAID type mapping table from rf_layout.c to rf_configure.c.
This means we don't need to compile or link with rf_layout.c here.
2001-01-27 19:32:47 +00:00
itojun 08087050ed support -cloned command line flag.
i don't think anyone ever going to use it.
2001-01-27 04:53:13 +00:00
itojun 6a04f28b13 regen 2001-01-27 04:51:25 +00:00
itojun 16595a06cf add a keyword, cloned 2001-01-27 04:51:17 +00:00
itojun fee00b1a78 mark cloned routes with RTF_CLONED. present it with netstat -r by "c".
let static routes overwrite cloned routes, as cloned routes can come back again
if necessary.  behavior same as freebsd/bsdi, code partially from bsdi42.
(NRL rt->rt_parent was not added)
should fix PR 11916 and maybe some other PRs with ARP behavior.

recompilation of usr.sbin/route6d is suggested.
2001-01-27 04:49:31 +00:00
itojun ad678343e6 support RTF_BLACKHOLE.
XXX route show is total duplicate of netstat -r, we need to either remove
route show, or share the same source code, otherwise maintenance cost
bites (and is biting) us
2001-01-27 04:26:49 +00:00
itojun d9196c1881 remove use of uninitialized route (struct ortentry).
it seems that the bug was born during 4.3reno -> 4.4Lite1 transition.
2001-01-27 03:20:29 +00:00
hubertf 331005f88b Document that there's currently no registry for vendor sysctls.
After discussion with John Hawkinson and Frank van der Linden.
2001-01-26 21:13:23 +00:00
thorpej 9c45d4b02d In pass 5, check alternate superblocks for consistency with
the current in-core master superblock, and fix them up if
they're incorrect.  Move the code that writes the alternate
superblocks if (cvtlevel || doswap) into pass 5 for efficiency.

Reviewd by Charles Hannum, and used by me to fix up a curdled
file system.
2001-01-26 17:37:16 +00:00
itojun e42b253d93 more simpler signal handling. be more friendly with 4.3BSD-ish socket API
(linux/USAGI folks are using the code).  sync with kame.
2001-01-26 13:18:45 +00:00
enami cdf90f8e31 Remove incorrect advice for lint; the control may return from panic(). 2001-01-24 23:14:04 +00:00
garbled b17f8c01fa Fix the usage string so it displays the -b and s options to ifconfig -l 2001-01-24 18:06:51 +00:00
mycroft 1fa165bd82 Fix a rather glaring byte-swapping bug: di_size is 64 bits, not 16. 2001-01-23 02:35:51 +00:00
enami 2efd21a284 If possible, detect more case that file is missing on the tape.
XXX we still may lose if a file of highest inode number requested
XXX to extract was missing or one of multiple dump tape is lost.
2001-01-18 08:59:23 +00:00
fvdl 93beca224d Fix spelling. 2001-01-17 11:58:33 +00:00
fvdl 6129a28444 Document -o linux option. 2001-01-17 11:57:54 +00:00
itojun b3705ee26f unbroken slash notation (10.0.0.0/8) for IPv4. 2001-01-17 06:10:37 +00:00
itojun f3a31dc12d support "prefixlen n" for IPv4 too. 2001-01-17 06:07:32 +00:00
fvdl a7fede800b Add handling of -o linux. 2001-01-17 00:09:54 +00:00
cgd d594ce939b comment or delete text after CPP directives. 2001-01-16 02:50:27 +00:00
cgd 09995c7b56 generated source should include stdlib.h and string.h for prototypes. 2001-01-16 02:37:35 +00:00
itojun 7846de58b2 specify interface by using interface index (set/getsockopt with 0.0.0.0/8). 2001-01-15 13:19:12 +00:00
christos 8ce2d80d7a back out previous; it is better for now to handle the dependencies in
bsd.prog.mk
2001-01-14 09:41:41 +00:00
christos c26e2519ac add .NOTMAIN for good measure. 2001-01-14 09:24:30 +00:00
christos 726afedd26 don't use OBJS in the dependency line because it is not defined yet. 2001-01-14 09:22:01 +00:00