NetBSD/sys/kern
thorpej 10c252ba47 Changes to allow the IPv4 and IPv6 layers to align headers themseves,
as necessary:
* Implement a new mbuf utility routine, m_copyup(), is is like
  m_pullup(), except that it always prepends and copies, rather
  than only doing so if the desired length is larger than m->m_len.
  m_copyup() also allows an offset into the destination mbuf, which
  allows space for packet headers, in the forwarding case.
* Add *_HDR_ALIGNED_P() macros for IP, IPv6, ICMP, and IGMP.  These
  macros expand to 1 if __NO_STRICT_ALIGNMENT is defined, so that
  architectures which do not have strict alignment constraints don't
  pay for the test or visit the new align-if-needed path.
* Use the new macros to check if a header needs to be aligned, or to
  assert that it already is, as appropriate.

Note: This code is still somewhat experimental.  However, the new
code path won't be visited if individual device drivers continue
to guarantee that packets are delivered to layer 3 already properly
aligned (which are rules that are already in use).
2002-06-30 22:40:32 +00:00
..
Make.tags.inc
Makefile
cnmagic.c
core_elf32.c
core_elf64.c
core_netbsd.c
exec_aout.c
exec_conf.c Native 32-bit and 32-bit emulation are mutually exclusive. We should not 2002-05-31 00:52:20 +00:00
exec_ecoff.c
exec_elf32.c Use "#ifdef __mips__" instead of "#ifdef mips"; shared libraries work 2002-06-03 13:07:00 +00:00
exec_elf64.c
exec_elf_common.c "a.out" -> "elf" in a comment 2002-05-31 16:49:12 +00:00
exec_macho.c
exec_script.c
exec_subr.c
genassym.awk
genassym.sh
genlintstub.awk
init_main.c Niels Provos systrace work, ported to NetBSD by kittenz and reworked... 2002-06-17 16:22:50 +00:00
init_sysent.c Regen. 2002-05-03 00:22:15 +00:00
kern_acct.c
kern_allocsys.c
kern_clock.c We don't need to include <uvm/uvm_extern.h> before <sys/sysctl.h> anymore. 2002-03-17 11:10:43 +00:00
kern_descrip.c sys_fpathconf: Don't panic in the default case; just return EOPNOTSUPP. 2002-06-18 02:04:08 +00:00
kern_exec.c From OpenBSD, via FreeBSD: If a set{u,g}id binary is invoked with fd < 3 2002-04-23 15:11:25 +00:00
kern_exit.c Niels Provos systrace work, ported to NetBSD by kittenz and reworked... 2002-06-17 16:22:50 +00:00
kern_fork.c Niels Provos systrace work, ported to NetBSD by kittenz and reworked... 2002-06-17 16:22:50 +00:00
kern_kthread.c SIMPLEQ rototill: 2002-06-01 23:50:52 +00:00
kern_ktrace.c disallow ktrace on P_SUGID. from openbsd 2002-06-28 01:59:36 +00:00
kern_lkm.c
kern_lock.c Move kernel_lock manipulation info functions so that they will 2002-05-21 01:38:26 +00:00
kern_malloc.c Include opt_malloc_debug.h so that debug_malloc will actually be used 2002-04-03 09:45:22 +00:00
kern_malloc_debug.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
kern_ntptime.c Back out previous. 2002-05-03 01:22:30 +00:00
kern_physio.c allow writing to write-only mappings. fixes PR 3493. 2002-02-14 07:08:02 +00:00
kern_proc.c Use SESSHOLD and SESSRELE consistently. 2002-04-12 17:02:33 +00:00
kern_prot.c
kern_resource.c
kern_sig.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
kern_subr.c Niels Provos systrace work, ported to NetBSD by kittenz and reworked... 2002-06-17 16:22:50 +00:00
kern_synch.c Move kernel_lock manipulation info functions so that they will 2002-05-21 01:38:26 +00:00
kern_sysctl.c Eliminate more commons or redundant declarations. 2002-05-14 02:58:32 +00:00
kern_systrace.c PR/17407: Jim Wise: Systrace does not work without procfs. 2002-06-27 13:22:54 +00:00
kern_time.c Implement the CLOCK_MONOTONIC clock for the posix/opengroup realtime 2002-01-31 00:13:07 +00:00
kern_xxx.c Use the number of args in the sysent rather than calculating it from the 2002-06-19 23:35:35 +00:00
kgdb_stub.c add support for the `D' kgdb detach command 2002-01-05 22:57:38 +00:00
makesyscalls.sh
subr_autoconf.c When searching for devices also skip those deleted by userconf. 2002-04-15 05:30:12 +00:00
subr_disk.c constify diskerr(). 2002-06-28 16:37:20 +00:00
subr_extent.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
subr_log.c Fix the return value of logioctl() for unhandled ioctl; return EPASSTHROUGH 2002-04-28 04:13:51 +00:00
subr_pool.c Move 'struct pool_cache_group' definition into <sys/pool.h> 2002-03-13 10:57:18 +00:00
subr_prf.c provide a db_vprintf() which is exactly what the name suggests 2002-06-05 17:53:52 +00:00
subr_prof.c
subr_prop.c size_t is a long on alpha. I forget whether there's actually a 'best' 2002-03-16 22:44:41 +00:00
subr_rmap.c
subr_userconf.c
subr_xxx.c
sys_generic.c Make sure file descriptor is properly FILE_UNUSE()d in error case 2002-03-22 18:58:59 +00:00
sys_pipe.c Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for 2002-03-17 19:40:26 +00:00
sys_process.c Move code shared by procfs and the kernel proper out of procfs and 2002-05-09 15:44:44 +00:00
sys_socket.c
syscalls.c Regen. 2002-05-03 00:22:16 +00:00
syscalls.conf
syscalls.master Use #if defined(_LP64) to determine if we're generating 64-bit binaries, 2002-05-03 00:20:56 +00:00
sysv_ipc.c
sysv_msg.c Make the debugging printfs compile: 2002-03-05 23:28:58 +00:00
sysv_sem.c use the exithook mechanism to clean up semaphores. 2002-03-17 22:21:58 +00:00
sysv_shm.c Split off the backend of the shmat system call, and find removed segments 2002-04-03 11:53:01 +00:00
tty.c - Fix more and more white space nits. 2002-05-02 13:38:57 +00:00
tty_conf.c Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for 2002-03-17 19:40:26 +00:00
tty_pty.c Print ttyinfo *before* (not after) sending SIGINFO to processes. 2002-03-25 04:26:43 +00:00
tty_subr.c In clalloc(), clear the quoted char bitmap (part of the ring buffer was 2001-12-27 02:27:50 +00:00
tty_tb.c Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for 2002-03-17 19:40:26 +00:00
tty_tty.c
uipc_domain.c Make domains extern. 2002-05-12 20:36:58 +00:00
uipc_mbuf.c Changes to allow the IPv4 and IPv6 layers to align headers themseves, 2002-06-30 22:40:32 +00:00
uipc_mbuf2.c in m_aux_delete, no need to chase beyond victim. from Archie Cobbs, sync w/kame 2002-05-23 05:45:34 +00:00
uipc_proto.c
uipc_socket.c Fix 2 bugs with MSG_WAITALL. The first is to not block forever if one is 2002-06-11 00:21:33 +00:00
uipc_socket2.c
uipc_syscalls.c support setsockopt() with larger data (up to MCLBYTES). 2002-05-31 20:33:11 +00:00
uipc_usrreq.c
vfs_bio.c Eliminate commons. 2002-05-12 23:06:27 +00:00
vfs_cache.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
vfs_getcwd.c
vfs_init.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
vfs_lockf.c
vfs_lookup.c If we're in a chroot, and we are looking up '..', make sure we are 2002-06-21 02:19:12 +00:00
vfs_subr.c Back out rev 1.174 of vfs_subr.c, because the splbio() wasn't protecting 2002-05-23 23:05:25 +00:00
vfs_syscalls.c Don't release the lock on mount point vnode so early when doing update mount. 2002-05-11 00:45:06 +00:00
vfs_vnops.c Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for 2002-03-17 19:40:26 +00:00
vnode_if.c
vnode_if.sh
vnode_if.src