freebsd-skq/sys/i386/include
thompsa d7e928629d Check the alignment of the IP header before passing the packet up to the
packet filter. This would cause a panic on architectures that require strict
alignment such as sparc64 (tier1) and ia64/ppc (tier2).

This adds two new macros that check the alignment, these are compile time
dependent on __NO_STRICT_ALIGNMENT which is set for i386 and amd64 where
alignment isn't need so the cost is avoided.

 IP_HDR_ALIGNED_P()
 IP6_HDR_ALIGNED_P()

Move bridge_ip_checkbasic()/bridge_ip6_checkbasic() up so that the alignment
is checked for ipfw and dummynet too.

PR:		ia64/81284
Obtained from:	NetBSD
Approved by:	re (dwhite), mlaier (mentor)
2005-07-02 23:13:31 +00:00
..
pc
_bus.h
_inttypes.h
_limits.h
_stdint.h
_types.h Check the alignment of the IP header before passing the packet up to the 2005-07-02 23:13:31 +00:00
acpica_machdep.h
apicreg.h
apicvar.h Add IPI support for preempting a thread on another CPU. 2005-06-09 18:23:54 +00:00
apm_bios.h
apm_segments.h
asm.h
asmacros.h
atomic.h
bootinfo.h
bus_dma.h
bus.h Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
clock.h
cpu.h
cpufunc.h Add a knob for disabling/enabling HTT, "machdep.hyperthreading_allowed". 2005-05-13 00:10:56 +00:00
cputypes.h
cserial.h
db_machdep.h
elan_mmcr.h
elf.h
endian.h
exec.h
float.h
floatingpoint.h
frame.h
gdb_machdep.h
i4b_cause.h
i4b_debug.h
i4b_ioctl.h
i4b_rbch_ioctl.h
i4b_tel_ioctl.h
i4b_trace.h
ieeefp.h
if_wl_wavelan.h
in_cksum.h
intr_machdep.h
ioctl_bt848.h
ioctl_meteor.h
iodev.h
kdb.h
legacyvar.h
limits.h
md_var.h Begin promoting the AMD-originated feature flags to first class flags, now 2005-06-30 06:44:34 +00:00
memdev.h
metadata.h
mp_watchdog.h
mptable.h
mutex.h
npx.h - Move the NPX_DEBUG option to options.{i386,pc98} and use opt_npx.h. 2005-05-12 12:47:41 +00:00
param.h
pcaudioio.h
pcb_ext.h
pcb.h
pci_cfgreg.h
pcpu.h
pcvt_ioctl.h
pecoff_machdep.h
perfmon.h
pmap.h Switch AMD64 and i386 platforms to using ELF as their kernel crash 2005-06-29 22:28:46 +00:00
pmc_mdep.h MFP4: 2005-06-09 19:45:09 +00:00
ppireg.h - Move timerreg.h to <arch>/include and split i8253 specific defines into 2005-05-14 09:10:02 +00:00
privatespace.h
proc.h
profile.h
psl.h
ptrace.h Add support for XMM registers in GDB for x86 processors that support 2005-05-31 09:43:04 +00:00
reg.h Add support for XMM registers in GDB for x86 processors that support 2005-05-31 09:43:04 +00:00
reloc.h
resource.h
runq.h
segments.h
setjmp.h
sf_buf.h
sigframe.h
signal.h
smapi.h
smp.h Implement an alternate method to stop CPUs when entering DDB. Normally we use 2005-04-30 20:01:00 +00:00
smptests.h
speaker.h
specialreg.h
stdarg.h
sysarch.h
timerreg.h Change the spkr_set_pitch() function to a macro to fix low level profiling. 2005-05-28 13:40:27 +00:00
trap.h
tss.h
ucontext.h
varargs.h
vm86.h
vmparam.h