diff options
author | Rickard Green <[email protected]> | 2013-04-30 12:56:50 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-05-06 22:33:53 +0200 |
commit | 127f970059371d968238c8e461bc5c547b021899 (patch) | |
tree | 9705d6d8cb20d9e3ab124421cf40f2679a7bdf2a /lib/kernel/src/inet.erl | |
parent | febb7963a74930dccccd3d23ef56a54d27fd2549 (diff) | |
download | otp-127f970059371d968238c8e461bc5c547b021899.tar.gz otp-127f970059371d968238c8e461bc5c547b021899.tar.bz2 otp-127f970059371d968238c8e461bc5c547b021899.zip |
Make high_msgq_watermark and low_msgq_watermark generic inet options
Diffstat (limited to 'lib/kernel/src/inet.erl')
-rw-r--r-- | lib/kernel/src/inet.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/kernel/src/inet.erl b/lib/kernel/src/inet.erl index 9670271b2e..aada1252ad 100644 --- a/lib/kernel/src/inet.erl +++ b/lib/kernel/src/inet.erl @@ -712,7 +712,8 @@ udp_options() -> [tos, priority, reuseaddr, sndbuf, recbuf, header, active, buffer, mode, deliver, ipv6_v6only, broadcast, dontroute, multicast_if, multicast_ttl, multicast_loop, - add_membership, drop_membership, read_packets,raw]. + add_membership, drop_membership, read_packets,raw, + high_msgq_watermark, low_msgq_watermark]. udp_options(Opts, Family) -> @@ -766,7 +767,7 @@ udp_add(Name, Val, R, Opts, As) -> sctp_options() -> [ % The following are generic inet options supported for SCTP sockets: mode, active, buffer, tos, priority, dontroute, reuseaddr, linger, sndbuf, - recbuf, ipv6_v6only, + recbuf, ipv6_v6only, high_msgq_watermark, low_msgq_watermark, % Other options are SCTP-specific (though they may be similar to their % TCP and UDP counter-parts): |