Commit Graph

1500 Commits

Author SHA1 Message Date
isaki
7525ed1e40 Install <net/if_pflog.h>. 2007-01-13 14:13:53 +00:00
cube
7c9cf88351 Add net/if_srt.h [hi mouse!] 2007-01-11 07:05:56 +00:00
elad
190f747fee Add a memoryallocators(9) man-page to give a short summary of memory
allocators available in the kernel.

Tons of input from YAMAMOTO Takashi, thanks!
2007-01-07 15:37:51 +00:00
dbj
6047a69a6e add ./usr/include/x86/cputypes.h 2007-01-02 03:40:03 +00:00
yamt
fa33174966 obsolete /usr/include/nfs/nqnfs.h. 2006-12-27 12:12:11 +00:00
yamt
5d51c3ca27 document splraiseipl and makeiplcookie. 2006-12-21 16:01:13 +00:00
peter
7abc3a4a04 Add zaurus specific distrib lists. 2006-12-17 16:10:13 +00:00
he
23b8d9d582 Correct minor problems I introduced in previous revision: two missing
entries and one wrong file suffix.  Thanks to Jukka Salmi for the patch.
2006-12-15 00:28:53 +00:00
he
0a97c3f688 Complete the move of string_to_flags() and flags_to_string() from the
bin/ls sources to libutil:
 o Bump libutil minor version number
 o Fix uses to include <util.h> to pick up the function definitions
 o Fix most uses of flags_to_string() to release the now-malloc()ed result
2006-12-14 20:09:35 +00:00
dbj
62b8ec502a mark lfs_cleanerd.debug as obsolete 2006-12-13 23:22:29 +00:00
dyoung
c308b1c661 Here are various changes designed to protect against bad IPv4
routing caused by stale route caches (struct route).  Route caches
are sprinkled throughout PCBs, the IP fast-forwarding table, and
IP tunnel interfaces (gre, gif, stf).

Stale IPv6 and ISO route caches will be treated by separate patches.

Thank you to Christoph Badura for suggesting the general approach
to invalidating route caches that I take here.

Here are the details:

Add hooks to struct domain for tracking and for invalidating each
domain's route caches: dom_rtcache, dom_rtflush, and dom_rtflushall.

Introduce helper subroutines, rtflush(ro) for invalidating a route
cache, rtflushall(family) for invalidating all route caches in a
routing domain, and rtcache(ro) for notifying the domain of a new
cached route.

Chain together all IPv4 route caches where ro_rt != NULL.  Provide
in_rtcache() for adding a route to the chain.  Provide in_rtflush()
and in_rtflushall() for invalidating IPv4 route caches.  In
in_rtflush(), set ro_rt to NULL, and remove the route from the
chain.  In in_rtflushall(), walk the chain and remove every route
cache.

In rtrequest1(), call rtflushall() to invalidate route caches when
a route is added.

In gif(4), discard the workaround for stale caches that involves
expiring them every so often.

Replace the pattern 'RTFREE(ro->ro_rt); ro->ro_rt = NULL;' with a
call to rtflush(ro).

Update ipflow_fastforward() and all other users of route caches so
that they expect a cached route, ro->ro_rt, to turn to NULL.

Take care when moving a 'struct route' to rtflush() the source and
to rtcache() the destination.

In domain initializers, use .dom_xxx tags.

KNF here and there.
2006-12-09 05:33:04 +00:00
he
67fd061d1e Properly mark the {v,}syslog_ss entries as obsolete. 2006-11-24 10:58:58 +00:00
rpaulo
5423539f94 New EtherIP driver based on tap(4) and gif(4) by Hans Rosenfeld.
Notable changes:
	* Fixes PR 34268.
	* Separates the code from gif(4) (which is more cleaner).
	* Allows the usage of STP (Spanning Tree Protocol).
	* Removed EtherIP implementation from gif(4)/tap(4).

Some input from Christos.
2006-11-23 04:07:07 +00:00
tnozaki
8033a5b008 1. add iconv support for following encodings:
Chinese Simplefied
        HZ, HZ8 - 7/8bit stateful encoding, see RFC1842,1843. (libHZ)
        zW      - 7bit stateful encoding, see RFC1842. (libZW)
2. add citrus_prop.[ch] - parser for encoding module's init parameter strings.
2006-11-22 23:38:25 +00:00
christos
4ca73ce810 Don't expose _ss functions for 4.0. Requested by core. 2006-11-22 17:23:24 +00:00
christos
ab56b9a702 getdate -> parsedate 2006-11-20 20:33:33 +00:00
christos
55b9633384 Documentation for getdate. 2006-11-17 22:18:48 +00:00
christos
b1d5ffd2bd lfs_cleanerd.debug moved. 2006-11-16 00:50:19 +00:00
tnozaki
79a70a823d 1. add iconv support for followint encoding:
Vietnamese
	TCVN	8bit Viet Nam National Standard
	VISCII	8bit RFC1456
	VIQR	7bit RFC1456(libVIQR)
    Unicode Escape (GNU libiconv compatibility)
	C99, JAVA (libUES)
2. fix iconv_std module:
	add special treatment for POSIX Defect Report #288 case.
2006-11-13 15:16:28 +00:00
dyoung
a25eaede91 Add a source-address selection policy mechanism to the kernel.
Also, add ioctls SIOCGIFADDRPREF/SIOCSIFADDRPREF to get/set preference
numbers for addresses.  Make ifconfig(8) set/display preference
numbers.

To activate source-address selection policies in your kernel, add
'options IPSELSRC' to your kernel configuration.

Miscellaneous changes in support of source-address selection:

        1 Factor out some common code, producing rt_replace_ifa().

        2 Abbreviate a for-loop with TAILQ_FOREACH().

        3 Add the predicates on IPv4 addresses IN_LINKLOCAL() and
          IN_PRIVATE(), that are true for link-local unicast
          (169.254/16) and RFC1918 private addresses, respectively.
          Add the predicate IN_ANY_LOCAL() that is true for link-local
          unicast and multicast.

        4 Add IPv4-specific interface attach/detach routines,
          in_domifattach and in_domifdetach, which build #ifdef
          IPSELSRC.

See in_getifa(9) for a more thorough description of source-address
selection policy.
2006-11-13 05:13:38 +00:00
christos
733988be60 goodbye uucp 2006-11-12 01:24:51 +00:00
he
a29dad4689 Add libssp_pic.a. 2006-11-11 12:06:54 +00:00
he
45c70b2a95 Use the correct file name for the libssp comp-c-proflib entry. 2006-11-11 12:06:34 +00:00
nakayama
d3dbf0b0af Fix prop_send_ioctl.3 keyword to `.man'. 2006-11-11 05:30:50 +00:00
christos
d74c6175d2 add more ssp library files. 2006-11-10 19:43:02 +00:00
pooka
644b5e87f7 puffs manual pages 2006-11-09 01:35:02 +00:00
christos
3f7ee1da36 add ssp stuff. 2006-11-08 20:52:02 +00:00
dbj
e2c201cff5 sort | uniq 2006-11-07 17:49:47 +00:00
dbj
42bc842287 add gkermit.debug 2006-11-07 17:48:21 +00:00
yamt
bf2265fdcd vmem_xalloc/xfree. 2006-11-04 13:00:00 +00:00
yamt
6b5e5df655 sort. 2006-11-04 12:58:06 +00:00
christos
11c53ad61c kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks to
/usr/include from /usr/include/sys. This makes all the one way hash
header handling identical.
2006-10-30 20:22:53 +00:00
christos
7016508581 add sys/sha2.h and sys/rmd160.h 2006-10-28 04:25:54 +00:00
christos
c259a653fb add the _ss versions of syslog(3) functions. 2006-10-27 20:05:27 +00:00
uwe
921ce8b2e0 Add prop_dictionary_{get,set}_bool.[03] (hi, potr). 2006-10-27 01:34:35 +00:00
uwe
0d5d31b4ff Add back setlogmask.3 (hi, christos). 2006-10-27 01:25:58 +00:00
thorpej
1aea07a325 Add prop_array_t support to prop_kern. 2006-10-26 18:51:21 +00:00
thorpej
26d4f90430 - Add prop_dictionary_all_keys(). Takes a snapshot of a dictionary's
keys and returns them in an array.  This effectively allows a caller
  to mutate a dictionary while iterating over it (really, you iterate
  over the array of keys instead of the dictionary itself).
- Add a slew of utility functions that make it more convenient (in some
  circumstances, anyway) to get/set values in a dictionary.
2006-10-26 05:02:12 +00:00
christos
72ea77fc36 add syslog _r functions 2006-10-25 23:51:48 +00:00
pooka
27168fd0cc llib-puffs.ln 2006-10-23 03:23:53 +00:00
pooka
599a6bbb6c libpuffs_pic.a 2006-10-23 03:21:21 +00:00
pooka
298096d245 puffs headers & libs 2006-10-22 22:57:36 +00:00
yamt
03e080a5af document vmem. 2006-10-22 11:20:01 +00:00
yamt
2ab91c7717 sort. 2006-10-22 11:16:58 +00:00
yamt
977e208912 add ecalloc. 2006-10-21 09:36:39 +00:00
tnozaki
2e2fc44e22 add new iconv module libJOHAB,
this supports S.Korean character encoding scheme ``JOHAB''.
2006-10-18 17:54:54 +00:00
christos
9541503cb0 add gpt 2006-10-15 22:42:03 +00:00
dbj
e55a64b8e5 add revoke.debug 2006-10-15 20:44:21 +00:00
tnozaki
65b88fc7e0 PR/30809 added manpages of wcswcs(3) and wcscoll(3), wcsxfrm(3)
(wcs?width and wprintf are already in repository).
2006-10-13 17:28:09 +00:00
he
1d78afbff8 Fix set lists so that prop_number_equals_integer.0 is there as well. 2006-10-13 05:03:50 +00:00