cd8b136e12
in_cksum.h required ip.h to be included for struct ip. To be able to use some general checksum functions like in_addword() in a non-IPv4 context, limit the (also exported to user space) IPv4 specific functions to the times, when the ip.h header is present and IPVERSION is defined (to 4). We should consider more general checksum (updating) functions to also allow easier incremental checksum updates in the L3/4 stack and firewalls, as well as ponder further requirements by certain NIC drivers needing slightly different pseudo values in offloading cases. Thinking in terms of a better "library". Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Reviewed by: gnn (as part of the whole) MFC After: 3 days |
||
---|---|---|
.. | ||
_align.h | ||
_bus.h | ||
_inttypes.h | ||
_limits.h | ||
_stdint.h | ||
_types.h | ||
armreg.h | ||
asm.h | ||
asmacros.h | ||
atomic.h | ||
blockio.h | ||
bootconfig.h | ||
bus_dma.h | ||
bus.h | ||
clock.h | ||
cpu.h | ||
cpuconf.h | ||
cpufunc.h | ||
db_machdep.h | ||
disassem.h | ||
elf.h | ||
endian.h | ||
exec.h | ||
fdt.h | ||
fiq.h | ||
float.h | ||
floatingpoint.h | ||
fp.h | ||
frame.h | ||
gdb_machdep.h | ||
ieee.h | ||
ieeefp.h | ||
in_cksum.h | ||
intr.h | ||
katelib.h | ||
kdb.h | ||
limits.h | ||
machdep.h | ||
md_var.h | ||
memdev.h | ||
metadata.h | ||
minidump.h | ||
ofw_machdep.h | ||
param.h | ||
pcb.h | ||
pcpu.h | ||
pmap.h | ||
pmc_mdep.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
reloc.h | ||
resource.h | ||
runq.h | ||
setjmp.h | ||
sf_buf.h | ||
sigframe.h | ||
signal.h | ||
smp.h | ||
stack.h | ||
stdarg.h | ||
swi.h | ||
sysarch.h | ||
trap.h | ||
ucontext.h | ||
undefined.h | ||
utrap.h | ||
vm.h | ||
vmparam.h |