diff options
author | Raimo Niskanen <[email protected]> | 2011-09-02 10:38:39 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2011-11-17 12:10:59 +0100 |
commit | faea8584311fcb5365c585280e5e9b2364ed121e (patch) | |
tree | 3a560347d7b10cdd815ae7afe19839439e4e8cfb /lib/kernel/src/inet_int.hrl | |
parent | bfb350ecc30d44e64ed75512690a0e4fbbb6bc2a (diff) | |
download | otp-faea8584311fcb5365c585280e5e9b2364ed121e.tar.gz otp-faea8584311fcb5365c585280e5e9b2364ed121e.tar.bz2 otp-faea8584311fcb5365c585280e5e9b2364ed121e.zip |
erts,kernel: Add type stream sockets to SCTP
Diffstat (limited to 'lib/kernel/src/inet_int.hrl')
-rw-r--r-- | lib/kernel/src/inet_int.hrl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kernel/src/inet_int.hrl b/lib/kernel/src/inet_int.hrl index 9154e90e1f..735347b4b1 100644 --- a/lib/kernel/src/inet_int.hrl +++ b/lib/kernel/src/inet_int.hrl @@ -29,7 +29,7 @@ -define(INET_AF_ANY, 3). % Fake for ANY in any address family -define(INET_AF_LOOPBACK, 4). % Fake for LOOPBACK in any address family -%% type codes (gettype, INET_REQ_GETTYPE) +%% type codes to open and gettype - INET_REQ_GETTYPE -define(INET_TYPE_STREAM, 1). -define(INET_TYPE_DGRAM, 2). -define(INET_TYPE_SEQPACKET, 3). @@ -401,6 +401,7 @@ ifaddr, port = 0, fd = -1, + type = seqpacket, opts = [{mode, binary}, {buffer, ?SCTP_DEF_BUFSZ}, {sndbuf, ?SCTP_DEF_BUFSZ}, |