freebsd-skq/sys
Andrey V. Elsukov 61f376155d Remove xform_ipip.c and code related to XF_IP4.
The only thing is used from this code is ipip_output() function, that does
IPIP encapsulation. Other parts of XF_IP4 code were removed in r275133.
Also it isn't possible to configure the use of XF_IP4, nor from userland
via setkey(8), nor from the kernel.

Simplify the ipip_output() function and rename it to ipsec_encap().
* move IP_DF handling from ipsec4_process_packet() into ipsec_encap();
* since ipsec_encap() called from ipsec[64]_process_packet(), it
  is safe to assume that mbuf is contiguous at least to IP header
  for used IP version. Remove all unneeded m_pullup(), m_copydata
  and related checks.
* use V_ip_defttl and V_ip6_defhlim for outer headers;
* use V_ip4_ipsec_ecn and V_ip6_ipsec_ecn for outer headers;
* move all diagnostic messages to the ipsec_encap() callers;
* simplify handling of ipsec_encap() results: if it returns non zero
  value, print diagnostic message and free mbuf.
* some style(9) fixes.

Differential Revision:	https://reviews.freebsd.org/D2303
Reviewed by:	glebius
Sponsored by:	Yandex LLC
2015-04-18 16:38:45 +00:00
..
amd64 Relax the check on which vectors can be delivered through the APIC. According 2015-04-16 22:44:51 +00:00
arm Move the items common to all SoCs to a single file. 2015-04-18 03:07:01 +00:00
arm64 Use the address of fsu_intr_fault, not the first two instructions in it as 2015-04-17 12:58:09 +00:00
boot Add "GELI Passphrase:" prompt to boot loader. 2015-04-16 20:53:15 +00:00
bsm
cam Initialize async_arg_ptr in xpt_async when called with async_code 2015-04-14 16:33:33 +00:00
cddl Remove vfs.zfs.snapshot_list_prefetch, the corresponding code was 2015-04-17 21:21:11 +00:00
compat Remove unused code from linux_mount(), and make it possible to mount 2015-04-18 09:49:09 +00:00
conf Remove xform_ipip.c and code related to XF_IP4. 2015-04-18 16:38:45 +00:00
contrib Move ALTQ from contrib to net/altq. The ALTQ code is for many years 2015-04-16 20:22:40 +00:00
crypto In the version of gcc in the FreeBSD tree, this modification was made to 2015-04-16 17:42:52 +00:00
ddb ddb: ANSI-fy function declarations. 2014-10-12 18:01:52 +00:00
dev Fix French typos in etherswitch. 2015-04-18 07:34:39 +00:00
fs Drop experimental dir_index support. 2015-04-17 22:26:01 +00:00
gdb
geom Remove sleeps from geom_up thread on device destruction. 2015-04-09 13:09:05 +00:00
gnu The GNU Amlogic DTS files have some errors (e.g. bad register 2015-04-11 08:17:39 +00:00
i386 Add config option PAE_TABLES for the i386 kernel. It switches pmap to 2015-04-13 15:22:45 +00:00
isa
kern More accurately collect name-cache statistics in sysctl functions 2015-04-18 00:59:03 +00:00
kgssapi Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
libkern Implement asprintf in libkern 2015-03-01 00:22:16 +00:00
mips Start enabling the available GPIO pins on the Carambola 2. 2015-04-12 00:02:32 +00:00
modules Drop experimental dir_index support. 2015-04-17 22:26:01 +00:00
net Bring in if_types.h from projects/ifnet, where types are 2015-04-17 06:39:15 +00:00
net80211 iwn, wlan: fix typos 2015-04-10 20:55:17 +00:00
netgraph Forgot to add default event mask definition. 2015-04-18 06:16:33 +00:00
netinet Provide functions to determine presence of a given address 2015-04-17 11:57:06 +00:00
netinet6 Fix r281649: don't call in6_clearscope() twice. 2015-04-17 15:26:08 +00:00
netipsec Remove xform_ipip.c and code related to XF_IP4. 2015-04-18 16:38:45 +00:00
netnatm
netpfil Move ALTQ from contrib to net/altq. The ALTQ code is for many years 2015-04-16 20:22:40 +00:00
netsmb
nfs Avoid closing unallocated socket in case socreate fails. 2015-02-28 20:30:29 +00:00
nfsclient Remove some oldnfs remnants. 2015-04-18 16:08:06 +00:00
nfsserver Use M_SIZE() instead of hand-crafted (and mostly correct) NFSMSIZ() macro 2015-01-07 17:22:56 +00:00
nlm Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
ofed fd: remove filedesc argument from fdclose 2015-04-11 15:40:28 +00:00
opencrypto add the define to properly guard this header.. 2015-04-07 09:00:03 +00:00
pc98 Fix kernel build ${MACHINE} path 2015-04-16 22:34:10 +00:00
powerpc Move the 32-bit compatible procfs types from freebsd32.h to <sys/procfs.h> 2015-04-08 16:30:45 +00:00
rpc Remove hard limits on number of accepting NFS connections. 2015-04-07 10:25:27 +00:00
security cred: add proc_set_cred helper 2015-03-16 00:10:03 +00:00
sparc64 Add support for the uart classes to set their default register shift value. 2015-04-11 17:16:23 +00:00
sys Move ALTQ from contrib to net/altq. The ALTQ code is for many years 2015-04-16 20:22:40 +00:00
teken mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00
tools
ufs File systems that do not use the buffer cache (such as ZFS) must 2015-04-15 20:16:31 +00:00
vm Rework r281162. Indeed, the flexible array member is preferable here. 2015-04-12 06:21:58 +00:00
x86 Add config option PAE_TABLES for the i386 kernel. It switches pmap to 2015-04-13 15:22:45 +00:00
xdr
xen Use SYSCTL_OUT_STR() to return strings. 2015-03-14 21:40:24 +00:00
Makefile Remove "pci" from CSCOPEDIRS. 2014-09-23 06:32:19 +00:00