summary refs log tree commit diff stats
path: root/lib/posix/posix_other_consts.nim
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2023-08-14 20:00:48 +0100
committerGitHub <noreply@github.com>2023-08-14 21:00:48 +0200
commit1927ae72d093d5e13bef6fd3fdf4700aa072f6bc (patch)
treefb2faf036dda9d6798450841729a1e03fa53442b /lib/posix/posix_other_consts.nim
parent09d0fda7fde69087c75a102b219d5eebf1b86db2 (diff)
downloadNim-1927ae72d093d5e13bef6fd3fdf4700aa072f6bc.tar.gz
Add Linux constant SO_BINDTODEVICE (#22468)
Diffstat (limited to 'lib/posix/posix_other_consts.nim')
-rw-r--r--lib/posix/posix_other_consts.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/posix/posix_other_consts.nim b/lib/posix/posix_other_consts.nim
index f4809a9c2..d346b4150 100644
--- a/lib/posix/posix_other_consts.nim
+++ b/lib/posix/posix_other_consts.nim
@@ -482,6 +482,7 @@ var MSG_EOR* {.importc: "MSG_EOR", header: "<sys/socket.h>".}: cint
 var MSG_OOB* {.importc: "MSG_OOB", header: "<sys/socket.h>".}: cint
 var SCM_RIGHTS* {.importc: "SCM_RIGHTS", header: "<sys/socket.h>".}: cint
 var SO_ACCEPTCONN* {.importc: "SO_ACCEPTCONN", header: "<sys/socket.h>".}: cint
+var SO_BINDTODEVICE* {.importc: "SO_BINDTODEVICE", header: "<sys/socket.h>".}: cint
 var SO_BROADCAST* {.importc: "SO_BROADCAST", header: "<sys/socket.h>".}: cint
 var SO_DEBUG* {.importc: "SO_DEBUG", header: "<sys/socket.h>".}: cint
 var SO_DONTROUTE* {.importc: "SO_DONTROUTE", header: "<sys/socket.h>".}: cint