head 1.4; access; symbols netbsd-10-0-RELEASE:1.4 netbsd-10-0-RC6:1.4 netbsd-10-0-RC5:1.4 netbsd-10-0-RC4:1.4 netbsd-10-0-RC3:1.4 netbsd-10-0-RC2:1.4 thorpej-ifq:1.4.0.36 thorpej-ifq-base:1.4 thorpej-altq-separation:1.4.0.34 thorpej-altq-separation-base:1.4 netbsd-10-0-RC1:1.4 netbsd-10:1.4.0.32 netbsd-10-base:1.4 bouyer-sunxi-drm:1.4.0.30 bouyer-sunxi-drm-base:1.4 netbsd-9-3-RELEASE:1.4 thorpej-i2c-spi-conf2:1.4.0.28 thorpej-i2c-spi-conf2-base:1.4 thorpej-futex2:1.4.0.26 thorpej-futex2-base:1.4 thorpej-cfargs2:1.4.0.24 thorpej-cfargs2-base:1.4 cjep_sun2x-base1:1.4 cjep_sun2x:1.4.0.22 cjep_sun2x-base:1.4 cjep_staticlib_x-base1:1.4 netbsd-9-2-RELEASE:1.4 cjep_staticlib_x:1.4.0.20 cjep_staticlib_x-base:1.4 thorpej-i2c-spi-conf:1.4.0.18 thorpej-i2c-spi-conf-base:1.4 thorpej-cfargs:1.4.0.16 thorpej-cfargs-base:1.4 thorpej-futex:1.4.0.14 thorpej-futex-base:1.4 netbsd-9-1-RELEASE:1.4 bouyer-xenpvh-base2:1.4 phil-wifi-20200421:1.4 bouyer-xenpvh-base1:1.4 phil-wifi-20200411:1.4 bouyer-xenpvh:1.4.0.12 bouyer-xenpvh-base:1.4 is-mlppp:1.4.0.10 is-mlppp-base:1.4 phil-wifi-20200406:1.4 netbsd-8-2-RELEASE:1.3 ad-namecache-base3:1.4 netbsd-9-0-RELEASE:1.4 netbsd-9-0-RC2:1.4 ad-namecache-base2:1.4 ad-namecache-base1:1.4 ad-namecache:1.4.0.8 ad-namecache-base:1.4 netbsd-9-0-RC1:1.4 phil-wifi-20191119:1.4 netbsd-9:1.4.0.6 netbsd-9-base:1.4 phil-wifi-20190609:1.4 netbsd-8-1-RELEASE:1.3 netbsd-8-1-RC1:1.3 isaki-audio2:1.4.0.4 isaki-audio2-base:1.4 pgoyette-compat-merge-20190127:1.3.162.1 pgoyette-compat-20190127:1.4 pgoyette-compat-20190118:1.4 pgoyette-compat-1226:1.4 pgoyette-compat-1126:1.4 pgoyette-compat-1020:1.4 pgoyette-compat-0930:1.4 pgoyette-compat-0906:1.4 netbsd-7-2-RELEASE:1.3 pgoyette-compat-0728:1.4 netbsd-8-0-RELEASE:1.3 phil-wifi:1.4.0.2 phil-wifi-base:1.4 pgoyette-compat-0625:1.4 netbsd-8-0-RC2:1.3 pgoyette-compat-0521:1.4 pgoyette-compat-0502:1.4 pgoyette-compat-0422:1.4 netbsd-8-0-RC1:1.3 pgoyette-compat-0415:1.3 pgoyette-compat-0407:1.3 pgoyette-compat-0330:1.3 pgoyette-compat-0322:1.3 pgoyette-compat-0315:1.3 netbsd-7-1-2-RELEASE:1.3 pgoyette-compat:1.3.0.162 pgoyette-compat-base:1.3 netbsd-7-1-1-RELEASE:1.3 tls-maxphys-base-20171202:1.3 matt-nb8-mediatek:1.3.0.160 matt-nb8-mediatek-base:1.3 nick-nhusb-base-20170825:1.3 perseant-stdc-iso10646:1.3.0.158 perseant-stdc-iso10646-base:1.3 netbsd-8:1.3.0.156 netbsd-8-base:1.3 prg-localcount2-base3:1.3 prg-localcount2-base2:1.3 prg-localcount2-base1:1.3 prg-localcount2:1.3.0.154 prg-localcount2-base:1.3 pgoyette-localcount-20170426:1.3 bouyer-socketcan-base1:1.3 jdolecek-ncq:1.3.0.152 jdolecek-ncq-base:1.3 pgoyette-localcount-20170320:1.3 netbsd-7-1:1.3.0.150 netbsd-7-1-RELEASE:1.3 netbsd-7-1-RC2:1.3 nick-nhusb-base-20170204:1.3 netbsd-7-nhusb-base-20170116:1.3 bouyer-socketcan:1.3.0.148 bouyer-socketcan-base:1.3 pgoyette-localcount-20170107:1.3 netbsd-7-1-RC1:1.3 nick-nhusb-base-20161204:1.3 pgoyette-localcount-20161104:1.3 netbsd-7-0-2-RELEASE:1.3 nick-nhusb-base-20161004:1.3 localcount-20160914:1.3 netbsd-7-nhusb:1.3.0.146 netbsd-7-nhusb-base:1.3 pgoyette-localcount-20160806:1.3 pgoyette-localcount-20160726:1.3 pgoyette-localcount:1.3.0.144 pgoyette-localcount-base:1.3 nick-nhusb-base-20160907:1.3 nick-nhusb-base-20160529:1.3 netbsd-7-0-1-RELEASE:1.3 nick-nhusb-base-20160422:1.3 nick-nhusb-base-20160319:1.3 nick-nhusb-base-20151226:1.3 netbsd-7-0:1.3.0.142 netbsd-7-0-RELEASE:1.3 nick-nhusb-base-20150921:1.3 netbsd-7-0-RC3:1.3 netbsd-7-0-RC2:1.3 netbsd-7-0-RC1:1.3 nick-nhusb-base-20150606:1.3 nick-nhusb-base-20150406:1.3 nick-nhusb:1.3.0.140 nick-nhusb-base:1.3 netbsd-5-2-3-RELEASE:1.3 netbsd-5-1-5-RELEASE:1.3 netbsd-6-0-6-RELEASE:1.3 netbsd-6-1-5-RELEASE:1.3 netbsd-7:1.3.0.138 netbsd-7-base:1.3 yamt-pagecache-base9:1.3 yamt-pagecache-tag8:1.3 netbsd-6-1-4-RELEASE:1.3 netbsd-6-0-5-RELEASE:1.3 tls-earlyentropy:1.3.0.136 tls-earlyentropy-base:1.3 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3 riastradh-drm2-base3:1.3 netbsd-6-1-3-RELEASE:1.3 netbsd-6-0-4-RELEASE:1.3 netbsd-5-2-2-RELEASE:1.3 netbsd-5-1-4-RELEASE:1.3 netbsd-6-1-2-RELEASE:1.3 netbsd-6-0-3-RELEASE:1.3 netbsd-5-2-1-RELEASE:1.3 netbsd-5-1-3-RELEASE:1.3 rmind-smpnet-nbase:1.3 netbsd-6-1-1-RELEASE:1.3 riastradh-drm2-base2:1.3 riastradh-drm2-base1:1.3 riastradh-drm2:1.3.0.134 riastradh-drm2-base:1.3 rmind-smpnet:1.3.0.126 rmind-smpnet-base:1.3 netbsd-6-1:1.3.0.132 netbsd-6-0-2-RELEASE:1.3 netbsd-6-1-RELEASE:1.3 khorben-n900:1.3.0.130 netbsd-6-1-RC4:1.3 netbsd-6-1-RC3:1.3 agc-symver:1.3.0.128 agc-symver-base:1.3 netbsd-6-1-RC2:1.3 netbsd-6-1-RC1:1.3 yamt-pagecache-base8:1.3 netbsd-5-2:1.3.0.124 netbsd-6-0-1-RELEASE:1.3 yamt-pagecache-base7:1.3 netbsd-5-2-RELEASE:1.3 netbsd-5-2-RC1:1.3 matt-nb6-plus-nbase:1.3 yamt-pagecache-base6:1.3 netbsd-6-0:1.3.0.122 netbsd-6-0-RELEASE:1.3 netbsd-6-0-RC2:1.3 tls-maxphys:1.3.0.120 tls-maxphys-base:1.3 matt-nb6-plus:1.3.0.118 matt-nb6-plus-base:1.3 netbsd-6-0-RC1:1.3 jmcneill-usbmp-base10:1.3 yamt-pagecache-base5:1.3 jmcneill-usbmp-base9:1.3 yamt-pagecache-base4:1.3 jmcneill-usbmp-base8:1.3 jmcneill-usbmp-base7:1.3 jmcneill-usbmp-base6:1.3 jmcneill-usbmp-base5:1.3 jmcneill-usbmp-base4:1.3 jmcneill-usbmp-base3:1.3 jmcneill-usbmp-pre-base2:1.3 jmcneill-usbmp-base2:1.3 netbsd-6:1.3.0.116 netbsd-6-base:1.3 netbsd-5-1-2-RELEASE:1.3 netbsd-5-1-1-RELEASE:1.3 jmcneill-usbmp:1.3.0.114 jmcneill-usbmp-base:1.3 jmcneill-audiomp3:1.3.0.112 jmcneill-audiomp3-base:1.3 yamt-pagecache-base3:1.3 yamt-pagecache-base2:1.3 yamt-pagecache:1.3.0.110 yamt-pagecache-base:1.3 rmind-uvmplock-nbase:1.3 cherry-xenmp:1.3.0.108 cherry-xenmp-base:1.3 bouyer-quota2-nbase:1.3 bouyer-quota2:1.3.0.106 bouyer-quota2-base:1.3 jruoho-x86intr:1.3.0.104 jruoho-x86intr-base:1.3 matt-mips64-premerge-20101231:1.3 matt-nb5-mips64-premerge-20101231:1.3 matt-nb5-pq3:1.3.0.102 matt-nb5-pq3-base:1.3 netbsd-5-1:1.3.0.100 netbsd-5-1-RELEASE:1.3 uebayasi-xip-base4:1.3 uebayasi-xip-base3:1.3 yamt-nfs-mp-base11:1.3 netbsd-5-1-RC4:1.3 matt-nb5-mips64-k15:1.3 uebayasi-xip-base2:1.3 yamt-nfs-mp-base10:1.3 netbsd-5-1-RC3:1.3 netbsd-5-1-RC2:1.3 uebayasi-xip-base1:1.3 netbsd-5-1-RC1:1.3 rmind-uvmplock:1.3.0.98 rmind-uvmplock-base:1.3 yamt-nfs-mp-base9:1.3 uebayasi-xip:1.3.0.96 uebayasi-xip-base:1.3 netbsd-5-0-2-RELEASE:1.3 matt-nb5-mips64-premerge-20091211:1.3 matt-premerge-20091211:1.3 yamt-nfs-mp-base8:1.3 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.3 matt-nb4-mips64-k7-u2a-k9b:1.3 matt-nb5-mips64-u1-k1-k5:1.3 yamt-nfs-mp-base7:1.3 matt-nb5-mips64:1.3.0.94 netbsd-5-0-1-RELEASE:1.3 jymxensuspend-base:1.3 yamt-nfs-mp-base6:1.3 yamt-nfs-mp-base5:1.3 yamt-nfs-mp-base4:1.3 jym-xensuspend-nbase:1.3 yamt-nfs-mp-base3:1.3 nick-hppapmap-base4:1.3 nick-hppapmap-base3:1.3 netbsd-5-0:1.3.0.92 netbsd-5-0-RELEASE:1.3 netbsd-5-0-RC4:1.3 netbsd-5-0-RC3:1.3 nick-hppapmap-base2:1.3 netbsd-5-0-RC2:1.3 jym-xensuspend:1.3.0.90 jym-xensuspend-base:1.3 netbsd-5-0-RC1:1.3 haad-dm-base2:1.3 haad-nbase2:1.3 ad-audiomp2:1.3.0.88 ad-audiomp2-base:1.3 netbsd-5:1.3.0.86 netbsd-5-base:1.3 nick-hppapmap:1.3.0.84 nick-hppapmap-base:1.3 matt-mips64-base2:1.3 matt-mips64:1.3.0.82 haad-dm-base1:1.3 wrstuden-revivesa-base-4:1.3 netbsd-4-0-1-RELEASE:1.3 wrstuden-revivesa-base-3:1.3 wrstuden-revivesa-base-2:1.3 wrstuden-fixsa-newbase:1.3 nick-csl-alignment-base5:1.3 haad-dm:1.3.0.80 haad-dm-base:1.3 wrstuden-revivesa-base-1:1.3 simonb-wapbl-nbase:1.3 yamt-pf42-base4:1.3 simonb-wapbl:1.3.0.78 simonb-wapbl-base:1.3 yamt-pf42-base3:1.3 hpcarm-cleanup-nbase:1.3 yamt-pf42-baseX:1.3 yamt-pf42-base2:1.3 yamt-nfs-mp-base2:1.3 wrstuden-revivesa:1.3.0.76 wrstuden-revivesa-base:1.3 yamt-nfs-mp:1.3.0.74 yamt-nfs-mp-base:1.3 yamt-pf42:1.3.0.72 yamt-pf42-base:1.3 ad-socklock-base1:1.3 yamt-lazymbuf-base15:1.3 yamt-lazymbuf-base14:1.3 keiichi-mipv6-nbase:1.3 mjf-devfs2:1.3.0.70 mjf-devfs2-base:1.3 nick-net80211-sync:1.3.0.68 nick-net80211-sync-base:1.3 keiichi-mipv6:1.3.0.66 keiichi-mipv6-base:1.3 bouyer-xeni386-merge1:1.3 matt-armv6-prevmlocking:1.3 wrstuden-fixsa-base-1:1.3 vmlocking2-base3:1.3 netbsd-4-0:1.3.0.64 netbsd-4-0-RELEASE:1.3 bouyer-xeni386-nbase:1.3 yamt-kmem-base3:1.3 cube-autoconf:1.3.0.62 cube-autoconf-base:1.3 yamt-kmem-base2:1.3 bouyer-xeni386:1.3.0.60 bouyer-xeni386-base:1.3 yamt-kmem:1.3.0.58 yamt-kmem-base:1.3 vmlocking2-base2:1.3 reinoud-bufcleanup-nbase:1.3 vmlocking2:1.3.0.56 vmlocking2-base1:1.3 netbsd-4-0-RC5:1.3 matt-nb4-arm:1.3.0.54 matt-nb4-arm-base:1.3 matt-armv6-nbase:1.3 jmcneill-base:1.3 netbsd-4-0-RC4:1.3 mjf-devfs:1.3.0.52 mjf-devfs-base:1.3 bouyer-xenamd64-base2:1.3 vmlocking-nbase:1.3 yamt-x86pmap-base4:1.3 bouyer-xenamd64:1.3.0.50 bouyer-xenamd64-base:1.3 netbsd-4-0-RC3:1.3 yamt-x86pmap-base3:1.3 yamt-x86pmap-base2:1.3 netbsd-4-0-RC2:1.3 yamt-x86pmap:1.3.0.48 yamt-x86pmap-base:1.3 netbsd-4-0-RC1:1.3 matt-armv6:1.3.0.46 matt-armv6-base:1.3 matt-mips64-base:1.3 jmcneill-pm:1.3.0.44 jmcneill-pm-base:1.3 hpcarm-cleanup:1.3.0.42 hpcarm-cleanup-base:1.3 nick-csl-alignment:1.3.0.40 nick-csl-alignment-base:1.3 netbsd-3-1-1-RELEASE:1.2 netbsd-3-0-3-RELEASE:1.2 yamt-idlelwp-base8:1.3 wrstuden-fixsa:1.3.0.38 wrstuden-fixsa-base:1.3 thorpej-atomic:1.3.0.36 thorpej-atomic-base:1.3 reinoud-bufcleanup:1.3.0.34 reinoud-bufcleanup-base:1.3 mjf-ufs-trans:1.3.0.32 mjf-ufs-trans-base:1.3 vmlocking:1.3.0.30 vmlocking-base:1.3 ad-audiomp:1.3.0.28 ad-audiomp-base:1.3 yamt-idlelwp:1.3.0.26 post-newlock2-merge:1.3 newlock2-nbase:1.3 yamt-splraiseipl-base5:1.3 yamt-splraiseipl-base4:1.3 yamt-splraiseipl-base3:1.3 abandoned-netbsd-4-base:1.3 abandoned-netbsd-4:1.3.0.18 netbsd-3-1:1.2.0.14 netbsd-3-1-RELEASE:1.2 netbsd-3-0-2-RELEASE:1.2 yamt-splraiseipl-base2:1.3 netbsd-3-1-RC4:1.2 yamt-splraiseipl:1.3.0.22 yamt-splraiseipl-base:1.3 netbsd-3-1-RC3:1.2 yamt-pdpolicy-base9:1.3 newlock2:1.3.0.20 newlock2-base:1.3 yamt-pdpolicy-base8:1.3 netbsd-3-1-RC2:1.2 netbsd-3-1-RC1:1.2 yamt-pdpolicy-base7:1.3 netbsd-4:1.3.0.24 netbsd-4-base:1.3 yamt-pdpolicy-base6:1.3 chap-midi-nbase:1.3 netbsd-3-0-1-RELEASE:1.2 gdamore-uart:1.3.0.16 gdamore-uart-base:1.3 simonb-timcounters-final:1.3 yamt-pdpolicy-base5:1.3 chap-midi:1.3.0.14 chap-midi-base:1.3 yamt-pdpolicy-base4:1.3 yamt-pdpolicy-base3:1.3 peter-altq-base:1.3 peter-altq:1.3.0.12 yamt-pdpolicy-base2:1.3 elad-kernelauth-base:1.3 elad-kernelauth:1.3.0.10 yamt-pdpolicy:1.3.0.8 yamt-pdpolicy-base:1.3 yamt-uio_vmspace-base5:1.3 simonb-timecounters:1.3.0.6 simonb-timecounters-base:1.3 rpaulo-netinet-merge-pcb:1.3.0.4 rpaulo-netinet-merge-pcb-base:1.3 yamt-uio_vmspace:1.3.0.2 netbsd-3-0:1.2.0.12 netbsd-3-0-RELEASE:1.2 netbsd-3-0-RC6:1.2 yamt-readahead-base3:1.2 netbsd-3-0-RC5:1.2 netbsd-3-0-RC4:1.2 netbsd-3-0-RC3:1.2 yamt-readahead-base2:1.2 netbsd-3-0-RC2:1.2 yamt-readahead-pervnode:1.2 yamt-readahead-perfile:1.2 yamt-readahead:1.2.0.10 yamt-readahead-base:1.2 netbsd-3-0-RC1:1.2 yamt-vop-base3:1.2 netbsd-2-0-3-RELEASE:1.1 netbsd-2-1:1.1.0.16 yamt-vop-base2:1.2 thorpej-vnode-attr:1.2.0.8 thorpej-vnode-attr-base:1.2 netbsd-2-1-RELEASE:1.1 yamt-vop:1.2.0.6 yamt-vop-base:1.2 netbsd-2-1-RC6:1.1 netbsd-2-1-RC5:1.1 netbsd-2-1-RC4:1.1 netbsd-2-1-RC3:1.1 netbsd-2-1-RC2:1.1 netbsd-2-1-RC1:1.1 yamt-lazymbuf:1.2.0.4 yamt-km-base4:1.2 netbsd-2-0-2-RELEASE:1.1 yamt-km-base3:1.2 netbsd-3:1.2.0.2 netbsd-3-base:1.2 yamt-km-base2:1.1 yamt-km:1.1.0.12 yamt-km-base:1.1 kent-audio2:1.1.0.10 kent-audio2-base:1.2 netbsd-2-0-1-RELEASE:1.1 kent-audio1-beforemerge:1.1 netbsd-2:1.1.0.8 netbsd-2-base:1.1 kent-audio1:1.1.0.6 kent-audio1-base:1.1 netbsd-2-0-RELEASE:1.1 netbsd-2-0-RC5:1.1 netbsd-2-0-RC4:1.1 netbsd-2-0-RC3:1.1 netbsd-2-0-RC2:1.1 netbsd-2-0-RC1:1.1 ktrace-lwp-base:1.3 ktrace-lwp:1.1.0.4 netbsd-2-0:1.1.0.2 netbsd-2-0-base:1.1; locks; strict; comment @ * @; 1.4 date 2018.04.19.08.27.38; author maxv; state Exp; branches; next 1.3; commitid ggkwBk57H1OiN1zA; 1.3 date 2005.12.10.23.44.08; author elad; state Exp; branches 1.3.162.1; next 1.2; 1.2 date 2005.02.26.22.45.13; author perry; state Exp; branches 1.2.4.1; next 1.1; 1.1 date 2003.08.13.20.06.49; author jonathan; state Exp; branches 1.1.4.1 1.1.10.1 1.1.12.1; next ; 1.3.162.1 date 2018.04.22.07.20.28; author pgoyette; state Exp; branches; next ; commitid W6xykws0Zbl4kpzA; 1.2.4.1 date 2006.06.21.15.11.24; author yamt; state Exp; branches; next ; 1.1.4.1 date 2003.08.13.20.06.49; author skrll; state dead; branches; next 1.1.4.2; 1.1.4.2 date 2004.08.03.10.55.29; author skrll; state Exp; branches; next 1.1.4.3; 1.1.4.3 date 2004.09.18.14.55.32; author skrll; state Exp; branches; next 1.1.4.4; 1.1.4.4 date 2004.09.21.13.37.48; author skrll; state Exp; branches; next 1.1.4.5; 1.1.4.5 date 2005.03.04.16.53.44; author skrll; state Exp; branches; next 1.1.4.6; 1.1.4.6 date 2005.12.11.10.29.32; author christos; state Exp; branches; next ; 1.1.10.1 date 2005.04.29.11.29.34; author kent; state Exp; branches; next ; 1.1.12.1 date 2005.03.19.08.36.41; author yamt; state Exp; branches; next ; desc @@ 1.4 log @Remove extra long file paths from the headers. @ text @/* $NetBSD: esp.h,v 1.3 2005/12/10 23:44:08 elad Exp $ */ /* $FreeBSD: esp.h,v 1.1.4.1 2003/01/24 05:11:35 sam Exp $ */ /* $KAME: esp.h,v 1.16 2000/10/18 21:28:00 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the project nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ /* * RFC1827/2406 Encapsulated Security Payload. */ #ifndef _NETIPSEC_ESP_H_ #define _NETIPSEC_ESP_H_ struct esp { u_int32_t esp_spi; /* ESP */ /*variable size, 32bit bound*/ /* Initialization Vector */ /*variable size*/ /* Payload data */ /*variable size*/ /* padding */ /*8bit*/ /* pad size */ /*8bit*/ /* next header */ /*8bit*/ /* next header */ /*variable size, 32bit bound*/ /* Authentication data (new IPsec) */ }; struct newesp { u_int32_t esp_spi; /* ESP */ u_int32_t esp_seq; /* Sequence number */ /*variable size*/ /* (IV and) Payload data */ /*variable size*/ /* padding */ /*8bit*/ /* pad size */ /*8bit*/ /* next header */ /*8bit*/ /* next header */ /*variable size, 32bit bound*/ /* Authentication data */ }; struct esptail { u_int8_t esp_padlen; /* pad length */ u_int8_t esp_nxt; /* Next header */ /*variable size, 32bit bound*/ /* Authentication data (new IPsec)*/ }; #define ESP_ALEN 12 /* 96-bit authenticator */ #endif /* !_NETIPSEC_ESP_H_ */ @ 1.3 log @Multiple inclusion protection, as suggested by christos@@ on tech-kern@@ few days ago. @ text @d1 2 a2 2 /* $NetBSD: esp.h,v 1.2 2005/02/26 22:45:13 perry Exp $ */ /* $FreeBSD: src/sys/netipsec/esp.h,v 1.1.4.1 2003/01/24 05:11:35 sam Exp $ */ @ 1.3.162.1 log @Sync with HEAD @ text @d1 2 a2 2 /* $NetBSD: esp.h,v 1.4 2018/04/19 08:27:38 maxv Exp $ */ /* $FreeBSD: esp.h,v 1.1.4.1 2003/01/24 05:11:35 sam Exp $ */ @ 1.2 log @nuke trailing whitespace @ text @d1 1 a1 1 /* $NetBSD: esp.h,v 1.1 2003/08/13 20:06:49 jonathan Exp $ */ d70 1 a70 1 #endif /*_NETIPSEC_ESP_H_*/ @ 1.2.4.1 log @sync with head. @ text @d1 1 a1 1 /* $NetBSD: esp.h,v 1.2 2005/02/26 22:45:13 perry Exp $ */ d70 1 a70 1 #endif /* !_NETIPSEC_ESP_H_ */ @ 1.1 log @Initial import of Sam Leffler's `Fast-IPsec' from FreeBSD 4. Fast-IPsec is a rework of the OpenBSD and KAME IPsec code, using the OpenCryptoFramework (and thus hardware crypto accelerators) and numerous detailed performance improvements. This import is (aside from SPL-level names) the FreeBSD source, imported ``as-is'' as a historical snapshot, for future maintenance and comparison against the FreeBSD source. For now, several minor kernel-API differences are hidden by macros a shim file, ipsec_osdep.h, which (aside from SPL names) can be targeted at either NetBSD or FreeBSD. @ text @d1 1 a1 1 /* $NetBSD:$ */ d68 1 a68 1 @ 1.1.4.1 log @file esp.h was added on branch ktrace-lwp on 2004-08-03 10:55:29 +0000 @ text @d1 70 @ 1.1.4.2 log @Sync with HEAD @ text @a0 70 /* $NetBSD: esp.h,v 1.1.4.1 2004/08/03 10:55:29 skrll Exp $ */ /* $FreeBSD: src/sys/netipsec/esp.h,v 1.1.4.1 2003/01/24 05:11:35 sam Exp $ */ /* $KAME: esp.h,v 1.16 2000/10/18 21:28:00 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the project nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ /* * RFC1827/2406 Encapsulated Security Payload. */ #ifndef _NETIPSEC_ESP_H_ #define _NETIPSEC_ESP_H_ struct esp { u_int32_t esp_spi; /* ESP */ /*variable size, 32bit bound*/ /* Initialization Vector */ /*variable size*/ /* Payload data */ /*variable size*/ /* padding */ /*8bit*/ /* pad size */ /*8bit*/ /* next header */ /*8bit*/ /* next header */ /*variable size, 32bit bound*/ /* Authentication data (new IPsec) */ }; struct newesp { u_int32_t esp_spi; /* ESP */ u_int32_t esp_seq; /* Sequence number */ /*variable size*/ /* (IV and) Payload data */ /*variable size*/ /* padding */ /*8bit*/ /* pad size */ /*8bit*/ /* next header */ /*8bit*/ /* next header */ /*variable size, 32bit bound*/ /* Authentication data */ }; struct esptail { u_int8_t esp_padlen; /* pad length */ u_int8_t esp_nxt; /* Next header */ /*variable size, 32bit bound*/ /* Authentication data (new IPsec)*/ }; #define ESP_ALEN 12 /* 96-bit authenticator */ #endif /*_NETIPSEC_ESP_H_*/ @ 1.1.4.3 log @Sync with HEAD. @ text @d1 1 a1 1 /* $NetBSD: esp.h,v 1.1.4.2 2004/09/18 14:55:32 skrll Exp $ */ @ 1.1.4.4 log @Fix the sync with head I botched. @ text @d1 1 a1 1 /* $NetBSD: esp.h,v 1.1.4.3 2004/09/21 13:37:48 skrll Exp $ */ @ 1.1.4.5 log @Sync with HEAD. Hi Perry! @ text @d1 1 a1 1 /* $NetBSD: esp.h,v 1.1.4.4 2005/03/04 16:53:44 skrll Exp $ */ d68 1 a68 1 @ 1.1.4.6 log @Sync with head. @ text @d1 1 a1 1 /* $NetBSD: esp.h,v 1.1.4.5 2005/12/11 10:29:32 christos Exp $ */ d70 1 a70 1 #endif /* !_NETIPSEC_ESP_H_ */ @ 1.1.10.1 log @sync with -current @ text @d1 1 a1 1 /* $NetBSD: esp.h,v 1.2 2005/02/26 22:45:13 perry Exp $ */ d68 1 a68 1 @ 1.1.12.1 log @sync with head. xen and whitespace. xen part is not finished. @ text @d1 1 a1 1 /* $NetBSD: esp.h,v 1.1 2003/08/13 20:06:49 jonathan Exp $ */ d68 1 a68 1 @