~statik/ubuntu/maverick/erlang/erlang-merge-testing

« back to all changes in this revision

Viewing changes to lib/kernel/src/inet_int.hrl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-01 10:14:38 UTC
  • mfrom: (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090501101438-6qlr6rsdxgyzrg2z
Tags: 1:13.b-dfsg-2
* Cleaned up patches: removed unneeded patch which helped to support
  different SCTP library versions, made sure that changes for m68k
  architecture applied only when building on this architecture.
* Removed duplicated information from binary packages descriptions.
* Don't require libsctp-dev build-dependency on solaris-i386 architecture
  which allows to build Erlang on Nexenta (thanks to Tim Spriggs for
  the suggestion).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%% ``The contents of this file are subject to the Erlang Public License,
 
1
%%
 
2
%% %CopyrightBegin%
 
3
%% 
 
4
%% Copyright Ericsson AB 1997-2009. All Rights Reserved.
 
5
%% 
 
6
%% The contents of this file are subject to the Erlang Public License,
2
7
%% Version 1.1, (the "License"); you may not use this file except in
3
8
%% compliance with the License. You should have received a copy of the
4
9
%% Erlang Public License along with this software. If not, it can be
5
 
%% retrieved via the world wide web at http://www.erlang.org/.
 
10
%% retrieved online at http://www.erlang.org/.
6
11
%% 
7
12
%% Software distributed under the License is distributed on an "AS IS"
8
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
9
14
%% the License for the specific language governing rights and limitations
10
15
%% under the License.
11
16
%% 
12
 
%% The Initial Developer of the Original Code is Ericsson Utvecklings AB.
13
 
%% Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings
14
 
%% AB. All Rights Reserved.''
15
 
%% 
16
 
%%     $Id$
 
17
%% %CopyrightEnd%
17
18
%%
18
19
 
19
20
%%----------------------------------------------------------------------------
133
134
-define(INET_LOPT_PACKET_SIZE,   32).
134
135
-define(INET_LOPT_READ_PACKETS,  33).
135
136
-define(INET_OPT_RAW,            34).
 
137
-define(INET_LOPT_TCP_SEND_TIMEOUT_CLOSE, 35).
136
138
% Specific SCTP options: separate range:
137
139
-define(SCTP_OPT_RTOINFO,               100).
138
140
-define(SCTP_OPT_ASSOCINFO,             101).
175
177
-define(TCP_PB_HTTP,    10).
176
178
-define(TCP_PB_HTTPH,   11).
177
179
-define(TCP_PB_SSL_TLS, 12).
 
180
-define(TCP_PB_HTTP_BIN,13).
 
181
-define(TCP_PB_HTTPH_BIN,14).
178
182
 
179
183
%% bit options, INET_LOPT_BIT8
180
184
-define(INET_BIT8_CLEAR, 0).
350
354
        (((A) bor (B) bor (C) bor (D) bor (E) bor (F)) 
351
355
         band (bnot 16#ff)) =:= 0).
352
356
 
 
357
-define(port(P), (((P) band bnot 16#ffff) =:= 0)).
 
358
 
353
359
%% default options (when inet_drv port is started)
354
360
%%
355
361
%% bufsz   = INET_MIN_BUFFER (8K)