~ubuntu-branches/ubuntu/feisty/fpc/feisty

« back to all changes in this revision

Viewing changes to rtl/darwin/unxsockh.inc

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-01-27 20:08:50 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070127200850-9mrptaqqjsx9nwa7
Tags: 2.0.4-5
* Fixed Build-Depends.
* Add myself to Uploaders in debian/control.
* Make sure that the sources are really patched before building them.
* Build unit 'libc' on powerpc too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{
2
 
   $Id: unxsockh.inc,v 1.2 2005/02/14 17:13:22 peter Exp $
3
2
   This file is part of the Free Pascal run time library.
4
3
   (c) 2000-2003 by Marco van de Voort
5
4
   member of the Free Pascal development team.
68
67
        SHUT_WR         =1;             { shut down the writing side }
69
68
        SHUT_RDWR       =2;             { shut down both sides }
70
69
 
71
 
 
72
 
{
73
 
   $Log: unxsockh.inc,v $
74
 
   Revision 1.2  2005/02/14 17:13:22  peter
75
 
     * truncate log
76
 
 
77
 
}
78
 
 
79
 
 
 
70
        IPPROTO_IP              = 0;            { dummy for IP }
 
71
        IPPROTO_HOPOPTS         = 0;            { IP6 hop-by-hop options }
 
72
        IPPROTO_ICMP            = 1;            { control message protocol }
 
73
        IPPROTO_IGMP            = 2;            { group mgmt protocol }
 
74
        IPPROTO_GGP             = 3;            { gateway^2 (deprecated) }
 
75
        IPPROTO_IPV4            = 4;            { IPv4 encapsulation }
 
76
        IPPROTO_IPIP            = IPPROTO_IPV4; { for compatibility }
 
77
        IPPROTO_TCP             = 6;            { tcp }
 
78
        IPPROTO_ST              = 7;            { Stream protocol II }
 
79
        IPPROTO_EGP             = 8;            { exterior gateway protocol }
 
80
        IPPROTO_PIGP            = 9;            { private interior gateway }
 
81
        IPPROTO_RCCMON          = 10;           { BBN RCC Monitoring }
 
82
        IPPROTO_NVPII           = 11;           { network voice protocol}
 
83
        IPPROTO_PUP             = 12;           { pup }
 
84
        IPPROTO_ARGUS           = 13;           { Argus }
 
85
        IPPROTO_EMCON           = 14;           { EMCON }
 
86
        IPPROTO_XNET            = 15;           { Cross Net Debugger }
 
87
        IPPROTO_CHAOS           = 16;           { Chaos}
 
88
        IPPROTO_UDP             = 17;           { user datagram protocol }
 
89
        IPPROTO_MUX             = 18;           { Multiplexing }
 
90
        IPPROTO_MEAS            = 19;           { DCN Measurement Subsystems }
 
91
        IPPROTO_HMP             = 20;           { Host Monitoring }
 
92
        IPPROTO_PRM             = 21;           { Packet Radio Measurement }
 
93
        IPPROTO_IDP             = 22;           { xns idp }
 
94
        IPPROTO_TRUNK1          = 23;           { Trunk-1 }
 
95
        IPPROTO_TRUNK2          = 24;           { Trunk-2 }
 
96
        IPPROTO_LEAF1           = 25;           { Leaf-1 }
 
97
        IPPROTO_LEAF2           = 26;           { Leaf-2 }
 
98
        IPPROTO_RDP             = 27;           { Reliable Data }
 
99
        IPPROTO_IRTP            = 28;           { Reliable Transaction }
 
100
        IPPROTO_TP              = 29;           { tp-4 w/ class negotiation }
 
101
        IPPROTO_BLT             = 30;           { Bulk Data Transfer }
 
102
        IPPROTO_NSP             = 31;           { Network Services }
 
103
        IPPROTO_INP             = 32;           { Merit Internodal }
 
104
        IPPROTO_SEP             = 33;           { Sequential Exchange }
 
105
        IPPROTO_3PC             = 34;           { Third Party Connect }
 
106
        IPPROTO_IDPR            = 35;           { InterDomain Policy Routing }
 
107
        IPPROTO_XTP             = 36;           { XTP }
 
108
        IPPROTO_DDP             = 37;           { Datagram Delivery }
 
109
        IPPROTO_CMTP            = 38;           { Control Message Transport }
 
110
        IPPROTO_TPXX            = 39;           { TP++ Transport }
 
111
        IPPROTO_IL              = 40;           { IL transport protocol }
 
112
        IPPROTO_IPV6            = 41;           { IP6 header }
 
113
        IPPROTO_SDRP            = 42;           { Source Demand Routing }
 
114
        IPPROTO_ROUTING         = 43;           { IP6 routing header }
 
115
        IPPROTO_FRAGMENT        = 44;           { IP6 fragmentation header }
 
116
        IPPROTO_IDRP            = 45;           { InterDomain Routing}
 
117
        IPPROTO_RSVP            = 46;           { resource reservation }
 
118
        IPPROTO_GRE             = 47;           { General Routing Encap. }
 
119
        IPPROTO_MHRP            = 48;           { Mobile Host Routing }
 
120
        IPPROTO_BHA             = 49;           { BHA }
 
121
        IPPROTO_ESP             = 50;           { IP6 Encap Sec. Payload }
 
122
        IPPROTO_AH              = 51;           { IP6 Auth Header }
 
123
        IPPROTO_INLSP           = 52;           { Integ. Net Layer Security }
 
124
        IPPROTO_SWIPE           = 53;           { IP with encryption }
 
125
        IPPROTO_NHRP            = 54;           { Next Hop Resolution }
 
126
{ 55-57: Unassigned }               
 
127
        IPPROTO_ICMPV6          = 58;           { ICMP6 }
 
128
        IPPROTO_NONE            = 59;           { IP6 no next header }
 
129
        IPPROTO_DSTOPTS         = 60;           { IP6 destination option }
 
130
        IPPROTO_AHIP            = 61;           { any host internal protocol }
 
131
        IPPROTO_CFTP            = 62;           { CFTP }
 
132
        IPPROTO_HELLO           = 63;           { "hello" routing protocol }
 
133
        IPPROTO_SATEXPAK        = 64;           { SATNET/Backroom EXPAK }
 
134
        IPPROTO_KRYPTOLAN       = 65;           { Kryptolan }
 
135
        IPPROTO_RVD             = 66;           { Remote Virtual Disk }
 
136
        IPPROTO_IPPC            = 67;           { Pluribus Packet Core }
 
137
        IPPROTO_ADFS            = 68;           { Any distributed FS }
 
138
        IPPROTO_SATMON          = 69;           { Satnet Monitoring }
 
139
        IPPROTO_VISA            = 70;           { VISA Protocol }
 
140
        IPPROTO_IPCV            = 71;           { Packet Core Utility }
 
141
        IPPROTO_CPNX            = 72;           { Comp. Prot. Net. Executive }
 
142
        IPPROTO_CPHB            = 73;           { Comp. Prot. HeartBeat }
 
143
        IPPROTO_WSN             = 74;           { Wang Span Network }
 
144
        IPPROTO_PVP             = 75;           { Packet Video Protocol }
 
145
        IPPROTO_BRSATMON        = 76;           { BackRoom SATNET Monitoring }
 
146
        IPPROTO_ND              = 77;           { Sun net disk proto (temp.) }
 
147
        IPPROTO_WBMON           = 78;           { WIDEBAND Monitoring }
 
148
        IPPROTO_WBEXPAK         = 79;           { WIDEBAND EXPAK }
 
149
        IPPROTO_EON             = 80;           { ISO cnlp }
 
150
        IPPROTO_VMTP            = 81;           { VMTP }
 
151
        IPPROTO_SVMTP           = 82;           { Secure VMTP }
 
152
        IPPROTO_VINES           = 83;           { Banyon VINES }
 
153
        IPPROTO_TTP             = 84;           { TTP }
 
154
        IPPROTO_IGP             = 85;           { NSFNET-IGP }
 
155
        IPPROTO_DGP             = 86;           { dissimilar gateway prot. }
 
156
        IPPROTO_TCF             = 87;           { TCF }
 
157
        IPPROTO_IGRP            = 88;           { Cisco/GXS IGRP }
 
158
        IPPROTO_OSPFIGP         = 89;           { OSPFIGP }
 
159
        IPPROTO_SRPC            = 90;           { Strite RPC protocol }
 
160
        IPPROTO_LARP            = 91;           { Locus Address Resoloution }
 
161
        IPPROTO_MTP             = 92;           { Multicast Transport }
 
162
        IPPROTO_AX25            = 93;           { AX.25 Frames }
 
163
        IPPROTO_IPEIP           = 94;           { IP encapsulated in IP }
 
164
        IPPROTO_MICP            = 95;           { Mobile Int.ing control }
 
165
        IPPROTO_SCCSP           = 96;           { Semaphore Comm. security }
 
166
        IPPROTO_ETHERIP         = 97;           { Ethernet IP encapsulation }
 
167
        IPPROTO_ENCAP           = 98;           { encapsulation header }
 
168
        IPPROTO_APES            = 99;           { any private encr. scheme }
 
169
        IPPROTO_GMTP            =100;           { GMTP}
 
170
        IPPROTO_IPCOMP          =108;           { payload compression (IPComp) }
 
171
{ 101-254: Partly Unassigned }      
 
172
        IPPROTO_PIM             =103;           { Protocol Independent Mcast }
 
173
        IPPROTO_PGM             =113;           { PGM }
 
174
{ 255: Reserved }                   
 
175
{ BSD Private, local use, namespace incursion }
 
176
        IPPROTO_DIVERT          =254;           { divert pseudo-protocol }
 
177
        IPPROTO_RAW             =255;           { raw IP packet }
 
178
 
 
179
        IPPROTO_MAX             =256;
 
180
 
 
181
        IPPROTO_DONE            =257;
 
182
 
 
183
        IPV6_OPTIONS            = 1;  { buf/ip6_opts; set/get IP6 options }
 
184
        IPV6_RECVOPTS           = 5;  { bool; receive all IP6 opts w/dgram }
 
185
        IPV6_RECVRETOPTS        = 6;  { bool; receive IP6 opts for response }
 
186
        IPV6_RECVDSTADDR        = 7;  { bool; receive IP6 dst addr w/dgram }
 
187
        IPV6_RETOPTS            = 8;  { ip6_opts; set/get IP6 options }
 
188
        IPV6_SOCKOPT_RESERVED1  = 3;  { reserved for future use }
 
189
        IPV6_UNICAST_HOPS       = 4;  { int; IP6 hops }
 
190
        IPV6_MULTICAST_IF       = 9;  { __uint8_t; set/get IP6 multicast i/f  }
 
191
        IPV6_MULTICAST_HOPS     =10; { __uint8_t; set/get IP6 multicast hops }
 
192
        IPV6_MULTICAST_LOOP     =11; { __uint8_t; set/get IP6 mcast loopback }
 
193
        IPV6_JOIN_GROUP         =12; { ip6_mreq; join a group membership }
 
194
        IPV6_LEAVE_GROUP        =13; { ip6_mreq; leave a group membership }
 
195
        IPV6_PORTRANGE          =14; { int; range to choose for unspec port }
 
196
        ICMP6_FILTER            =18; { icmp6_filter; icmp6 filter }
 
197
        IPV6_PKTINFO            =19; { bool; send/recv if, src/dst addr }
 
198
        IPV6_HOPLIMIT           =20; { bool; hop limit }
 
199
        IPV6_NEXTHOP            =21; { bool; next hop addr }
 
200
        IPV6_HOPOPTS            =22; { bool; hop-by-hop option }
 
201
        IPV6_DSTOPTS            =23; { bool; destination option }
 
202
        IPV6_RTHDR              =24; { bool; routing header }
 
203
        IPV6_PKTOPTIONS         =25; { buf/cmsghdr; set/get IPv6 options }
 
204
        IPV6_CHECKSUM           =26; { int; checksum offset for raw socket }
 
205
        IPV6_V6ONLY             =27; { bool; only bind INET6 at wildcard bind }
 
206
        IPV6_BINDV6ONLY         =IPV6_V6ONLY;
 
207
        IPV6_IPSEC_POLICY       =28; { struct; get/set security policy }
 
208
        IP_OPTIONS              =  1;    { buf/ip_opts; set/get IP options }
 
209
        IP_HDRINCL              =  2;    { int; header is included with data }
 
210
        IP_TOS                  =  3;    { int; IP type of service and preced. }
 
211
        IP_TTL                  =  4;    { int; IP time to live }
 
212
        IP_RECVOPTS             =  5;    { bool; receive all IP opts w/dgram }
 
213
        IP_RECVRETOPTS          =  6;    { bool; receive IP opts for response }
 
214
        IP_RECVDSTADDR          =  7;    { bool; receive IP dst addr w/dgram }
 
215
        IP_RETOPTS              =  8;    { ip_opts; set/get IP options }
 
216
        IP_MULTICAST_IF         =  9;    { u_char; set/get IP multicast i/f  }
 
217
        IP_MULTICAST_TTL        = 10;   { u_char; set/get IP multicast ttl }
 
218
        IP_MULTICAST_LOOP       = 11;   { u_char; set/get IP multicast loopback }
 
219
        IP_ADD_MEMBERSHIP       = 12;   { ip_mreq; add an IP group membership }
 
220
        IP_DROP_MEMBERSHIP      = 13;   { ip_mreq; drop an IP group membership }