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
..
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
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_debug.c
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_ntptime.c Back out previous. 2002-05-03 01:22:30 +00:00
kern_physio.c
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
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
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
Make.tags.inc
Makefile
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
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
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
subr_rmap.c
subr_userconf.c
subr_xxx.c
sys_generic.c
sys_pipe.c
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
sysv_sem.c
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_conf.c
tty_pty.c
tty_subr.c
tty_tb.c
tty_tty.c
tty.c - Fix more and more white space nits. 2002-05-02 13:38:57 +00:00
uipc_domain.c Make domains extern. 2002-05-12 20:36:58 +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_mbuf.c Changes to allow the IPv4 and IPv6 layers to align headers themseves, 2002-06-30 22:40:32 +00:00
uipc_proto.c
uipc_socket2.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_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
vfs_getcwd.c
vfs_init.c
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
vnode_if.c
vnode_if.sh
vnode_if.src