diff options
author | Pascal Obry <obry@adacore.com> | 2023-06-26 19:58:16 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-07-28 09:28:15 +0200 |
commit | f74de746a79712e64962b03ab9ec7beebdec153a (patch) | |
tree | 96b16fbd8571c2e387141c073c1cbb585d27f981 /gcc/expr.cc | |
parent | 808ac54287901a344080b42e78c181a0c3566ccf (diff) | |
download | gcc-f74de746a79712e64962b03ab9ec7beebdec153a.zip gcc-f74de746a79712e64962b03ab9ec7beebdec153a.tar.gz gcc-f74de746a79712e64962b03ab9ec7beebdec153a.tar.bz2 |
ada: Add support for binding to a specific network interface controller.
gcc/ada/
* s-oscons-tmplt.c: Add support for SO_BINDTODEVICE constant.
* libgnat/g-socket.ads (Set_Socket_Option): Handle SO_BINDTODEVICE option.
(Get_Socket_Option): Handle SO_BINDTODEVICE option.
* libgnat/g-socket.adb: Likewise.
(Get_Socket_Option): Handle the case where IF_NAMESIZE is not defined
and so equal to -1.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions