head 1.27; access; symbols netbsd-10-0-RELEASE:1.27 netbsd-10-0-RC6:1.27 netbsd-10-0-RC5:1.27 netbsd-10-0-RC4:1.27 netbsd-10-0-RC3:1.27 netbsd-10-0-RC2:1.27 thorpej-ifq:1.27.0.52 thorpej-ifq-base:1.27 thorpej-altq-separation:1.27.0.50 thorpej-altq-separation-base:1.27 netbsd-10-0-RC1:1.27 netbsd-10:1.27.0.48 netbsd-10-base:1.27 bouyer-sunxi-drm:1.27.0.46 bouyer-sunxi-drm-base:1.27 netbsd-9-3-RELEASE:1.27 thorpej-i2c-spi-conf2:1.27.0.44 thorpej-i2c-spi-conf2-base:1.27 thorpej-futex2:1.27.0.42 thorpej-futex2-base:1.27 thorpej-cfargs2:1.27.0.40 thorpej-cfargs2-base:1.27 cjep_sun2x-base1:1.27 cjep_sun2x:1.27.0.38 cjep_sun2x-base:1.27 cjep_staticlib_x-base1:1.27 netbsd-9-2-RELEASE:1.27 cjep_staticlib_x:1.27.0.36 cjep_staticlib_x-base:1.27 thorpej-i2c-spi-conf:1.27.0.34 thorpej-i2c-spi-conf-base:1.27 thorpej-cfargs:1.27.0.32 thorpej-cfargs-base:1.27 thorpej-futex:1.27.0.30 thorpej-futex-base:1.27 netbsd-9-1-RELEASE:1.27 bouyer-xenpvh-base2:1.27 phil-wifi-20200421:1.27 bouyer-xenpvh-base1:1.27 phil-wifi-20200411:1.27 bouyer-xenpvh:1.27.0.28 bouyer-xenpvh-base:1.27 is-mlppp:1.27.0.26 is-mlppp-base:1.27 phil-wifi-20200406:1.27 netbsd-8-2-RELEASE:1.27 ad-namecache-base3:1.27 netbsd-9-0-RELEASE:1.27 netbsd-9-0-RC2:1.27 ad-namecache-base2:1.27 ad-namecache-base1:1.27 ad-namecache:1.27.0.24 ad-namecache-base:1.27 netbsd-9-0-RC1:1.27 phil-wifi-20191119:1.27 netbsd-9:1.27.0.22 netbsd-9-base:1.27 phil-wifi-20190609:1.27 netbsd-8-1-RELEASE:1.27 netbsd-8-1-RC1:1.27 isaki-audio2:1.27.0.20 isaki-audio2-base:1.27 pgoyette-compat-merge-20190127:1.27 pgoyette-compat-20190127:1.27 pgoyette-compat-20190118:1.27 pgoyette-compat-1226:1.27 pgoyette-compat-1126:1.27 pgoyette-compat-1020:1.27 pgoyette-compat-0930:1.27 pgoyette-compat-0906:1.27 netbsd-7-2-RELEASE:1.25 pgoyette-compat-0728:1.27 netbsd-8-0-RELEASE:1.27 phil-wifi:1.27.0.18 phil-wifi-base:1.27 pgoyette-compat-0625:1.27 netbsd-8-0-RC2:1.27 pgoyette-compat-0521:1.27 pgoyette-compat-0502:1.27 pgoyette-compat-0422:1.27 netbsd-8-0-RC1:1.27 pgoyette-compat-0415:1.27 pgoyette-compat-0407:1.27 pgoyette-compat-0330:1.27 pgoyette-compat-0322:1.27 pgoyette-compat-0315:1.27 netbsd-7-1-2-RELEASE:1.25 pgoyette-compat:1.27.0.16 pgoyette-compat-base:1.27 netbsd-7-1-1-RELEASE:1.25 tls-maxphys-base-20171202:1.27 matt-nb8-mediatek:1.27.0.14 matt-nb8-mediatek-base:1.27 nick-nhusb-base-20170825:1.27 perseant-stdc-iso10646:1.27.0.12 perseant-stdc-iso10646-base:1.27 netbsd-8:1.27.0.10 netbsd-8-base:1.27 prg-localcount2-base3:1.27 prg-localcount2-base2:1.27 prg-localcount2-base1:1.27 prg-localcount2:1.27.0.8 prg-localcount2-base:1.27 pgoyette-localcount-20170426:1.27 bouyer-socketcan-base1:1.27 jdolecek-ncq:1.27.0.6 jdolecek-ncq-base:1.27 pgoyette-localcount-20170320:1.27 netbsd-7-1:1.25.0.50 netbsd-7-1-RELEASE:1.25 netbsd-7-1-RC2:1.25 nick-nhusb-base-20170204:1.27 netbsd-7-nhusb-base-20170116:1.25 bouyer-socketcan:1.27.0.4 bouyer-socketcan-base:1.27 pgoyette-localcount-20170107:1.27 netbsd-7-1-RC1:1.25 nick-nhusb-base-20161204:1.27 pgoyette-localcount-20161104:1.27 netbsd-7-0-2-RELEASE:1.25 nick-nhusb-base-20161004:1.27 localcount-20160914:1.27 netbsd-7-nhusb:1.25.0.48 netbsd-7-nhusb-base:1.25 pgoyette-localcount-20160806:1.27 pgoyette-localcount-20160726:1.27 pgoyette-localcount:1.27.0.2 pgoyette-localcount-base:1.27 nick-nhusb-base-20160907:1.27 nick-nhusb-base-20160529:1.27 netbsd-7-0-1-RELEASE:1.25 nick-nhusb-base-20160422:1.27 nick-nhusb-base-20160319:1.27 nick-nhusb-base-20151226:1.27 netbsd-7-0:1.25.0.46 netbsd-7-0-RELEASE:1.25 nick-nhusb-base-20150921:1.27 netbsd-7-0-RC3:1.25 netbsd-7-0-RC2:1.25 netbsd-7-0-RC1:1.25 nick-nhusb-base-20150606:1.25 nick-nhusb-base-20150406:1.25 nick-nhusb:1.25.0.44 nick-nhusb-base:1.25 netbsd-5-2-3-RELEASE:1.23 netbsd-5-1-5-RELEASE:1.23 netbsd-6-0-6-RELEASE:1.25 netbsd-6-1-5-RELEASE:1.25 netbsd-7:1.25.0.42 netbsd-7-base:1.25 yamt-pagecache-base9:1.25 yamt-pagecache-tag8:1.25 netbsd-6-1-4-RELEASE:1.25 netbsd-6-0-5-RELEASE:1.25 tls-earlyentropy:1.25.0.40 tls-earlyentropy-base:1.25 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.25 riastradh-drm2-base3:1.25 netbsd-6-1-3-RELEASE:1.25 netbsd-6-0-4-RELEASE:1.25 netbsd-5-2-2-RELEASE:1.23 netbsd-5-1-4-RELEASE:1.23 netbsd-6-1-2-RELEASE:1.25 netbsd-6-0-3-RELEASE:1.25 netbsd-5-2-1-RELEASE:1.23 netbsd-5-1-3-RELEASE:1.23 rmind-smpnet-nbase:1.25 netbsd-6-1-1-RELEASE:1.25 riastradh-drm2-base2:1.25 riastradh-drm2-base1:1.25 riastradh-drm2:1.25.0.38 riastradh-drm2-base:1.25 rmind-smpnet:1.25.0.30 rmind-smpnet-base:1.25 netbsd-6-1:1.25.0.36 netbsd-6-0-2-RELEASE:1.25 netbsd-6-1-RELEASE:1.25 khorben-n900:1.25.0.34 netbsd-6-1-RC4:1.25 netbsd-6-1-RC3:1.25 agc-symver:1.25.0.32 agc-symver-base:1.25 netbsd-6-1-RC2:1.25 netbsd-6-1-RC1:1.25 yamt-pagecache-base8:1.25 netbsd-5-2:1.23.0.96 netbsd-6-0-1-RELEASE:1.25 yamt-pagecache-base7:1.25 netbsd-5-2-RELEASE:1.23 netbsd-5-2-RC1:1.23 matt-nb6-plus-nbase:1.25 yamt-pagecache-base6:1.25 netbsd-6-0:1.25.0.28 netbsd-6-0-RELEASE:1.25 netbsd-6-0-RC2:1.25 tls-maxphys:1.25.0.26 tls-maxphys-base:1.25 matt-nb6-plus:1.25.0.24 matt-nb6-plus-base:1.25 netbsd-6-0-RC1:1.25 jmcneill-usbmp-base10:1.25 yamt-pagecache-base5:1.25 jmcneill-usbmp-base9:1.25 yamt-pagecache-base4:1.25 jmcneill-usbmp-base8:1.25 jmcneill-usbmp-base7:1.25 jmcneill-usbmp-base6:1.25 jmcneill-usbmp-base5:1.25 jmcneill-usbmp-base4:1.25 jmcneill-usbmp-base3:1.25 jmcneill-usbmp-pre-base2:1.25 jmcneill-usbmp-base2:1.25 netbsd-6:1.25.0.22 netbsd-6-base:1.25 netbsd-5-1-2-RELEASE:1.23 netbsd-5-1-1-RELEASE:1.23 jmcneill-usbmp:1.25.0.20 jmcneill-usbmp-base:1.25 jmcneill-audiomp3:1.25.0.18 jmcneill-audiomp3-base:1.25 yamt-pagecache-base3:1.25 yamt-pagecache-base2:1.25 yamt-pagecache:1.25.0.16 yamt-pagecache-base:1.25 rmind-uvmplock-nbase:1.25 cherry-xenmp:1.25.0.14 cherry-xenmp-base:1.25 bouyer-quota2-nbase:1.25 bouyer-quota2:1.25.0.12 bouyer-quota2-base:1.25 jruoho-x86intr:1.25.0.10 jruoho-x86intr-base:1.25 matt-mips64-premerge-20101231:1.25 matt-nb5-mips64-premerge-20101231:1.23 matt-nb5-pq3:1.23.0.94 matt-nb5-pq3-base:1.23 netbsd-5-1:1.23.0.92 netbsd-5-1-RELEASE:1.23 uebayasi-xip-base4:1.25 uebayasi-xip-base3:1.25 yamt-nfs-mp-base11:1.25 netbsd-5-1-RC4:1.23 matt-nb5-mips64-k15:1.23 uebayasi-xip-base2:1.25 yamt-nfs-mp-base10:1.25 netbsd-5-1-RC3:1.23 netbsd-5-1-RC2:1.23 uebayasi-xip-base1:1.25 netbsd-5-1-RC1:1.23 rmind-uvmplock:1.25.0.8 rmind-uvmplock-base:1.25 yamt-nfs-mp-base9:1.25 uebayasi-xip:1.25.0.6 uebayasi-xip-base:1.25 netbsd-5-0-2-RELEASE:1.23 matt-nb5-mips64-premerge-20091211:1.23 matt-premerge-20091211:1.25 yamt-nfs-mp-base8:1.25 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.23 matt-nb4-mips64-k7-u2a-k9b:1.23 matt-nb5-mips64-u1-k1-k5:1.23 yamt-nfs-mp-base7:1.25 matt-nb5-mips64:1.23.0.90 netbsd-5-0-1-RELEASE:1.23 jymxensuspend-base:1.25 yamt-nfs-mp-base6:1.25 yamt-nfs-mp-base5:1.25 yamt-nfs-mp-base4:1.25 jym-xensuspend-nbase:1.25 yamt-nfs-mp-base3:1.25 nick-hppapmap-base4:1.25 nick-hppapmap-base3:1.25 netbsd-5-0:1.23.0.88 netbsd-5-0-RELEASE:1.23 netbsd-5-0-RC4:1.23 netbsd-5-0-RC3:1.23 nick-hppapmap-base2:1.25 netbsd-5-0-RC2:1.23 jym-xensuspend:1.25.0.4 jym-xensuspend-base:1.25 netbsd-5-0-RC1:1.23 haad-dm-base2:1.25 haad-nbase2:1.25 ad-audiomp2:1.25.0.2 ad-audiomp2-base:1.25 netbsd-5:1.23.0.86 netbsd-5-base:1.23 nick-hppapmap:1.23.0.84 nick-hppapmap-base:1.25 matt-mips64-base2:1.23 matt-mips64:1.23.0.82 haad-dm-base1:1.23 wrstuden-revivesa-base-4:1.23 netbsd-4-0-1-RELEASE:1.23 wrstuden-revivesa-base-3:1.23 wrstuden-revivesa-base-2:1.23 wrstuden-fixsa-newbase:1.23 nick-csl-alignment-base5:1.23 haad-dm:1.23.0.80 haad-dm-base:1.25 wrstuden-revivesa-base-1:1.23 simonb-wapbl-nbase:1.23 yamt-pf42-base4:1.23 simonb-wapbl:1.23.0.78 simonb-wapbl-base:1.23 yamt-pf42-base3:1.23 hpcarm-cleanup-nbase:1.23 yamt-pf42-baseX:1.23 yamt-pf42-base2:1.23 yamt-nfs-mp-base2:1.23 wrstuden-revivesa:1.23.0.76 wrstuden-revivesa-base:1.23 yamt-nfs-mp:1.23.0.74 yamt-nfs-mp-base:1.23 yamt-pf42:1.23.0.72 yamt-pf42-base:1.23 ad-socklock-base1:1.23 yamt-lazymbuf-base15:1.23 yamt-lazymbuf-base14:1.23 keiichi-mipv6-nbase:1.23 mjf-devfs2:1.23.0.70 mjf-devfs2-base:1.25 nick-net80211-sync:1.23.0.68 nick-net80211-sync-base:1.23 keiichi-mipv6:1.23.0.66 keiichi-mipv6-base:1.23 bouyer-xeni386-merge1:1.23 matt-armv6-prevmlocking:1.23 wrstuden-fixsa-base-1:1.23 vmlocking2-base3:1.23 netbsd-4-0:1.23.0.64 netbsd-4-0-RELEASE:1.23 bouyer-xeni386-nbase:1.23 yamt-kmem-base3:1.23 cube-autoconf:1.23.0.62 cube-autoconf-base:1.23 yamt-kmem-base2:1.23 bouyer-xeni386:1.23.0.60 bouyer-xeni386-base:1.23 yamt-kmem:1.23.0.58 yamt-kmem-base:1.23 vmlocking2-base2:1.23 reinoud-bufcleanup-nbase:1.23 vmlocking2:1.23.0.56 vmlocking2-base1:1.23 netbsd-4-0-RC5:1.23 matt-nb4-arm:1.23.0.54 matt-nb4-arm-base:1.23 matt-armv6-nbase:1.23 jmcneill-base:1.23 netbsd-4-0-RC4:1.23 mjf-devfs:1.23.0.52 mjf-devfs-base:1.23 bouyer-xenamd64-base2:1.23 vmlocking-nbase:1.23 yamt-x86pmap-base4:1.23 bouyer-xenamd64:1.23.0.50 bouyer-xenamd64-base:1.23 netbsd-4-0-RC3:1.23 yamt-x86pmap-base3:1.23 yamt-x86pmap-base2:1.23 netbsd-4-0-RC2:1.23 yamt-x86pmap:1.23.0.48 yamt-x86pmap-base:1.23 netbsd-4-0-RC1:1.23 matt-armv6:1.23.0.46 matt-armv6-base:1.23 matt-mips64-base:1.23 jmcneill-pm:1.23.0.44 jmcneill-pm-base:1.23 hpcarm-cleanup:1.23.0.42 hpcarm-cleanup-base:1.23 nick-csl-alignment:1.23.0.40 nick-csl-alignment-base:1.23 netbsd-3-1-1-RELEASE:1.21 netbsd-3-0-3-RELEASE:1.21 yamt-idlelwp-base8:1.23 wrstuden-fixsa:1.23.0.38 wrstuden-fixsa-base:1.23 thorpej-atomic:1.23.0.36 thorpej-atomic-base:1.23 reinoud-bufcleanup:1.23.0.34 reinoud-bufcleanup-base:1.23 mjf-ufs-trans:1.23.0.32 mjf-ufs-trans-base:1.23 vmlocking:1.23.0.30 vmlocking-base:1.23 ad-audiomp:1.23.0.28 ad-audiomp-base:1.23 yamt-idlelwp:1.23.0.26 post-newlock2-merge:1.23 newlock2-nbase:1.23 yamt-splraiseipl-base5:1.23 yamt-splraiseipl-base4:1.23 yamt-splraiseipl-base3:1.23 abandoned-netbsd-4-base:1.23 abandoned-netbsd-4:1.23.0.18 netbsd-3-1:1.21.0.28 netbsd-3-1-RELEASE:1.21 netbsd-3-0-2-RELEASE:1.21 yamt-splraiseipl-base2:1.23 netbsd-3-1-RC4:1.21 yamt-splraiseipl:1.23.0.22 yamt-splraiseipl-base:1.23 netbsd-3-1-RC3:1.21 yamt-pdpolicy-base9:1.23 newlock2:1.23.0.20 newlock2-base:1.23 yamt-pdpolicy-base8:1.23 netbsd-3-1-RC2:1.21 netbsd-3-1-RC1:1.21 yamt-pdpolicy-base7:1.23 netbsd-4:1.23.0.24 netbsd-4-base:1.23 yamt-pdpolicy-base6:1.23 chap-midi-nbase:1.23 netbsd-3-0-1-RELEASE:1.21 gdamore-uart:1.23.0.16 gdamore-uart-base:1.23 simonb-timcounters-final:1.23 yamt-pdpolicy-base5:1.23 chap-midi:1.23.0.14 chap-midi-base:1.23 yamt-pdpolicy-base4:1.23 yamt-pdpolicy-base3:1.23 peter-altq-base:1.23 peter-altq:1.23.0.12 yamt-pdpolicy-base2:1.23 elad-kernelauth-base:1.23 elad-kernelauth:1.23.0.10 yamt-pdpolicy:1.23.0.8 yamt-pdpolicy-base:1.23 yamt-uio_vmspace-base5:1.23 simonb-timecounters:1.23.0.6 simonb-timecounters-base:1.23 rpaulo-netinet-merge-pcb:1.23.0.4 rpaulo-netinet-merge-pcb-base:1.23 yamt-uio_vmspace:1.23.0.2 netbsd-3-0:1.21.0.26 netbsd-3-0-RELEASE:1.21 netbsd-3-0-RC6:1.21 yamt-readahead-base3:1.21 netbsd-3-0-RC5:1.21 netbsd-3-0-RC4:1.21 netbsd-3-0-RC3:1.21 yamt-readahead-base2:1.21 netbsd-3-0-RC2:1.21 yamt-readahead-pervnode:1.21 yamt-readahead-perfile:1.21 yamt-readahead:1.21.0.24 yamt-readahead-base:1.21 netbsd-3-0-RC1:1.21 yamt-vop-base3:1.21 netbsd-2-0-3-RELEASE:1.21 netbsd-2-1:1.21.0.22 yamt-vop-base2:1.21 thorpej-vnode-attr:1.21.0.20 thorpej-vnode-attr-base:1.21 netbsd-2-1-RELEASE:1.21 yamt-vop:1.21.0.18 yamt-vop-base:1.21 netbsd-2-1-RC6:1.21 netbsd-2-1-RC5:1.21 netbsd-2-1-RC4:1.21 netbsd-2-1-RC3:1.21 netbsd-2-1-RC2:1.21 netbsd-2-1-RC1:1.21 yamt-lazymbuf:1.21.0.16 yamt-km-base4:1.21 netbsd-2-0-2-RELEASE:1.21 yamt-km-base3:1.21 netbsd-3:1.21.0.14 netbsd-3-base:1.21 yamt-km-base2:1.21 yamt-km:1.21.0.10 yamt-km-base:1.21 kent-audio2:1.21.0.8 kent-audio2-base:1.21 netbsd-2-0-1-RELEASE:1.21 kent-audio1-beforemerge:1.21 netbsd-2:1.21.0.6 netbsd-2-base:1.21 kent-audio1:1.21.0.4 kent-audio1-base:1.21 netbsd-2-0-RELEASE:1.21 netbsd-2-0-RC5:1.21 netbsd-2-0-RC4:1.21 netbsd-2-0-RC3:1.21 netbsd-2-0-RC2:1.21 netbsd-2-0-RC1:1.21 netbsd-2-0:1.21.0.2 netbsd-2-0-base:1.21 netbsd-1-6-PATCH002-RELEASE:1.18 netbsd-1-6-PATCH002:1.18 netbsd-1-6-PATCH002-RC4:1.18 netbsd-1-6-PATCH002-RC3:1.18 netbsd-1-6-PATCH002-RC2:1.18 netbsd-1-6-PATCH002-RC1:1.18 ktrace-lwp:1.19.0.6 ktrace-lwp-base:1.22 netbsd-1-6-PATCH001:1.18 netbsd-1-6-PATCH001-RELEASE:1.18 netbsd-1-6-PATCH001-RC3:1.18 netbsd-1-6-PATCH001-RC2:1.18 netbsd-1-6-PATCH001-RC1:1.18 nathanw_sa_end:1.18.2.1 nathanw_sa_before_merge:1.19 fvdl_fs64_base:1.19 gmcgarry_ctxsw:1.19.0.4 gmcgarry_ctxsw_base:1.19 gmcgarry_ucred:1.19.0.2 gmcgarry_ucred_base:1.19 nathanw_sa_base:1.19 kqueue-aftermerge:1.19 kqueue-beforemerge:1.19 netbsd-1-6-RELEASE:1.18 netbsd-1-6-RC3:1.18 netbsd-1-6-RC2:1.18 netbsd-1-6-RC1:1.18 netbsd-1-6:1.18.0.18 netbsd-1-6-base:1.18 gehenna-devsw:1.18.0.16 gehenna-devsw-base:1.19 netbsd-1-5-PATCH003:1.17 eeh-devprop:1.18.0.14 eeh-devprop-base:1.18 newlock:1.18.0.12 newlock-base:1.18 ifpoll-base:1.18 thorpej-mips-cache:1.18.0.8 thorpej-mips-cache-base:1.18 thorpej-devvp-base3:1.18 thorpej-devvp-base2:1.18 post-chs-ubcperf:1.18 pre-chs-ubcperf:1.18 thorpej-devvp:1.18.0.6 thorpej-devvp-base:1.18 netbsd-1-5-PATCH002:1.17 kqueue:1.18.0.4 kqueue-base:1.19 netbsd-1-5-PATCH001:1.17 thorpej_scsipi_beforemerge:1.18 nathanw_sa:1.18.0.2 thorpej_scsipi_nbase:1.18 netbsd-1-5-RELEASE:1.17 netbsd-1-5-BETA2:1.17 netbsd-1-5-BETA:1.17 netbsd-1-4-PATCH003:1.15 netbsd-1-5-ALPHA2:1.17 netbsd-1-5:1.17.0.12 netbsd-1-5-base:1.17 minoura-xpg4dl-base:1.17 minoura-xpg4dl:1.17.0.10 netbsd-1-4-PATCH002:1.15 chs-ubc2-newbase:1.17 wrstuden-devbsize-19991221:1.17 wrstuden-devbsize:1.17.0.8 wrstuden-devbsize-base:1.17 kame_141_19991130:1.15 comdex-fall-1999:1.17.0.6 comdex-fall-1999-base:1.17 fvdl-softdep:1.17.0.4 fvdl-softdep-base:1.17 thorpej_scsipi:1.17.0.2 thorpej_scsipi_base:1.18 netbsd-1-4-PATCH001:1.15 kame_14_19990705:1.15 kame_14_19990628:1.15 kame:1.15.0.12 chs-ubc2:1.15.0.10 chs-ubc2-base:1.16 netbsd-1-4-RELEASE:1.15 netbsd-1-4:1.15.0.8 netbsd-1-4-base:1.15 netbsd-1-3-PATCH003:1.14 netbsd-1-3-PATCH003-CANDIDATE2:1.14 kenh-if-detach:1.15.0.6 kenh-if-detach-base:1.15 netbsd-1-3-PATCH003-CANDIDATE1:1.14 netbsd-1-3-PATCH003-CANDIDATE0:1.14 chs-ubc:1.15.0.4 chs-ubc-base:1.15 eeh-paddr_t:1.15.0.2 eeh-paddr_t-base:1.15 netbsd-1-3-PATCH002:1.14 netbsd-1-3-PATCH001:1.14 netbsd-1-3-RELEASE:1.14 netbsd-1-3-BETA:1.14 netbsd-1-3:1.14.0.8 netbsd-1-3-base:1.14 thorpej-signal:1.14.0.6 thorpej-signal-base:1.14 marc-pcmcia:1.14.0.4 marc-pcmcia-bp:1.14 marc-pcmcia-base:1.14 bouyer-scsipi:1.14.0.2 is-newarp-before-merge:1.12 netbsd-1-2-PATCH001:1.11 mrg-vm-swap:1.11.0.8 is-newarp:1.11.0.6 is-newarp-base:1.11 thorpej-setroot:1.11.0.2 netbsd-1-2-RELEASE:1.11 netbsd-1-2-BETA:1.11 netbsd-1-2:1.11.0.4 netbsd-1-2-base:1.11 date-03-may-96:1.1.1.1 netbsd:1.1.1 netbsd-1-1-PATCH001:1.9 netbsd-1-1-RELEASE:1.9 netbsd-1-1:1.9.0.2 netbsd-1-1-base:1.9 netbsd-1-0-PATCH06:1.7 netbsd-1-0-PATCH05:1.7 netbsd-1-0-PATCH04:1.7 netbsd-1-0-PATCH03:1.7 netbsd-1-0-PATCH02:1.7 netbsd-1-0-PATCH1:1.7 netbsd-1-0-PATCH0:1.7 netbsd-1-0-RELEASE:1.7 netbsd-1-0:1.7.0.2 netbsd-1-0-base:1.7 magnum-base:1.2 magnum:1.2.0.2; locks; strict; comment @ * @; 1.27 date 2015.09.06.06.01.01; author dholland; state Exp; branches; next 1.26; 1.26 date 2015.08.20.11.18.53; author uebayasi; state Exp; branches; next 1.25; 1.25 date 2008.11.29.23.15.20; author cube; state Exp; branches 1.25.26.1 1.25.44.1; next 1.24; 1.24 date 2008.11.25.02.40.36; author cube; state Exp; branches; next 1.23; 1.23 date 2005.12.11.23.05.25; author thorpej; state Exp; branches 1.23.70.1 1.23.74.1 1.23.80.1 1.23.84.1; next 1.22; 1.22 date 2005.12.10.23.21.38; author elad; state Exp; branches; next 1.21; 1.21 date 2003.09.04.07.46.47; author christos; state Exp; branches 1.21.16.1; next 1.20; 1.20 date 2003.09.01.16.51.26; author christos; state Exp; branches; next 1.19; 1.19 date 2002.07.01.22.09.33; author itojun; state Exp; branches 1.19.6.1; next 1.18; 1.18 date 2001.01.15.16.33.31; author thorpej; state Exp; branches 1.18.2.1 1.18.4.1 1.18.16.1; next 1.17; 1.17 date 99.08.25.02.04.05; author christos; state Exp; branches 1.17.2.1; next 1.16; 1.16 date 99.05.12.18.50.51; author thorpej; state Exp; branches; next 1.15; 1.15 date 98.02.09.17.43.51; author perry; state Exp; branches 1.15.10.1; next 1.14; 1.14 date 97.05.17.21.12.02; author christos; state Exp; branches; next 1.13; 1.13 date 97.04.16.12.54.43; author is; state Exp; branches; next 1.12; 1.12 date 97.03.12.20.26.52; author christos; state Exp; branches; next 1.11; 1.11 date 96.03.15.02.28.05; author paulus; state Exp; branches; next 1.10; 1.10 date 96.02.13.22.00.21; author christos; state Exp; branches; next 1.9; 1.9 date 95.07.04.06.28.22; author paulus; state Exp; branches; next 1.8; 1.8 date 95.03.08.02.57.02; author cgd; state Exp; branches; next 1.7; 1.7 date 94.06.29.06.36.19; author cgd; state Exp; branches; next 1.6; 1.6 date 94.05.08.12.34.20; author paulus; state Exp; branches; next 1.5; 1.5 date 94.01.25.05.56.08; author deraadt; state Exp; branches; next 1.4; 1.4 date 94.01.15.20.13.11; author deraadt; state Exp; branches; next 1.3; 1.3 date 93.11.09.06.23.01; author glass; state Exp; branches; next 1.2; 1.2 date 93.08.31.00.05.31; author paulus; state Exp; branches 1.2.2.1; next 1.1; 1.1 date 93.08.14.06.38.38; author deraadt; state Exp; branches; next ; 1.25.26.1 date 2017.12.03.11.39.02; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.25.44.1 date 2015.09.22.12.06.10; author skrll; state Exp; branches; next ; 1.23.70.1 date 2009.01.17.13.29.31; author mjf; state Exp; branches; next ; 1.23.74.1 date 2009.05.04.08.14.15; author yamt; state Exp; branches; next ; 1.23.80.1 date 2008.12.13.01.15.25; author haad; state Exp; branches; next ; 1.23.84.1 date 2009.01.19.13.20.11; author skrll; state Exp; branches; next ; 1.21.16.1 date 2006.06.21.15.10.27; author yamt; state Exp; branches; next ; 1.19.6.1 date 2004.08.03.10.54.16; author skrll; state Exp; branches; next 1.19.6.2; 1.19.6.2 date 2004.09.18.14.54.16; author skrll; state Exp; branches; next 1.19.6.3; 1.19.6.3 date 2004.09.21.13.36.38; author skrll; state Exp; branches; next 1.19.6.4; 1.19.6.4 date 2005.12.11.10.29.19; author christos; state Exp; branches; next ; 1.18.2.1 date 2002.08.01.02.46.39; author nathanw; state Exp; branches; next ; 1.18.4.1 date 2002.09.06.08.48.56; author jdolecek; state Exp; branches; next ; 1.18.16.1 date 2002.07.15.10.36.49; author gehenna; state Exp; branches; next ; 1.17.2.1 date 2001.01.18.09.23.51; author bouyer; state Exp; branches; next ; 1.15.10.1 date 99.06.21.01.27.35; author thorpej; state Exp; branches; next ; 1.2.2.1 date 93.11.14.21.22.10; author mycroft; state Exp; branches; next ; desc @@ 1.27 log @More on PR 41200: headers that declare ioctls should include sys/ioccom.h. This covers (I think) all the MI headers outside of external/ (and dist/). @ text @/* $NetBSD: if_ppp.h,v 1.26 2015/08/20 11:18:53 uebayasi Exp $ */ /* Id: if_ppp.h,v 1.16 1997/04/30 05:46:04 paulus Exp */ /* * if_ppp.h - Point-to-Point Protocol definitions. * * Copyright (c) 1984-2000 Carnegie Mellon University. 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. The name "Carnegie Mellon University" must not be used to * endorse or promote products derived from this software without * prior written permission. For permission or any legal * details, please contact * Office of Technology Transfer * Carnegie Mellon University * 5000 Forbes Avenue * Pittsburgh, PA 15213-3890 * (412) 268-4387, fax: (412) 268-7395 * tech-transfer@@andrew.cmu.edu * * 4. Redistributions of any form whatsoever must retain the following * acknowledgment: * "This product includes software developed by Computing Services * at Carnegie Mellon University (http://www.cmu.edu/computing/)." * * CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #ifndef _NET_IF_PPP_H_ #define _NET_IF_PPP_H_ #include /* * Bit definitions for flags. */ #define SC_COMP_PROT 0x00000001 /* protocol compression (output) */ #define SC_COMP_AC 0x00000002 /* header compression (output) */ #define SC_COMP_TCP 0x00000004 /* TCP (VJ) compression (output) */ #define SC_NO_TCP_CCID 0x00000008 /* disable VJ connection-id comp. */ #define SC_REJ_COMP_AC 0x00000010 /* reject adrs/ctrl comp. on input */ #define SC_REJ_COMP_TCP 0x00000020 /* reject TCP (VJ) comp. on input */ #define SC_CCP_OPEN 0x00000040 /* Look at CCP packets */ #define SC_CCP_UP 0x00000080 /* May send/recv compressed packets */ #define SC_DEBUG 0x00010000 /* enable debug messages */ #define SC_LOG_INPKT 0x00020000 /* log contents of good pkts recvd */ #define SC_LOG_OUTPKT 0x00040000 /* log contents of pkts sent */ #define SC_LOG_RAWIN 0x00080000 /* log all chars received */ #define SC_LOG_FLUSH 0x00100000 /* log all chars flushed */ #define SC_SYNC 0x00200000 /* synchronous HDLC */ #define SC_RCV_B7_0 0x01000000 /* have rcvd char with bit 7 = 0 */ #define SC_RCV_B7_1 0x02000000 /* have rcvd char with bit 7 = 1 */ #define SC_RCV_EVNP 0x04000000 /* have rcvd char with even parity */ #define SC_RCV_ODDP 0x08000000 /* have rcvd char with odd parity */ #define SC_MASK 0x0fff00ff /* bits that user can change */ /* * State bits in sc_flags, not changeable by user. */ #define SC_TIMEOUT 0x00000400 /* timeout is currently pending */ #define SC_VJ_RESET 0x00000800 /* need to reset VJ decomp */ #define SC_COMP_RUN 0x00001000 /* compressor has been inited */ #define SC_DECOMP_RUN 0x00002000 /* decompressor has been inited */ #define SC_DC_ERROR 0x00004000 /* non-fatal decomp error detected */ #define SC_DC_FERROR 0x00008000 /* fatal decomp error detected */ #define SC_TBUSY 0x10000000 /* xmitter doesn't need a packet yet */ #define SC_PKTLOST 0x20000000 /* have lost or dropped a packet */ #define SC_FLUSH 0x40000000 /* flush input until next PPP_FLAG */ #define SC_ESCAPED 0x80000000 /* saw a PPP_ESCAPE */ /* * Ioctl definitions. */ struct npioctl { int protocol; /* PPP procotol, e.g. PPP_IP */ enum NPmode mode; }; /* Structure describing a CCP configuration option, for PPPIOCSCOMPRESS */ struct ppp_option_data { u_char *ptr; u_int length; int transmit; }; struct ifpppstatsreq { char ifr_name[IFNAMSIZ]; struct ppp_stats stats; }; struct ifpppcstatsreq { char ifr_name[IFNAMSIZ]; struct ppp_comp_stats stats; }; struct ppp_rawin { u_char buf[63]; u_char count; }; /* * Ioctl definitions. */ #define PPPIOCGRAWIN _IOR('t', 91, struct ppp_rawin) /* get raw input */ #define PPPIOCGFLAGS _IOR('t', 90, int) /* get configuration flags */ #define PPPIOCSFLAGS _IOW('t', 89, int) /* set configuration flags */ #define PPPIOCGASYNCMAP _IOR('t', 88, int) /* get async map */ #define PPPIOCSASYNCMAP _IOW('t', 87, int) /* set async map */ #define PPPIOCGUNIT _IOR('t', 86, int) /* get ppp unit number */ #define PPPIOCGRASYNCMAP _IOR('t', 85, int) /* get receive async map */ #define PPPIOCSRASYNCMAP _IOW('t', 84, int) /* set receive async map */ #define PPPIOCGMRU _IOR('t', 83, int) /* get max receive unit */ #define PPPIOCSMRU _IOW('t', 82, int) /* set max receive unit */ #define PPPIOCSMAXCID _IOW('t', 81, int) /* set VJ max slot ID */ #define PPPIOCGXASYNCMAP _IOR('t', 80, ext_accm) /* get extended ACCM */ #define PPPIOCSXASYNCMAP _IOW('t', 79, ext_accm) /* set extended ACCM */ #define PPPIOCXFERUNIT _IO('t', 78) /* transfer PPP unit */ #define PPPIOCSCOMPRESS _IOW('t', 77, struct ppp_option_data) #define PPPIOCGNPMODE _IOWR('t', 76, struct npioctl) /* get NP mode */ #define PPPIOCSNPMODE _IOW('t', 75, struct npioctl) /* set NP mode */ #define PPPIOCGIDLE _IOR('t', 74, struct ppp_idle) /* get idle time */ #ifdef PPP_FILTER /* * XXX These are deprecated; they can no longer be used, because they * XXX don't play well with multiple encaps. The defs are here so that * XXX we can return decent errors to old pppds, and so that new pppds * XXX will work with old kernels. */ #define PPPIOCSPASS _IOW('t', 71, struct bpf_program) /* set pass filter */ #define PPPIOCSACTIVE _IOW('t', 70, struct bpf_program) /* set active filt */ /* * Use these instead. */ #define PPPIOCSIPASS _IOW('t', 69, struct bpf_program) /* set in pass flt */ #define PPPIOCSOPASS _IOW('t', 68, struct bpf_program) /* set out pass flt */ #define PPPIOCSIACTIVE _IOW('t', 67, struct bpf_program) /* set in act flt */ #define PPPIOCSOACTIVE _IOW('t', 66, struct bpf_program) /* set out act flt */ #endif /* PPP_FILTER */ /* PPPIOC[GS]MTU are alternatives to SIOC[GS]IFMTU, used under Ultrix */ #define PPPIOCGMTU _IOR('t', 73, int) /* get interface MTU */ #define PPPIOCSMTU _IOW('t', 72, int) /* set interface MTU */ /* * These two are interface ioctls so that pppstats can do them on * a socket without having to open the serial device. */ #define SIOCGPPPSTATS _IOWR('i', 123, struct ifpppstatsreq) #define SIOCGPPPCSTATS _IOWR('i', 122, struct ifpppcstatsreq) #if !defined(ifr_mtu) #define ifr_mtu ifr_ifru.ifru_metric #endif #if defined(_KERNEL) || defined(KERNEL) struct compressor; int ppp_register_compressor(struct compressor *, size_t); int ppp_unregister_compressor(struct compressor *, size_t); #endif #endif /* !_NET_IF_PPP_H_ */ @ 1.26 log @Honor pseudo attach decl generated by config(1). @ text @d1 1 a1 1 /* $NetBSD$ */ d49 2 @ 1.25 log @Fix handling of ppp compressor modules, from Andrew Doran's input. - ref count each compressor - allow {un,}registration of several modules at once - une RUN_ONCE to make sure the mutex is initialised, because unfortunately built-in (and bootloader-loaded) modules init functions are run before pseudo-devices attach (reported by Nick Hudson). @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.24 2008/11/25 02:40:36 cube Exp $ */ a174 2 void pppattach(void); @ 1.25.26.1 log @update from HEAD @ text @d1 1 a1 1 /* $NetBSD$ */ a48 2 #include d175 2 @ 1.25.44.1 log @Sync with HEAD @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.27 2015/09/06 06:01:01 dholland Exp $ */ a48 2 #include d175 2 @ 1.24 log @Rework the way PPP compmressors are handled and allow them to be automatically loaded when needed. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.23 2005/12/11 23:05:25 thorpej Exp $ */ d178 2 a179 2 int ppp_register_compressor(struct compressor *); int ppp_unregister_compressor(struct compressor *); @ 1.23 log @ANSI function decls and application of static. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.22 2005/12/10 23:21:38 elad Exp $ */ d176 4 @ 1.23.74.1 log @sync with head. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.23 2005/12/11 23:05:25 thorpej Exp $ */ a175 4 struct compressor; int ppp_register_compressor(struct compressor *, size_t); int ppp_unregister_compressor(struct compressor *, size_t); @ 1.23.84.1 log @Sync with HEAD. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.25 2008/11/29 23:15:20 cube Exp $ */ a175 4 struct compressor; int ppp_register_compressor(struct compressor *, size_t); int ppp_unregister_compressor(struct compressor *, size_t); @ 1.23.70.1 log @Sync with HEAD. @ text @d1 1 a1 1 /* $NetBSD$ */ a175 4 struct compressor; int ppp_register_compressor(struct compressor *, size_t); int ppp_unregister_compressor(struct compressor *, size_t); @ 1.23.80.1 log @Update haad-dm branch to haad-dm-base2. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.25 2008/11/29 23:15:20 cube Exp $ */ a175 4 struct compressor; int ppp_register_compressor(struct compressor *, size_t); int ppp_unregister_compressor(struct compressor *, size_t); @ 1.22 log @Multiple inclusion protection, as suggested by christos@@ on tech-kern@@ few days ago. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.21 2003/09/04 07:46:47 christos Exp $ */ d175 1 a175 1 void pppattach __P((void)); @ 1.21 log @bump the buffer size from 15 to 63 bytes. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.20 2003/09/01 16:51:26 christos Exp $ */ d177 1 a177 1 #endif /* _NET_IF_PPP_H_ */ @ 1.21.16.1 log @sync with head. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.21 2003/09/04 07:46:47 christos Exp $ */ d175 1 a175 1 void pppattach(void); d177 1 a177 1 #endif /* !_NET_IF_PPP_H_ */ @ 1.20 log @Add a new ioctl PPPIOCGRAWIN to get the last characters we got from the remote site. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.19 2002/07/01 22:09:33 itojun Exp $ */ d114 1 a114 1 u_char buf[19]; @ 1.19 log @new copyright boilerplate from CMU. from openbsd @ text @d1 1 a1 1 /* $NetBSD$ */ d113 5 d122 1 @ 1.19.6.1 log @Sync with HEAD @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.21 2003/09/04 07:46:47 christos Exp $ */ a112 5 struct ppp_rawin { u_char buf[63]; u_char count; }; a116 1 #define PPPIOCGRAWIN _IOR('t', 91, struct ppp_rawin) /* get raw input */ @ 1.19.6.2 log @Sync with HEAD. @ text @@ 1.19.6.3 log @Fix the sync with head I botched. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.19.6.1 2004/08/03 10:54:16 skrll Exp $ */ @ 1.19.6.4 log @Sync with head. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.22 2005/12/10 23:21:38 elad Exp $ */ d177 1 a177 1 #endif /* !_NET_IF_PPP_H_ */ @ 1.18 log @For SLIP/STRIP/PPP, use generic soft interrupts, if available. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.17 1999/08/25 02:04:05 christos Exp $ */ d7 1 a7 2 * Copyright (c) 1989 Carnegie Mellon University. * All rights reserved. d9 35 a43 11 * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice and this paragraph are * duplicated in all such forms and that any documentation, * advertising materials, and other materials related to such * distribution and use acknowledge that the software was developed * by Carnegie Mellon University. The name of the * University may not be used to endorse or promote products derived * from this software without specific prior written permission. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. @ 1.18.4.1 log @sync kqueue branch with HEAD @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.18 2001/01/15 16:33:31 thorpej Exp $ */ d7 2 a8 1 * Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. d10 11 a20 35 * 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. The name "Carnegie Mellon University" must not be used to * endorse or promote products derived from this software without * prior written permission. For permission or any legal * details, please contact * Office of Technology Transfer * Carnegie Mellon University * 5000 Forbes Avenue * Pittsburgh, PA 15213-3890 * (412) 268-4387, fax: (412) 268-7395 * tech-transfer@@andrew.cmu.edu * * 4. Redistributions of any form whatsoever must retain the following * acknowledgment: * "This product includes software developed by Computing Services * at Carnegie Mellon University (http://www.cmu.edu/computing/)." * * CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. @ 1.18.2.1 log @Catch up to -current. @ text @d1 1 a1 1 /* $NetBSD$ */ d7 2 a8 1 * Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. d10 11 a20 35 * 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. The name "Carnegie Mellon University" must not be used to * endorse or promote products derived from this software without * prior written permission. For permission or any legal * details, please contact * Office of Technology Transfer * Carnegie Mellon University * 5000 Forbes Avenue * Pittsburgh, PA 15213-3890 * (412) 268-4387, fax: (412) 268-7395 * tech-transfer@@andrew.cmu.edu * * 4. Redistributions of any form whatsoever must retain the following * acknowledgment: * "This product includes software developed by Computing Services * at Carnegie Mellon University (http://www.cmu.edu/computing/)." * * CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. @ 1.18.16.1 log @catch up with -current. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.19 2002/07/01 22:09:33 itojun Exp $ */ d7 2 a8 1 * Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. d10 11 a20 35 * 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. The name "Carnegie Mellon University" must not be used to * endorse or promote products derived from this software without * prior written permission. For permission or any legal * details, please contact * Office of Technology Transfer * Carnegie Mellon University * 5000 Forbes Avenue * Pittsburgh, PA 15213-3890 * (412) 268-4387, fax: (412) 268-7395 * tech-transfer@@andrew.cmu.edu * * 4. Redistributions of any form whatsoever must retain the following * acknowledgment: * "This product includes software developed by Computing Services * at Carnegie Mellon University (http://www.cmu.edu/computing/)." * * CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. @ 1.17 log @changes from ppp-2.3.9 [synchronous] @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.16 1999/05/12 18:50:51 thorpej Exp $ */ a146 1 void pppintr __P((void)); @ 1.17.2.1 log @Sync with head (for UBC+NFS fixes, mostly). @ text @d1 1 a1 1 /* $NetBSD$ */ d147 1 @ 1.16 log @Decouple inbound and outbound filters. Now instead of using "active-filter" and "pass-filter" and "inbound" and "outbound" qualifiers in the filter expression, use new "active-filter-in", "active-filter-out", "pass-filter-in", and "pass-filter-out" without these qualifiers. This is necessary due to the horrible, awful way "inbound" and "outbound" were specified for the filter programs when a packet was passed through them. Basically, the "address" byte in the serial PPP header was overwritten with a value to indicate the direction. However, the "address" byte doesn't even exist on PPP headers for all other PPP encaps! So, this old method worked only for serial encaps, and corrupted packets for all others (PPPoE, ATM, etc.) @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.15 1998/02/09 17:43:51 perry Exp $ */ d42 1 d47 1 @ 1.15 log @add multiple inclusion protection (and cleanup). @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.14 1997/05/17 21:12:02 christos Exp $ */ d110 6 d118 8 @ 1.15.10.1 log @Sync w/ -current. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.16 1999/05/12 18:50:51 thorpej Exp $ */ a109 6 /* * XXX These are deprecated; they can no longer be used, because they * XXX don't play well with multiple encaps. The defs are here so that * XXX we can return decent errors to old pppds, and so that new pppds * XXX will work with old kernels. */ a111 8 /* * Use these instead. */ #define PPPIOCSIPASS _IOW('t', 69, struct bpf_program) /* set in pass flt */ #define PPPIOCSOPASS _IOW('t', 68, struct bpf_program) /* set out pass flt */ #define PPPIOCSIACTIVE _IOW('t', 67, struct bpf_program) /* set in act flt */ #define PPPIOCSOACTIVE _IOW('t', 66, struct bpf_program) /* set out act flt */ @ 1.14 log @Update to ppp-2.3b5 @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.13 1997/04/16 12:54:43 is Exp $ */ d23 2 a24 2 #ifndef _IF_PPP_H_ #define _IF_PPP_H_ d133 1 a133 1 #endif /* _IF_PPP_H_ */ @ 1.13 log @Made pppoutput() public again on behalf of Martin Husemann (PR 3455). Apparently, the BISDN package uses this function. @ text @d1 2 a2 2 /* $NetBSD: if_ppp.h,v 1.12 1997/03/12 20:26:52 christos Exp $ */ /* Id: if_ppp.h,v 1.15 1997/03/04 03:32:26 paulus Exp */ a26 6 * Packet sizes */ #define PPP_MTU 1500 /* Default MTU (size of Info field) */ #define PPP_MAXMRU 65000 /* Largest MRU we allow */ /* a131 2 int pppoutput __P((struct ifnet *, struct mbuf *, struct sockaddr *, struct rtentry *)); @ 1.12 log @Update to ppp-2.3b4; from Paul Mackerras @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.11 1996/03/15 02:28:05 paulus Exp $ */ d138 2 @ 1.11 log @Added packet filtering, support for "PPP Deflate" packet compression, trivial multicast support, and support for xon/xoff output flow control to the PPP subsystem. Fixed several bugs, including making the accumulation and resetting of statistics more consistent. State for the VJ compressor is now dynamically allocated. @ text @d1 2 a2 1 /* $NetBSD: if_ppp.h,v 1.10 1996/02/13 22:00:21 christos Exp $ */ d115 1 d118 1 d135 1 a135 1 #ifdef _KERNEL a136 3 int pppsioctl __P((struct ifnet *, u_long, caddr_t)); int pppoutput __P((struct ifnet *, struct mbuf *, struct sockaddr *, struct rtentry *)); @ 1.10 log @Net prototypes @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.9 1995/07/04 06:28:22 paulus Exp $ */ d114 2 d131 1 a133 3 struct ppp_softc *pppalloc __P((pid_t)); void pppdealloc __P((struct ppp_softc *)); int pppioctl __P((struct ppp_softc *, u_long, caddr_t, int, struct proc *)); a136 1 struct mbuf *ppp_dequeue __P((struct ppp_softc *)); a137 1 void ppppktin __P((struct ppp_softc *, struct mbuf *, int)); @ 1.9 log @Latest version of PPP stuff, with packet compression and other improvements. The PPP kernel code is now split into if_ppp.c, containing generic PPP support, and ppp_tty.c, which specifically supports PPP on async tty devices (as a line discipline). This is so that other devices can be supported without making them look like ttys. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.12 1995/04/24 02:40:23 paulus Exp $ */ d129 12 a140 1 @ 1.8 log @fixed sized types, where appropriate. when casting pointers to integers to do math on them, cast to long. ioctl commands are u_longs. @ text @d1 1 a1 1 /* $NetBSD: if_ppp.h,v 1.7 1994/06/29 06:36:19 cgd Exp $ */ a25 36 * Standard PPP header. */ struct ppp_header { u_int8_t ph_address; /* Address Field */ u_int8_t ph_control; /* Control Field */ u_int16_t ph_protocol; /* Protocol Field */ }; #define PPP_HDRLEN 4 /* sizeof(struct ppp_header) must be 4 */ #define PPP_FCSLEN 2 /* octets for FCS */ #define PPP_ALLSTATIONS 0xff /* All-Stations broadcast address */ #define PPP_UI 0x03 /* Unnumbered Information */ #define PPP_FLAG 0x7e /* Flag Sequence */ #define PPP_ESCAPE 0x7d /* Asynchronous Control Escape */ #define PPP_TRANS 0x20 /* Asynchronous transparency modifier */ /* * Protocol field values. */ #define PPP_IP 0x21 /* Internet Protocol */ #define PPP_XNS 0x25 /* Xerox NS */ #define PPP_VJC_COMP 0x2d /* VJ compressed TCP */ #define PPP_VJC_UNCOMP 0x2f /* VJ uncompressed TCP */ #define PPP_COMP 0xfd /* compressed packet */ #define PPP_LCP 0xc021 /* Link Control Protocol */ #define PPP_CCP 0x80fd /* Compression Control Protocol */ /* * Important FCS values. */ #define PPP_INITFCS 0xffff /* Initial FCS value */ #define PPP_GOODFCS 0xf0b8 /* Good final FCS value */ #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) /* a28 1 #define PPP_MRU 1500 /* Default MRU (max receive unit) */ a30 3 /* Extended asyncmap - allows any character to be escaped. */ typedef u_int32_t ext_accm[8]; d32 1 a32 1 * Structure describing each ppp unit. a33 31 struct ppp_softc { struct ifnet sc_if; /* network-visible interface */ u_int sc_flags; /* see below */ void *sc_devp; /* pointer to device-dependent structure */ int (*sc_start) __P((struct ppp_softc *)); /* start routine */ short sc_mru; /* max receive unit */ pid_t sc_xfer; /* used in xferring unit to another dev */ struct ifqueue sc_inq; /* TTY side input queue */ struct ifqueue sc_fastq; /* IP interactive output packet queue */ #ifdef VJC struct slcompress sc_comp; /* vjc control buffer */ #endif u_int sc_bytessent; /* count of octets sent */ u_int sc_bytesrcvd; /* count of octets received */ caddr_t sc_bpf; /* hook for BPF */ /* Device-dependent part for async lines. */ ext_accm sc_asyncmap; /* async control character map */ u_int32_t sc_rasyncmap; /* receive async control char map */ struct mbuf *sc_outm; /* mbuf chain being output currently */ struct mbuf *sc_m; /* pointer to input mbuf chain */ struct mbuf *sc_mc; /* pointer to current input mbuf */ char *sc_mp; /* pointer to next char in input mbuf */ short sc_ilen; /* length of input-packet-so-far */ u_short sc_fcs; /* FCS so far (input) */ u_short sc_outfcs; /* FCS so far for output packet */ u_char sc_rawin[16]; /* chars as received */ int sc_rawin_count; /* # in sc_rawin */ }; /* flags */ d40 2 a41 1 #define SC_ENABLE_IP 0x00000100 /* IP packets may be exchanged */ a46 5 #define SC_MASK 0x0fffffff /* bits that user can change */ /* state bits */ #define SC_ESCAPED 0x80000000 /* saw a PPP_ESCAPE */ #define SC_FLUSH 0x40000000 /* flush input until next PPP_FLAG */ d48 1 a48 1 #define SC_RCV_B7_1 0x02000000 /* have rcvd char with bit 7 = 0 */ d51 45 a96 1 /* this stuff doesn't belong here... */ d99 2 a100 2 #define PPPIOCGASYNCMAP _IOR('t', 88, int32_t) /* get async map */ #define PPPIOCSASYNCMAP _IOW('t', 87, int32_t) /* set async map */ d102 2 a103 2 #define PPPIOCGRASYNCMAP _IOR('t', 85, int32_t) /* get receive async map */ #define PPPIOCSRASYNCMAP _IOW('t', 84, int32_t) /* set receive async map */ d110 15 d127 1 a127 1 #define ifr_mtu ifr_metric @ 1.7 log @New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' @ text @d1 1 a1 1 /* $NetBSD$ */ d29 3 a31 3 u_char ph_address; /* Address Field */ u_char ph_control; /* Control Field */ u_short ph_protocol; /* Protocol Field */ d69 1 a69 1 typedef u_long ext_accm[8]; d92 1 a92 1 u_long sc_rasyncmap; /* receive async control char map */ d130 2 a131 2 #define PPPIOCGASYNCMAP _IOR('t', 88, int) /* get async map */ #define PPPIOCSASYNCMAP _IOW('t', 87, int) /* set async map */ d133 2 a134 2 #define PPPIOCGRASYNCMAP _IOR('t', 85, int) /* get receive async map */ #define PPPIOCSRASYNCMAP _IOW('t', 84, int) /* set receive async map */ @ 1.6 log @Version from ppp-2.1 release. @ text @d1 2 a19 2 * * $Id: if_ppp.h,v 1.5 1994/01/25 05:56:08 deraadt Exp $ @ 1.5 log @PPP_HEADER_LEN -> PPP_HDRLEN @ text @d19 1 a19 9 * Modified by Paul Mackerras (paulus@@cs.anu.edu.au) * Added PPP_MRU, sc_outm, sc_fastq, sc_bpf. * * $Id: if_ppp.h,v 1.4 1994/01/15 20:13:11 deraadt Exp $ */ /* *na Portions Copyright (C) 1990 Brad K. Clements (streams support) * (huh? there isn't any streams support in this file) a24 1 d34 2 a35 2 #define PPP_HDRLEN 4 /* sizeof(struct ppp_header) */ #define PPP_FCS_LEN 2 /* octets for FCS */ d44 1 a44 1 * Protocol types. d50 1 d52 1 d61 3 a66 1 #define PPP_HIWAT 400 /* Don't start a new packet if HIWAT on que */ d68 6 d77 16 a92 1 struct tty *sc_ttyp; /* pointer to tty structure */ d100 2 a101 11 short sc_mru; /* max receive unit */ u_long sc_asyncmap; /* async control character map */ u_long sc_rasyncmap; /* receive async control char map */ struct ifqueue sc_inq; /* TTY side input queue */ struct ifqueue sc_fastq; /* IP interactive output packet queue */ #ifdef VJC struct slcompress sc_comp; /* vjc control buffer */ #endif u_int sc_bytessent; u_int sc_bytesrcvd; caddr_t sc_bpf; d111 7 a117 1 #define SC_MASK 0x0000ffff /* bits that user can change */ d120 6 a125 2 #define SC_ESCAPED 0x00010000 /* saw a PPP_ESCAPE */ #define SC_FLUSH 0x00020000 /* flush input until next PPP_FLAG */ d137 4 a141 1 /* old copies of PPP may have defined this */ @ 1.4 log @multiple inclusion protection @ text @d22 1 a22 1 * $Id: if_ppp.h,v 1.3 1993/11/09 06:23:01 glass Exp $ d43 1 a43 1 #define PPP_HEADER_LEN 4 /* octets, must == sizeof(struct ppp_header) */ @ 1.3 log @T_LINEP member of struct tty becomes t_sc. This replaces the #define t_sc T_LINEP that appear in tty_tb.c, if_sl.c, and if_ppp.h @ text @d22 1 a22 1 * $Id: if_ppp.h,v 1.2 1993/08/31 00:05:31 paulus Exp $ d25 8 a32 3 /* Portions Copyright (C) 1990 Brad K. Clements (streams support) (huh? there isn't any streams support in this file) */ d126 1 @ 1.2 log @Modified if_ppp.c and if_ppp.h to add priority queueing for "interactive" traffic (done in a similar fashion to if_sl.c), and BPF support. @ text @d22 1 a22 1 * $Id: if_ppp.h,v 1.4 1993/08/29 11:22:37 paulus Exp $ a103 2 #define t_sc T_LINEP @ 1.2.2.1 log @T_LINEP --> t_sc, from trunk. @ text @d22 1 a22 1 * $Id: if_ppp.h,v 1.2 1993/08/31 00:05:31 paulus Exp $ d104 2 @ 1.1 log @ppp from paul mackerras @ text @d20 1 a20 1 * PPP_MRU added, PPP_MTU changed to 296 (default only), added sc_outm. d22 1 a22 1 * $Id: $ d26 2 a27 2 * (huh? there isn't any streams support in this file) */ d38 3 d63 1 a63 1 #define PPP_MTU 296 /* Default MTU (size of Info field) */ d65 1 d77 3 a79 1 u_short sc_fcs; /* FCS so far */ d81 1 d83 1 d89 1 d93 9 a103 3 #define SC_COMP_PROT 0x00000001 /* protocol compression */ #define SC_COMP_AC 0x00000002 /* header compression */ #define SC_COMP_TCP 0x00000004 /* TCP traffic (VJ) compression */ d113 4 @