diff options
author | Thomas Quinot <quinot@adacore.com> | 2008-03-26 08:34:57 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2008-03-26 08:34:57 +0100 |
commit | 4e0ede3df752962d473249716152e00d779eec66 (patch) | |
tree | 468353a8f7fe1902433ae7f2395131578ba89eea /gcc/ada/g-soccon-linux-x86.ads | |
parent | 939759fcc993f08e734ed2942a64a8f406335b07 (diff) | |
download | gcc-4e0ede3df752962d473249716152e00d779eec66.tar.gz |
re PR ada/33688 (Ada package Gnat.Sockets missing constant for IP_PKTINFO (patch))
2008-03-26 Thomas Quinot <quinot@adacore.com>
PR ada/33688
* g-socket.ads, g-socket.adb (Options, Set_Socket_Option,
Get_Socket_Option): Add support for Receive_Packet_Info.
* g-soccon.ads, g-soccon-tru64.ads, g-soccon-aix.ads,
g-soccon-irix.ads, g-soccon-hpux.ads, g-soccon-solaris.ads,
g-soccon-vms.ads, g-soccon-mingw.ads, g-soccon-freebsd.ads,
g-soccon-hpux-ia64.ads, g-soccon-solaris-64.ads, g-soccon-darwin.ads,
g-soccon-lynxos.ads, g-soccon-linux-64.ads, g-soccon-linux-x86.ads: Add
new constants SO_REUSEPORT and IP_PKTINFO
From-SVN: r133545
Diffstat (limited to 'gcc/ada/g-soccon-linux-x86.ads')
-rw-r--r-- | gcc/ada/g-soccon-linux-x86.ads | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/g-soccon-linux-x86.ads b/gcc/ada/g-soccon-linux-x86.ads index cb42441a57c..ca1418f3fca 100644 --- a/gcc/ada/g-soccon-linux-x86.ads +++ b/gcc/ada/g-soccon-linux-x86.ads @@ -149,6 +149,7 @@ package GNAT.Sockets.Constants is TCP_NODELAY : constant := 1; -- Do not coalesce packets SO_REUSEADDR : constant := 2; -- Bind reuse local address + SO_REUSEPORT : constant := -1; -- Bind reuse port number SO_KEEPALIVE : constant := 9; -- Enable keep-alive msgs SO_LINGER : constant := 13; -- Defer close to flush data SO_BROADCAST : constant := 6; -- Can send broadcast msgs @@ -162,6 +163,7 @@ package GNAT.Sockets.Constants is IP_MULTICAST_LOOP : constant := 34; -- Set/get mcast loopback IP_ADD_MEMBERSHIP : constant := 35; -- Join a multicast group IP_DROP_MEMBERSHIP : constant := 36; -- Leave a multicast group + IP_PKTINFO : constant := 8; -- Get datagram info ------------------- -- System limits -- |