head 1.7; access; symbols netbsd-10-0-RELEASE:1.7 netbsd-10-0-RC6:1.7 netbsd-10-0-RC5:1.7 netbsd-10-0-RC4:1.7 netbsd-10-0-RC3:1.7 netbsd-10-0-RC2:1.7 thorpej-ifq:1.7.0.176 thorpej-ifq-base:1.7 thorpej-altq-separation:1.7.0.174 thorpej-altq-separation-base:1.7 netbsd-10-0-RC1:1.7 netbsd-10:1.7.0.172 netbsd-10-base:1.7 bouyer-sunxi-drm:1.7.0.170 bouyer-sunxi-drm-base:1.7 netbsd-9-3-RELEASE:1.7 thorpej-i2c-spi-conf2:1.7.0.168 thorpej-i2c-spi-conf2-base:1.7 thorpej-futex2:1.7.0.166 thorpej-futex2-base:1.7 thorpej-cfargs2:1.7.0.164 thorpej-cfargs2-base:1.7 cjep_sun2x-base1:1.7 cjep_sun2x:1.7.0.162 cjep_sun2x-base:1.7 cjep_staticlib_x-base1:1.7 netbsd-9-2-RELEASE:1.7 cjep_staticlib_x:1.7.0.160 cjep_staticlib_x-base:1.7 thorpej-i2c-spi-conf:1.7.0.158 thorpej-i2c-spi-conf-base:1.7 thorpej-cfargs:1.7.0.156 thorpej-cfargs-base:1.7 thorpej-futex:1.7.0.154 thorpej-futex-base:1.7 netbsd-9-1-RELEASE:1.7 bouyer-xenpvh-base2:1.7 phil-wifi-20200421:1.7 bouyer-xenpvh-base1:1.7 phil-wifi-20200411:1.7 bouyer-xenpvh:1.7.0.152 bouyer-xenpvh-base:1.7 is-mlppp:1.7.0.150 is-mlppp-base:1.7 phil-wifi-20200406:1.7 netbsd-8-2-RELEASE:1.7 ad-namecache-base3:1.7 netbsd-9-0-RELEASE:1.7 netbsd-9-0-RC2:1.7 ad-namecache-base2:1.7 ad-namecache-base1:1.7 ad-namecache:1.7.0.148 ad-namecache-base:1.7 netbsd-9-0-RC1:1.7 phil-wifi-20191119:1.7 netbsd-9:1.7.0.146 netbsd-9-base:1.7 phil-wifi-20190609:1.7 netbsd-8-1-RELEASE:1.7 netbsd-8-1-RC1:1.7 isaki-audio2:1.7.0.144 isaki-audio2-base:1.7 pgoyette-compat-merge-20190127:1.7 pgoyette-compat-20190127:1.7 pgoyette-compat-20190118:1.7 pgoyette-compat-1226:1.7 pgoyette-compat-1126:1.7 pgoyette-compat-1020:1.7 pgoyette-compat-0930:1.7 pgoyette-compat-0906:1.7 netbsd-7-2-RELEASE:1.7 pgoyette-compat-0728:1.7 netbsd-8-0-RELEASE:1.7 phil-wifi:1.7.0.142 phil-wifi-base:1.7 pgoyette-compat-0625:1.7 netbsd-8-0-RC2:1.7 pgoyette-compat-0521:1.7 pgoyette-compat-0502:1.7 pgoyette-compat-0422:1.7 netbsd-8-0-RC1:1.7 pgoyette-compat-0415:1.7 pgoyette-compat-0407:1.7 pgoyette-compat-0330:1.7 pgoyette-compat-0322:1.7 pgoyette-compat-0315:1.7 netbsd-7-1-2-RELEASE:1.7 pgoyette-compat:1.7.0.140 pgoyette-compat-base:1.7 netbsd-7-1-1-RELEASE:1.7 tls-maxphys-base-20171202:1.7 matt-nb8-mediatek:1.7.0.138 matt-nb8-mediatek-base:1.7 nick-nhusb-base-20170825:1.7 perseant-stdc-iso10646:1.7.0.136 perseant-stdc-iso10646-base:1.7 netbsd-8:1.7.0.134 netbsd-8-base:1.7 prg-localcount2-base3:1.7 prg-localcount2-base2:1.7 prg-localcount2-base1:1.7 prg-localcount2:1.7.0.132 prg-localcount2-base:1.7 pgoyette-localcount-20170426:1.7 bouyer-socketcan-base1:1.7 jdolecek-ncq:1.7.0.130 jdolecek-ncq-base:1.7 pgoyette-localcount-20170320:1.7 netbsd-7-1:1.7.0.128 netbsd-7-1-RELEASE:1.7 netbsd-7-1-RC2:1.7 nick-nhusb-base-20170204:1.7 netbsd-7-nhusb-base-20170116:1.7 bouyer-socketcan:1.7.0.126 bouyer-socketcan-base:1.7 pgoyette-localcount-20170107:1.7 netbsd-7-1-RC1:1.7 nick-nhusb-base-20161204:1.7 pgoyette-localcount-20161104:1.7 netbsd-7-0-2-RELEASE:1.7 nick-nhusb-base-20161004:1.7 localcount-20160914:1.7 netbsd-7-nhusb:1.7.0.124 netbsd-7-nhusb-base:1.7 pgoyette-localcount-20160806:1.7 pgoyette-localcount-20160726:1.7 pgoyette-localcount:1.7.0.122 pgoyette-localcount-base:1.7 nick-nhusb-base-20160907:1.7 nick-nhusb-base-20160529:1.7 netbsd-7-0-1-RELEASE:1.7 nick-nhusb-base-20160422:1.7 nick-nhusb-base-20160319:1.7 nick-nhusb-base-20151226:1.7 netbsd-7-0:1.7.0.120 netbsd-7-0-RELEASE:1.7 nick-nhusb-base-20150921:1.7 netbsd-7-0-RC3:1.7 netbsd-7-0-RC2:1.7 netbsd-7-0-RC1:1.7 nick-nhusb-base-20150606:1.7 nick-nhusb-base-20150406:1.7 nick-nhusb:1.7.0.118 nick-nhusb-base:1.7 netbsd-5-2-3-RELEASE:1.7 netbsd-5-1-5-RELEASE:1.7 netbsd-6-0-6-RELEASE:1.7 netbsd-6-1-5-RELEASE:1.7 netbsd-7:1.7.0.116 netbsd-7-base:1.7 yamt-pagecache-base9:1.7 yamt-pagecache-tag8:1.7 netbsd-6-1-4-RELEASE:1.7 netbsd-6-0-5-RELEASE:1.7 tls-earlyentropy:1.7.0.114 tls-earlyentropy-base:1.7 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.7 riastradh-drm2-base3:1.7 netbsd-6-1-3-RELEASE:1.7 netbsd-6-0-4-RELEASE:1.7 netbsd-5-2-2-RELEASE:1.7 netbsd-5-1-4-RELEASE:1.7 netbsd-6-1-2-RELEASE:1.7 netbsd-6-0-3-RELEASE:1.7 netbsd-5-2-1-RELEASE:1.7 netbsd-5-1-3-RELEASE:1.7 rmind-smpnet-nbase:1.7 netbsd-6-1-1-RELEASE:1.7 riastradh-drm2-base2:1.7 riastradh-drm2-base1:1.7 riastradh-drm2:1.7.0.112 riastradh-drm2-base:1.7 rmind-smpnet:1.7.0.104 rmind-smpnet-base:1.7 netbsd-6-1:1.7.0.110 netbsd-6-0-2-RELEASE:1.7 netbsd-6-1-RELEASE:1.7 khorben-n900:1.7.0.108 netbsd-6-1-RC4:1.7 netbsd-6-1-RC3:1.7 agc-symver:1.7.0.106 agc-symver-base:1.7 netbsd-6-1-RC2:1.7 netbsd-6-1-RC1:1.7 yamt-pagecache-base8:1.7 netbsd-5-2:1.7.0.102 netbsd-6-0-1-RELEASE:1.7 yamt-pagecache-base7:1.7 netbsd-5-2-RELEASE:1.7 netbsd-5-2-RC1:1.7 matt-nb6-plus-nbase:1.7 yamt-pagecache-base6:1.7 netbsd-6-0:1.7.0.100 netbsd-6-0-RELEASE:1.7 netbsd-6-0-RC2:1.7 tls-maxphys:1.7.0.98 tls-maxphys-base:1.7 matt-nb6-plus:1.7.0.96 matt-nb6-plus-base:1.7 netbsd-6-0-RC1:1.7 jmcneill-usbmp-base10:1.7 yamt-pagecache-base5:1.7 jmcneill-usbmp-base9:1.7 yamt-pagecache-base4:1.7 jmcneill-usbmp-base8:1.7 jmcneill-usbmp-base7:1.7 jmcneill-usbmp-base6:1.7 jmcneill-usbmp-base5:1.7 jmcneill-usbmp-base4:1.7 jmcneill-usbmp-base3:1.7 jmcneill-usbmp-pre-base2:1.7 jmcneill-usbmp-base2:1.7 netbsd-6:1.7.0.94 netbsd-6-base:1.7 netbsd-5-1-2-RELEASE:1.7 netbsd-5-1-1-RELEASE:1.7 jmcneill-usbmp:1.7.0.92 jmcneill-usbmp-base:1.7 jmcneill-audiomp3:1.7.0.90 jmcneill-audiomp3-base:1.7 yamt-pagecache-base3:1.7 yamt-pagecache-base2:1.7 yamt-pagecache:1.7.0.88 yamt-pagecache-base:1.7 rmind-uvmplock-nbase:1.7 cherry-xenmp:1.7.0.86 cherry-xenmp-base:1.7 bouyer-quota2-nbase:1.7 bouyer-quota2:1.7.0.84 bouyer-quota2-base:1.7 jruoho-x86intr:1.7.0.82 jruoho-x86intr-base:1.7 matt-mips64-premerge-20101231:1.7 matt-nb5-mips64-premerge-20101231:1.7 matt-nb5-pq3:1.7.0.80 matt-nb5-pq3-base:1.7 netbsd-5-1:1.7.0.78 netbsd-5-1-RELEASE:1.7 uebayasi-xip-base4:1.7 uebayasi-xip-base3:1.7 yamt-nfs-mp-base11:1.7 netbsd-5-1-RC4:1.7 matt-nb5-mips64-k15:1.7 uebayasi-xip-base2:1.7 yamt-nfs-mp-base10:1.7 netbsd-5-1-RC3:1.7 netbsd-5-1-RC2:1.7 uebayasi-xip-base1:1.7 netbsd-5-1-RC1:1.7 rmind-uvmplock:1.7.0.76 rmind-uvmplock-base:1.7 yamt-nfs-mp-base9:1.7 uebayasi-xip:1.7.0.74 uebayasi-xip-base:1.7 netbsd-5-0-2-RELEASE:1.7 matt-nb5-mips64-premerge-20091211:1.7 matt-premerge-20091211:1.7 yamt-nfs-mp-base8:1.7 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.7 matt-nb4-mips64-k7-u2a-k9b:1.7 matt-nb5-mips64-u1-k1-k5:1.7 yamt-nfs-mp-base7:1.7 matt-nb5-mips64:1.7.0.72 netbsd-5-0-1-RELEASE:1.7 jymxensuspend-base:1.7 yamt-nfs-mp-base6:1.7 yamt-nfs-mp-base5:1.7 yamt-nfs-mp-base4:1.7 jym-xensuspend-nbase:1.7 yamt-nfs-mp-base3:1.7 nick-hppapmap-base4:1.7 nick-hppapmap-base3:1.7 netbsd-5-0:1.7.0.70 netbsd-5-0-RELEASE:1.7 netbsd-5-0-RC4:1.7 netbsd-5-0-RC3:1.7 nick-hppapmap-base2:1.7 netbsd-5-0-RC2:1.7 jym-xensuspend:1.7.0.68 jym-xensuspend-base:1.7 netbsd-5-0-RC1:1.7 haad-dm-base2:1.7 haad-nbase2:1.7 ad-audiomp2:1.7.0.66 ad-audiomp2-base:1.7 netbsd-5:1.7.0.64 netbsd-5-base:1.7 nick-hppapmap:1.7.0.62 nick-hppapmap-base:1.7 matt-mips64-base2:1.7 matt-mips64:1.7.0.60 haad-dm-base1:1.7 wrstuden-revivesa-base-4:1.7 netbsd-4-0-1-RELEASE:1.7 wrstuden-revivesa-base-3:1.7 wrstuden-revivesa-base-2:1.7 wrstuden-fixsa-newbase:1.7 nick-csl-alignment-base5:1.7 haad-dm:1.7.0.58 haad-dm-base:1.7 wrstuden-revivesa-base-1:1.7 simonb-wapbl-nbase:1.7 yamt-pf42-base4:1.7 simonb-wapbl:1.7.0.56 simonb-wapbl-base:1.7 yamt-pf42-base3:1.7 hpcarm-cleanup-nbase:1.7 yamt-pf42-baseX:1.7 yamt-pf42-base2:1.7 yamt-nfs-mp-base2:1.7 wrstuden-revivesa:1.7.0.54 wrstuden-revivesa-base:1.7 yamt-nfs-mp:1.7.0.52 yamt-nfs-mp-base:1.7 yamt-pf42:1.7.0.50 yamt-pf42-base:1.7 ad-socklock-base1:1.7 yamt-lazymbuf-base15:1.7 yamt-lazymbuf-base14:1.7 keiichi-mipv6-nbase:1.7 mjf-devfs2:1.7.0.48 mjf-devfs2-base:1.7 nick-net80211-sync:1.7.0.46 nick-net80211-sync-base:1.7 keiichi-mipv6:1.7.0.44 keiichi-mipv6-base:1.7 ad-audiomp-base-1:1.7 bouyer-xeni386-merge1:1.7 matt-armv6-prevmlocking:1.7 wrstuden-fixsa-base-1:1.7 vmlocking2-base3:1.7 netbsd-4-0:1.7.0.42 netbsd-4-0-RELEASE:1.7 bouyer-xeni386-nbase:1.7 yamt-kmem-base3:1.7 cube-autoconf:1.7.0.40 cube-autoconf-base:1.7 yamt-kmem-base2:1.7 bouyer-xeni386:1.7.0.38 bouyer-xeni386-base:1.7 yamt-kmem:1.7.0.36 yamt-kmem-base:1.7 vmlocking2-base2:1.7 reinoud-bufcleanup-nbase:1.7 vmlocking2:1.7.0.34 vmlocking2-base1:1.7 netbsd-4-0-RC5:1.7 matt-nb4-arm:1.7.0.32 matt-nb4-arm-base:1.7 matt-armv6-nbase:1.7 jmcneill-base:1.7 netbsd-4-0-RC4:1.7 mjf-devfs:1.7.0.30 mjf-devfs-base:1.7 bouyer-xenamd64-base2:1.7 vmlocking-nbase:1.7 yamt-x86pmap-base4:1.7 bouyer-xenamd64:1.7.0.28 bouyer-xenamd64-base:1.7 netbsd-4-0-RC3:1.7 yamt-x86pmap-base3:1.7 yamt-x86pmap-base2:1.7 netbsd-4-0-RC2:1.7 yamt-x86pmap:1.7.0.26 yamt-x86pmap-base:1.7 netbsd-4-0-RC1:1.7 matt-armv6:1.7.0.24 matt-armv6-base:1.7 matt-mips64-base:1.7 jmcneill-pm:1.7.0.22 jmcneill-pm-base:1.7 hpcarm-cleanup:1.7.0.20 hpcarm-cleanup-base:1.7 nick-csl-alignment:1.7.0.18 nick-csl-alignment-base:1.7 netbsd-3-1-1-RELEASE:1.5 netbsd-3-0-3-RELEASE:1.5 yamt-idlelwp-base8:1.7 wrstuden-fixsa:1.7.0.16 wrstuden-fixsa-base:1.7 thorpej-atomic:1.7.0.14 thorpej-atomic-base:1.7 reinoud-bufcleanup:1.7.0.12 reinoud-bufcleanup-base:1.7 mjf-ufs-trans:1.7.0.10 mjf-ufs-trans-base:1.7 vmlocking:1.7.0.8 vmlocking-base:1.7 ad-audiomp:1.7.0.6 ad-audiomp-base:1.7 yamt-idlelwp:1.7.0.4 post-newlock2-merge:1.7 newlock2-nbase:1.7 yamt-splraiseipl-base5:1.7 yamt-splraiseipl-base4:1.7 yamt-splraiseipl-base3:1.7 abandoned-netbsd-4-base:1.6 abandoned-netbsd-4:1.6.0.18 netbsd-3-1:1.5.0.14 netbsd-3-1-RELEASE:1.5 netbsd-3-0-2-RELEASE:1.5 yamt-splraiseipl-base2:1.7 netbsd-3-1-RC4:1.5 yamt-splraiseipl:1.6.0.22 yamt-splraiseipl-base:1.6 netbsd-3-1-RC3:1.5 yamt-pdpolicy-base9:1.6 newlock2:1.6.0.20 newlock2-base:1.7 yamt-pdpolicy-base8:1.6 netbsd-3-1-RC2:1.5 netbsd-3-1-RC1:1.5 yamt-pdpolicy-base7:1.6 netbsd-4:1.7.0.2 netbsd-4-base:1.7 yamt-pdpolicy-base6:1.6 chap-midi-nbase:1.6 netbsd-3-0-1-RELEASE:1.5 gdamore-uart:1.6.0.16 gdamore-uart-base:1.6 simonb-timcounters-final:1.6 yamt-pdpolicy-base5:1.6 chap-midi:1.6.0.14 chap-midi-base:1.6 yamt-pdpolicy-base4:1.6 yamt-pdpolicy-base3:1.6 peter-altq-base:1.6 peter-altq:1.6.0.12 yamt-pdpolicy-base2:1.6 elad-kernelauth-base:1.6 elad-kernelauth:1.6.0.10 yamt-pdpolicy:1.6.0.8 yamt-pdpolicy-base:1.6 yamt-uio_vmspace-base5:1.6 simonb-timecounters:1.6.0.6 simonb-timecounters-base:1.6 rpaulo-netinet-merge-pcb:1.6.0.4 rpaulo-netinet-merge-pcb-base:1.6 yamt-uio_vmspace:1.6.0.2 netbsd-3-0:1.5.0.12 netbsd-3-0-RELEASE:1.5 netbsd-3-0-RC6:1.5 yamt-readahead-base3:1.5 netbsd-3-0-RC5:1.5 netbsd-3-0-RC4:1.5 netbsd-3-0-RC3:1.5 yamt-readahead-base2:1.5 netbsd-3-0-RC2:1.5 yamt-readahead-pervnode:1.5 yamt-readahead-perfile:1.5 yamt-readahead:1.5.0.10 yamt-readahead-base:1.5 netbsd-3-0-RC1:1.5 yamt-vop-base3:1.5 netbsd-2-0-3-RELEASE:1.4 netbsd-2-1:1.4.0.16 yamt-vop-base2:1.5 thorpej-vnode-attr:1.5.0.8 thorpej-vnode-attr-base:1.5 netbsd-2-1-RELEASE:1.4 yamt-vop:1.5.0.6 yamt-vop-base:1.5 netbsd-2-1-RC6:1.4 netbsd-2-1-RC5:1.4 netbsd-2-1-RC4:1.4 netbsd-2-1-RC3:1.4 netbsd-2-1-RC2:1.4 netbsd-2-1-RC1:1.4 yamt-lazymbuf:1.5.0.4 yamt-km-base4:1.5 netbsd-2-0-2-RELEASE:1.4 yamt-km-base3:1.5 netbsd-3:1.5.0.2 netbsd-3-base:1.5 yamt-km-base2:1.4 yamt-km:1.4.0.12 yamt-km-base:1.4 kent-audio2:1.4.0.10 kent-audio2-base:1.5 netbsd-2-0-1-RELEASE:1.4 kent-audio1-beforemerge:1.4 netbsd-2:1.4.0.8 netbsd-2-base:1.4 kent-audio1:1.4.0.6 kent-audio1-base:1.4 netbsd-2-0-RELEASE:1.4 netbsd-2-0-RC5:1.4 netbsd-2-0-RC4:1.4 netbsd-2-0-RC3:1.4 netbsd-2-0-RC2:1.4 netbsd-2-0-RC1:1.4 netbsd-2-0:1.4.0.4 netbsd-2-0-base:1.4 netbsd-1-6-PATCH002-RELEASE:1.2 netbsd-1-6-PATCH002:1.2 netbsd-1-6-PATCH002-RC4:1.2 netbsd-1-6-PATCH002-RC3:1.2 netbsd-1-6-PATCH002-RC2:1.2 netbsd-1-6-PATCH002-RC1:1.2 ktrace-lwp:1.4.0.2 ktrace-lwp-base:1.5 netbsd-1-6-PATCH001:1.2 netbsd-1-6-PATCH001-RELEASE:1.2 netbsd-1-6-PATCH001-RC3:1.2 netbsd-1-6-PATCH001-RC2:1.2 netbsd-1-6-PATCH001-RC1:1.2 nathanw_sa_end:1.2.4.1 nathanw_sa_before_merge:1.4 fvdl_fs64_base:1.2 gmcgarry_ctxsw:1.2.0.24 gmcgarry_ctxsw_base:1.2 gmcgarry_ucred:1.2.0.22 gmcgarry_ucred_base:1.2 nathanw_sa_base:1.4 kqueue-aftermerge:1.2 kqueue-beforemerge:1.2 netbsd-1-6-RELEASE:1.2 netbsd-1-6-RC3:1.2 netbsd-1-6-RC2:1.2 netbsd-1-6-RC1:1.2 netbsd-1-6:1.2.0.20 netbsd-1-6-base:1.2 gehenna-devsw:1.2.0.18 gehenna-devsw-base:1.2 eeh-devprop:1.2.0.16 eeh-devprop-base:1.2 newlock:1.2.0.14 newlock-base:1.2 ifpoll-base:1.2 thorpej-mips-cache:1.2.0.10 thorpej-mips-cache-base:1.2 thorpej-devvp-base3:1.2 thorpej-devvp-base2:1.2 post-chs-ubcperf:1.2 pre-chs-ubcperf:1.2 thorpej-devvp:1.2.0.8 thorpej-devvp-base:1.2 kqueue:1.2.0.6 kqueue-base:1.2 thorpej_scsipi_beforemerge:1.2 nathanw_sa:1.2.0.4 thorpej_scsipi_nbase:1.2 thorpej_scsipi_base:1.2 thorpej_scsipi:1.2.0.2 kame_15_20001214:1.1.1.1 kame:1.1.1; locks; strict; comment @ * @; 1.7 date 2006.10.12.19.59.08; author peter; state Exp; branches; next 1.6; 1.6 date 2005.12.11.12.16.03; author christos; state Exp; branches 1.6.12.1 1.6.20.1 1.6.22.1; next 1.5; 1.5 date 2005.02.26.23.04.16; author perry; state Exp; branches 1.5.4.1; next 1.4; 1.4 date 2003.01.06.14.09.42; author christos; state Exp; branches 1.4.2.1 1.4.10.1 1.4.12.1; next 1.3; 1.3 date 2003.01.06.03.44.24; author christos; state Exp; branches; next 1.2; 1.2 date 2000.12.14.08.49.50; author thorpej; state Exp; branches 1.2.2.1 1.2.4.1; next 1.1; 1.1 date 2000.12.14.08.42.35; author thorpej; state Exp; branches 1.1.1.1; next ; 1.6.12.1 date 2006.03.18.12.08.18; author peter; state Exp; branches; next ; 1.6.20.1 date 2006.11.18.21.39.03; author ad; state Exp; branches; next ; 1.6.22.1 date 2006.10.22.06.04.30; author yamt; state Exp; branches; next ; 1.5.4.1 date 2006.12.30.20.45.17; author yamt; state Exp; branches; next ; 1.4.2.1 date 2005.03.04.16.38.00; author skrll; state Exp; branches; next ; 1.4.10.1 date 2005.04.29.11.27.58; author kent; state Exp; branches; next ; 1.4.12.1 date 2005.03.19.08.32.44; author yamt; state Exp; branches; next ; 1.2.2.1 date 2000.12.14.08.49.50; author bouyer; state dead; branches; next 1.2.2.2; 1.2.2.2 date 2001.01.05.17.39.37; author bouyer; state Exp; branches; next ; 1.2.4.1 date 2003.01.07.20.44.54; author thorpej; state Exp; branches; next ; 1.1.1.1 date 2000.12.14.08.42.35; author thorpej; state Exp; branches; next ; desc @@ 1.7 log @Merge the peter-altq branch. (sync with KAME & add support for using ALTQ with pf(4)). @ text @/* $NetBSD: altq_priq.h,v 1.6.12.1 2006/03/18 12:08:18 peter Exp $ */ /* $KAME: altq_priq.h,v 1.7 2003/10/03 05:05:15 kjc Exp $ */ /* * Copyright (C) 2000-2003 * Sony Computer Science Laboratories Inc. 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. * * THIS SOFTWARE IS PROVIDED BY SONY CSL 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 SONY CSL 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. */ #ifndef _ALTQ_ALTQ_PRIQ_H_ #define _ALTQ_ALTQ_PRIQ_H_ #include #include #include #include #ifdef __cplusplus extern "C" { #endif #define PRIQ_MAXPRI 16 /* upper limit of the number of priorities */ #ifdef ALTQ3_COMPAT struct priq_interface { char ifname[IFNAMSIZ]; /* interface name (e.g., fxp0) */ u_long arg; /* request-specific argument */ }; struct priq_add_class { struct priq_interface iface; int pri; /* priority (0 is the lowest) */ int qlimit; /* queue size limit */ int flags; /* misc flags (see below) */ u_int32_t class_handle; /* return value */ }; #endif /* ALTQ3_COMPAT */ /* priq class flags */ #define PRCF_RED 0x0001 /* use RED */ #define PRCF_ECN 0x0002 /* use RED/ECN */ #define PRCF_RIO 0x0004 /* use RIO */ #define PRCF_CLEARDSCP 0x0010 /* clear diffserv codepoint */ #define PRCF_DEFAULTCLASS 0x1000 /* default class */ /* special class handles */ #define PRIQ_NULLCLASS_HANDLE 0 #ifdef ALTQ3_COMPAT struct priq_delete_class { struct priq_interface iface; u_int32_t class_handle; }; struct priq_modify_class { struct priq_interface iface; u_int32_t class_handle; int pri; int qlimit; int flags; }; struct priq_add_filter { struct priq_interface iface; u_int32_t class_handle; struct flow_filter filter; u_long filter_handle; /* return value */ }; struct priq_delete_filter { struct priq_interface iface; u_long filter_handle; }; #endif /* ALTQ3_COMPAT */ struct priq_classstats { u_int32_t class_handle; u_int qlength; u_int qlimit; u_int period; struct pktcntr xmitcnt; /* transmitted packet counter */ struct pktcntr dropcnt; /* dropped packet counter */ /* red and rio related info */ int qtype; struct redstats red[3]; /* rio has 3 red stats */ }; #ifdef ALTQ3_COMPAT struct priq_class_stats { struct priq_interface iface; int maxpri; /* in/out */ struct priq_classstats *stats; /* pointer to stats array */ }; #define PRIQ_IF_ATTACH _IOW('Q', 1, struct priq_interface) #define PRIQ_IF_DETACH _IOW('Q', 2, struct priq_interface) #define PRIQ_ENABLE _IOW('Q', 3, struct priq_interface) #define PRIQ_DISABLE _IOW('Q', 4, struct priq_interface) #define PRIQ_CLEAR _IOW('Q', 5, struct priq_interface) #define PRIQ_ADD_CLASS _IOWR('Q', 7, struct priq_add_class) #define PRIQ_DEL_CLASS _IOW('Q', 8, struct priq_delete_class) #define PRIQ_MOD_CLASS _IOW('Q', 9, struct priq_modify_class) #define PRIQ_ADD_FILTER _IOWR('Q', 10, struct priq_add_filter) #define PRIQ_DEL_FILTER _IOW('Q', 11, struct priq_delete_filter) #define PRIQ_GETSTATS _IOWR('Q', 12, struct priq_class_stats) #endif /* ALTQ3_COMPAT */ #ifdef _KERNEL struct priq_class { u_int32_t cl_handle; /* class handle */ class_queue_t *cl_q; /* class queue structure */ struct red *cl_red; /* RED state */ int cl_pri; /* priority */ int cl_flags; /* class flags */ struct priq_if *cl_pif; /* back pointer to pif */ struct altq_pktattr *cl_pktattr; /* saved header used by ECN */ /* statistics */ u_int cl_period; /* backlog period */ struct pktcntr cl_xmitcnt; /* transmitted packet counter */ struct pktcntr cl_dropcnt; /* dropped packet counter */ }; /* * priq interface state */ struct priq_if { struct priq_if *pif_next; /* interface state list */ struct ifaltq *pif_ifq; /* backpointer to ifaltq */ u_int pif_bandwidth; /* link bandwidth in bps */ int pif_maxpri; /* max priority in use */ struct priq_class *pif_default; /* default class */ struct priq_class *pif_classes[PRIQ_MAXPRI]; /* classes */ #ifdef ALTQ3_CLFIER_COMPAT struct acc_classifier pif_classifier; /* classifier */ #endif }; #endif /* _KERNEL */ #ifdef __cplusplus } #endif #endif /* _ALTQ_ALTQ_PRIQ_H_ */ @ 1.6 log @merge ktrace-lwp. @ text @d1 2 a2 2 /* $NetBSD: altq_priq.h,v 1.4.2.1 2005/03/04 16:38:00 skrll Exp $ */ /* $KAME: altq_priq.h,v 1.1 2000/10/18 09:15:23 kjc Exp $ */ d4 1 a4 1 * Copyright (C) 2000 d43 1 d55 1 a55 1 u_long class_handle; /* return value */ d57 1 d69 1 d72 1 a72 1 u_long class_handle; d77 1 a77 1 u_long class_handle; d85 1 a85 1 u_long class_handle; d95 1 d97 2 a98 2 struct priq_basic_class_stats { u_long class_handle; d101 2 a102 1 u_int period; d107 2 a108 2 int qtype; struct redstats red[3]; /* rio has 3 red stats */ d111 1 d116 1 a116 1 struct priq_basic_class_stats *stats; /* pointer to stats array */ d131 2 d136 1 a136 1 u_long cl_handle; /* class handle */ d160 1 d162 1 @ 1.6.20.1 log @Sync with head. @ text @d1 2 a2 2 /* $NetBSD: altq_priq.h,v 1.7 2006/10/12 19:59:08 peter Exp $ */ /* $KAME: altq_priq.h,v 1.7 2003/10/03 05:05:15 kjc Exp $ */ d4 1 a4 1 * Copyright (C) 2000-2003 a42 1 #ifdef ALTQ3_COMPAT d54 1 a54 1 u_int32_t class_handle; /* return value */ a55 1 #endif /* ALTQ3_COMPAT */ a66 1 #ifdef ALTQ3_COMPAT d69 1 a69 1 u_int32_t class_handle; d74 1 a74 1 u_int32_t class_handle; d82 1 a82 1 u_int32_t class_handle; a91 1 #endif /* ALTQ3_COMPAT */ d93 2 a94 2 struct priq_classstats { u_int32_t class_handle; d97 1 a97 2 u_int qlimit; u_int period; d102 2 a103 2 int qtype; struct redstats red[3]; /* rio has 3 red stats */ a105 1 #ifdef ALTQ3_COMPAT d110 1 a110 1 struct priq_classstats *stats; /* pointer to stats array */ a124 2 #endif /* ALTQ3_COMPAT */ d128 1 a128 1 u_int32_t cl_handle; /* class handle */ a151 1 #ifdef ALTQ3_CLFIER_COMPAT a152 1 #endif @ 1.6.22.1 log @sync with head @ text @d1 2 a2 2 /* $NetBSD$ */ /* $KAME: altq_priq.h,v 1.7 2003/10/03 05:05:15 kjc Exp $ */ d4 1 a4 1 * Copyright (C) 2000-2003 a42 1 #ifdef ALTQ3_COMPAT d54 1 a54 1 u_int32_t class_handle; /* return value */ a55 1 #endif /* ALTQ3_COMPAT */ a66 1 #ifdef ALTQ3_COMPAT d69 1 a69 1 u_int32_t class_handle; d74 1 a74 1 u_int32_t class_handle; d82 1 a82 1 u_int32_t class_handle; a91 1 #endif /* ALTQ3_COMPAT */ d93 2 a94 2 struct priq_classstats { u_int32_t class_handle; d97 1 a97 2 u_int qlimit; u_int period; d102 2 a103 2 int qtype; struct redstats red[3]; /* rio has 3 red stats */ a105 1 #ifdef ALTQ3_COMPAT d110 1 a110 1 struct priq_classstats *stats; /* pointer to stats array */ a124 2 #endif /* ALTQ3_COMPAT */ d128 1 a128 1 u_int32_t cl_handle; /* class handle */ a151 1 #ifdef ALTQ3_CLFIER_COMPAT a152 1 #endif @ 1.6.12.1 log @Sync with KAME. @ text @d1 2 a2 2 /* $NetBSD$ */ /* $KAME: altq_priq.h,v 1.7 2003/10/03 05:05:15 kjc Exp $ */ d4 1 a4 1 * Copyright (C) 2000-2003 a42 1 #ifdef ALTQ3_COMPAT d54 1 a54 1 u_int32_t class_handle; /* return value */ a55 1 #endif /* ALTQ3_COMPAT */ a66 1 #ifdef ALTQ3_COMPAT d69 1 a69 1 u_int32_t class_handle; d74 1 a74 1 u_int32_t class_handle; d82 1 a82 1 u_int32_t class_handle; a91 1 #endif /* ALTQ3_COMPAT */ d93 2 a94 2 struct priq_classstats { u_int32_t class_handle; d97 1 a97 2 u_int qlimit; u_int period; d102 2 a103 2 int qtype; struct redstats red[3]; /* rio has 3 red stats */ a105 1 #ifdef ALTQ3_COMPAT d110 1 a110 1 struct priq_classstats *stats; /* pointer to stats array */ a124 2 #endif /* ALTQ3_COMPAT */ d128 1 a128 1 u_int32_t cl_handle; /* class handle */ a151 1 #ifdef ALTQ3_CLFIER_COMPAT a152 1 #endif @ 1.5 log @nuke trailing whitespace @ text @d1 1 a1 1 /* $NetBSD: altq_priq.h,v 1.4 2003/01/06 14:09:42 christos Exp $ */ @ 1.5.4.1 log @sync with head. @ text @d1 2 a2 2 /* $NetBSD$ */ /* $KAME: altq_priq.h,v 1.7 2003/10/03 05:05:15 kjc Exp $ */ d4 1 a4 1 * Copyright (C) 2000-2003 a42 1 #ifdef ALTQ3_COMPAT d54 1 a54 1 u_int32_t class_handle; /* return value */ a55 1 #endif /* ALTQ3_COMPAT */ a66 1 #ifdef ALTQ3_COMPAT d69 1 a69 1 u_int32_t class_handle; d74 1 a74 1 u_int32_t class_handle; d82 1 a82 1 u_int32_t class_handle; a91 1 #endif /* ALTQ3_COMPAT */ d93 2 a94 2 struct priq_classstats { u_int32_t class_handle; d97 1 a97 2 u_int qlimit; u_int period; d102 2 a103 2 int qtype; struct redstats red[3]; /* rio has 3 red stats */ a105 1 #ifdef ALTQ3_COMPAT d110 1 a110 1 struct priq_classstats *stats; /* pointer to stats array */ a124 2 #endif /* ALTQ3_COMPAT */ d128 1 a128 1 u_int32_t cl_handle; /* class handle */ a151 1 #ifdef ALTQ3_CLFIER_COMPAT a152 1 #endif @ 1.4 log @oops, forgot to rename two struct refs. @ text @d1 1 a1 1 /* $NetBSD: altq_priq.h,v 1.3 2003/01/06 03:44:24 christos Exp $ */ d39 1 a39 1 #endif d159 1 a159 1 #endif @ 1.4.10.1 log @sync with -current @ text @d1 1 a1 1 /* $NetBSD: altq_priq.h,v 1.5 2005/02/26 23:04:16 perry Exp $ */ d39 1 a39 1 #endif d159 1 a159 1 #endif @ 1.4.12.1 log @sync with head. xen and whitespace. xen part is not finished. @ text @d1 1 a1 1 /* $NetBSD: altq_priq.h,v 1.4 2003/01/06 14:09:42 christos Exp $ */ d39 1 a39 1 #endif d159 1 a159 1 #endif @ 1.4.2.1 log @Sync with HEAD. Hi Perry! @ text @d1 1 a1 1 /* $NetBSD: altq_priq.h,v 1.5 2005/02/26 23:04:16 perry Exp $ */ d39 1 a39 1 #endif d159 1 a159 1 #endif @ 1.3 log @avoid name collision [class_stats] @ text @d1 1 a1 1 /* $NetBSD: altq_priq.h,v 1.2 2000/12/14 08:49:50 thorpej Exp $ */ d110 1 a110 1 struct _priq_class_stats_ *stats; /* pointer to stats array */ @ 1.2 log @Add NetBSD RCS IDs. @ text @d1 1 a1 1 /* $NetBSD$ */ d93 1 a93 1 struct class_stats { d110 1 a110 1 struct class_stats *stats; /* pointer to stats array */ @ 1.2.2.1 log @file altq_priq.h was added on branch thorpej_scsipi on 2001-01-05 17:39:37 +0000 @ text @d1 161 @ 1.2.2.2 log @Sync with HEAD @ text @a0 161 /* $NetBSD: altq_priq.h,v 1.2.2.1 2001/01/05 17:39:37 bouyer Exp $ */ /* $KAME: altq_priq.h,v 1.1 2000/10/18 09:15:23 kjc Exp $ */ /* * Copyright (C) 2000 * Sony Computer Science Laboratories Inc. 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. * * THIS SOFTWARE IS PROVIDED BY SONY CSL 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 SONY CSL 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. */ #ifndef _ALTQ_ALTQ_PRIQ_H_ #define _ALTQ_ALTQ_PRIQ_H_ #include #include #include #include #ifdef __cplusplus extern "C" { #endif #define PRIQ_MAXPRI 16 /* upper limit of the number of priorities */ struct priq_interface { char ifname[IFNAMSIZ]; /* interface name (e.g., fxp0) */ u_long arg; /* request-specific argument */ }; struct priq_add_class { struct priq_interface iface; int pri; /* priority (0 is the lowest) */ int qlimit; /* queue size limit */ int flags; /* misc flags (see below) */ u_long class_handle; /* return value */ }; /* priq class flags */ #define PRCF_RED 0x0001 /* use RED */ #define PRCF_ECN 0x0002 /* use RED/ECN */ #define PRCF_RIO 0x0004 /* use RIO */ #define PRCF_CLEARDSCP 0x0010 /* clear diffserv codepoint */ #define PRCF_DEFAULTCLASS 0x1000 /* default class */ /* special class handles */ #define PRIQ_NULLCLASS_HANDLE 0 struct priq_delete_class { struct priq_interface iface; u_long class_handle; }; struct priq_modify_class { struct priq_interface iface; u_long class_handle; int pri; int qlimit; int flags; }; struct priq_add_filter { struct priq_interface iface; u_long class_handle; struct flow_filter filter; u_long filter_handle; /* return value */ }; struct priq_delete_filter { struct priq_interface iface; u_long filter_handle; }; struct class_stats { u_long class_handle; u_int qlength; u_int period; struct pktcntr xmitcnt; /* transmitted packet counter */ struct pktcntr dropcnt; /* dropped packet counter */ /* red and rio related info */ int qtype; struct redstats red[3]; /* rio has 3 red stats */ }; struct priq_class_stats { struct priq_interface iface; int maxpri; /* in/out */ struct class_stats *stats; /* pointer to stats array */ }; #define PRIQ_IF_ATTACH _IOW('Q', 1, struct priq_interface) #define PRIQ_IF_DETACH _IOW('Q', 2, struct priq_interface) #define PRIQ_ENABLE _IOW('Q', 3, struct priq_interface) #define PRIQ_DISABLE _IOW('Q', 4, struct priq_interface) #define PRIQ_CLEAR _IOW('Q', 5, struct priq_interface) #define PRIQ_ADD_CLASS _IOWR('Q', 7, struct priq_add_class) #define PRIQ_DEL_CLASS _IOW('Q', 8, struct priq_delete_class) #define PRIQ_MOD_CLASS _IOW('Q', 9, struct priq_modify_class) #define PRIQ_ADD_FILTER _IOWR('Q', 10, struct priq_add_filter) #define PRIQ_DEL_FILTER _IOW('Q', 11, struct priq_delete_filter) #define PRIQ_GETSTATS _IOWR('Q', 12, struct priq_class_stats) #ifdef _KERNEL struct priq_class { u_long cl_handle; /* class handle */ class_queue_t *cl_q; /* class queue structure */ struct red *cl_red; /* RED state */ int cl_pri; /* priority */ int cl_flags; /* class flags */ struct priq_if *cl_pif; /* back pointer to pif */ struct altq_pktattr *cl_pktattr; /* saved header used by ECN */ /* statistics */ u_int cl_period; /* backlog period */ struct pktcntr cl_xmitcnt; /* transmitted packet counter */ struct pktcntr cl_dropcnt; /* dropped packet counter */ }; /* * priq interface state */ struct priq_if { struct priq_if *pif_next; /* interface state list */ struct ifaltq *pif_ifq; /* backpointer to ifaltq */ u_int pif_bandwidth; /* link bandwidth in bps */ int pif_maxpri; /* max priority in use */ struct priq_class *pif_default; /* default class */ struct priq_class *pif_classes[PRIQ_MAXPRI]; /* classes */ struct acc_classifier pif_classifier; /* classifier */ }; #endif /* _KERNEL */ #ifdef __cplusplus } #endif #endif /* _ALTQ_ALTQ_PRIQ_H_ */ @ 1.2.4.1 log @Sync with HEAD. @ text @d1 1 a1 1 /* $NetBSD: altq_priq.h,v 1.2 2000/12/14 08:49:50 thorpej Exp $ */ d93 1 a93 1 struct priq_basic_class_stats { d110 1 a110 1 struct priq_basic_class_stats *stats; /* pointer to stats array */ @ 1.1 log @Initial revision @ text @d1 1 @ 1.1.1.1 log @Import ALTQ from KAME. @ text @@