Module: WinSock2 Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc. All rights reserved. License: Functional Objects Library Public License Version 1.0 Dual-license: GNU Lesser General Public License Warranty: Distributed WITHOUT WARRANTY OF ANY KIND // This file is automatically generated from "qos.h"; do not edit. // Adapted from: /*++ Module Name: qos.h - QoS definitions for NDIS components. Abstract: This module defines the Quality of Service structures and types used by Winsock applications. Revision History: --*/ define inline constant = ; define inline-only constant $SERVICETYPE-NOTRAFFIC = #x00000000; define inline-only constant $SERVICETYPE-BESTEFFORT = #x00000001; define inline-only constant $SERVICETYPE-CONTROLLEDLOAD = #x00000002; define inline-only constant $SERVICETYPE-GUARANTEED = #x00000003; define inline-only constant $SERVICETYPE-NETWORK-UNAVAILABLE = #x00000004; define inline-only constant $SERVICETYPE-GENERAL-INFORMATION = #x00000005; define inline-only constant $SERVICETYPE-NOCHANGE = #x00000006; define inline-only constant $SERVICE-IMMEDIATE-TRAFFIC-CONTROL = as(, #x80000000); define inline-only constant $SERVICE-NO-QOS-SIGNALING = as(, #x40000000); define C-struct sealed inline-only slot TokenRate-value :: ; sealed inline-only slot TokenBucketSize-value :: ; sealed inline-only slot PeakBandwidth-value :: ; sealed inline-only slot Latency-value :: ; sealed inline-only slot DelayVariation-value :: ; sealed inline-only slot ServiceType-value :: ; sealed inline-only slot MaxSduSize-value :: ; sealed inline-only slot MinimumPolicedSize-value :: ; pointer-type-name: ; c-name: "struct _flowspec"; end C-struct ; define inline constant = ; define C-struct sealed inline-only slot ObjectType-value :: ; sealed inline-only slot ObjectLength-value :: ; pointer-type-name: ; end C-struct ; define inline-only constant $RSVP-OBJECT-ID-BASE = 1000; define inline-only constant $QOS-GENERAL-ID-BASE = 2000; define inline-only constant $QOS-NOT-SPECIFIED = $FFFFFFFF; define inline-only constant $POSITIVE-INFINITY-RATE = as(, #xFFFFFFFE); define C-union sealed inline-only slot Addr-value :: ; sealed inline-only array slot AddrBytes-array :: , length: 4, address-getter: AddrBytes-value; end C-union ; define inline constant = ; define C-struct sealed inline-only array slot Addr-array :: , length: 16, address-getter: Addr-value; pointer-type-name: ; c-name: "struct _IN_ADDR_IPV6"; end C-struct ; define inline constant = /* const */ ; define C-struct sealed inline-only slot Address-value :: ; sealed inline-only slot Unused-value :: ; sealed inline-only slot Port-value :: ; pointer-type-name: ; c-name: "struct _RSVP_FILTERSPEC_V4"; end C-struct ; define C-struct sealed inline-only slot Address-value :: ; sealed inline-only slot UnUsed-value :: ; sealed inline-only slot Port-value :: ; pointer-type-name: ; c-name: "struct _RSVP_FILTERSPEC_V6"; end C-struct ; define C-struct sealed inline-only slot Address-value :: ; sealed inline-only slot UnUsed-value :: ; sealed inline-only array slot FlowLabel-array :: , length: 3, address-getter: FlowLabel-value; pointer-type-name: ; c-name: "struct _RSVP_FILTERSPEC_V6_FLOW"; end C-struct ; define C-struct sealed inline-only slot Address-value :: ; sealed inline-only slot GeneralPortId-value :: ; pointer-type-name: ; c-name: "struct _RSVP_FILTERSPEC_V4_GPI"; end C-struct ; define C-struct sealed inline-only slot Address-value :: ; sealed inline-only slot GeneralPortId-value :: ; pointer-type-name: ; c-name: "struct _RSVP_FILTERSPEC_V6_GPI"; end C-struct ; // enum FilterType: define inline-only constant $FILTERSPECV4 = 1; define inline-only constant $FILTERSPECV6 = 1 + 1; define inline-only constant $FILTERSPECV6-FLOW = $FILTERSPECV6 + 1; define inline-only constant $FILTERSPECV4-GPI = $FILTERSPECV6-FLOW + 1; define inline-only constant $FILTERSPECV6-GPI = $FILTERSPECV4-GPI + 1; define inline-only constant $FILTERSPEC-END = $FILTERSPECV6-GPI + 1; define C-union sealed inline-only slot FilterSpecV4-value :: ; sealed inline-only slot FilterSpecV6-value :: ; sealed inline-only slot FilterSpecV6Flow-value :: ; sealed inline-only slot FilterSpecV4Gpi-value :: ; sealed inline-only slot FilterSpecV6Gpi-value :: ; end; define C-struct sealed inline-only slot Type-value :: ; sealed inline-only slot u-value :: ; pointer-type-name: ; c-name: "struct _RSVP_FILTERSPEC"; end C-struct ; define C-struct sealed inline-only slot FlowSpec-value :: ; sealed inline-only slot NumFilters-value :: ; sealed inline-only slot FilterList-value :: ; pointer-type-name: ; c-name: "struct _FLOWDESCRIPTOR"; end C-struct ; define C-struct sealed inline-only slot Type-value :: ; pointer-type-name: ; c-name: "struct _RSVP_POLICY"; end C-struct ; define inline constant = /* const */ ; define C-struct sealed inline-only slot ObjectHdr-value :: ; sealed inline-only slot Style-value :: ; sealed inline-only slot ConfirmRequest-value :: ; sealed inline-only slot Policy-value :: ; sealed inline-only slot NumFlowDesc-value :: ; sealed inline-only slot FlowDescList-value :: ; pointer-type-name: ; c-name: "struct _RSVP_RESERVE_INFO"; end C-struct ; define inline constant = /* const */ ; define inline-only constant $RSVP-WILDCARD-STYLE = #x00000001; define inline-only constant $RSVP-FIXED-FILTER-STYLE = #x00000002; define inline-only constant $RSVP-SHARED-EXPLICIT-STYLE = #x00000003; define C-struct sealed inline-only slot ObjectHdr-value :: ; sealed inline-only slot StatusCode-value :: ; sealed inline-only slot ExtendedStatus1-value :: ; sealed inline-only slot ExtendedStatus2-value :: ; pointer-type-name: ; c-name: "struct _RSVP_STATUS_INFO"; end C-struct ; define inline constant = /* const */ ; define C-struct sealed inline-only slot ObjectHdr-value :: ; sealed inline-only slot SendPriority-value :: ; sealed inline-only slot SendFlags-value :: ; sealed inline-only slot ReceivePriority-value :: ; sealed inline-only slot Unused-value :: ; pointer-type-name: ; c-name: "struct _QOS_PRIORITY"; end C-struct ; define C-struct sealed inline-only slot ObjectHdr-value :: ; sealed inline-only slot ShapeDiscardMode-value :: ; pointer-type-name: ; c-name: "struct _QOS_SD_MODE"; end C-struct ; define inline-only constant $TC-NONCONF-BORROW = 0; define inline-only constant $TC-NONCONF-SHAPE = 1; define inline-only constant $TC-NONCONF-DISCARD = 2; define C-struct sealed inline-only slot ObjectHdr-value :: ; sealed inline-only slot TrafficClass-value :: ; pointer-type-name: ; c-name: "struct _QOS_TRAFFIC_CLASS"; end C-struct ; define C-struct sealed inline-only slot IntServAwareHopCount-value :: ; sealed inline-only slot PathBandwidthEstimate-value :: ; sealed inline-only slot MinimumLatency-value :: ; sealed inline-only slot PathMTU-value :: ; sealed inline-only slot Flags-value :: ; pointer-type-name: ; c-name: "struct _AD_GENERAL_PARAMS"; end C-struct ; define inline-only constant $AD-FLAG-BREAK-BIT = #x00000001; define C-struct sealed inline-only slot CTotal-value :: ; sealed inline-only slot DTotal-value :: ; sealed inline-only slot CSum-value :: ; sealed inline-only slot DSum-value :: ; pointer-type-name: ; c-name: "struct _AD_GUARANTEED"; end C-struct ; define C-struct sealed inline-only slot ParameterId-value :: ; sealed inline-only slot Length-value :: ; sealed inline-only array slot Buffer-array :: , length: 1, address-getter: Buffer-value; pointer-type-name: ; c-name: "struct _PARAM_BUFFER"; end C-struct ; define C-union sealed inline-only slot Guaranteed-value :: ; sealed inline-only array slot ParamBuffer-array :: , length: 1, address-getter: ParamBuffer-value; end; define C-struct sealed inline-only slot Length-value :: ; sealed inline-only slot Service-value :: ; sealed inline-only slot Overrides-value :: ; sealed inline-only slot u-value :: ; pointer-type-name: ; c-name: "struct _CONTROL_SERVICE"; end C-struct ; define C-struct sealed inline-only slot ObjectHdr-value :: ; sealed inline-only slot GeneralParams-value :: ; sealed inline-only slot NumberOfServices-value :: ; sealed inline-only array slot Services-array :: , length: 1, address-getter: Services-value; pointer-type-name: ; c-name: "struct _RSVP_ADSPEC"; end C-struct ; define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize (); define sealed domain make (singleton()); define sealed domain initialize ();