[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27570] [PATCH] syscalls: Export IFF_UP, IFF_BROADCAST, IFF_LOOPBACK
From: |
Danny Milosavljevic |
Subject: |
[bug#27570] [PATCH] syscalls: Export IFF_UP, IFF_BROADCAST, IFF_LOOPBACK, IFF_RUNNING. |
Date: |
Tue, 4 Jul 2017 02:46:47 +0200 |
* guix/build/syscalls.scm (IFF_RUNNING): New variable.
(IFF_UP, IFF_BROADCAST, IFF_LOOPBACK, IFF_RUNNING): Export.
---
guix/build/syscalls.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm
index 9c082b435..9e2b7a0ca 100644
--- a/guix/build/syscalls.scm
+++ b/guix/build/syscalls.scm
@@ -88,6 +88,10 @@
PF_PACKET
AF_PACKET
+ IFF_UP
+ IFF_BROADCAST
+ IFF_LOOPBACK
+ IFF_RUNNING
all-network-interface-names
network-interface-names
network-interface-netmask
@@ -1108,6 +1112,7 @@ bytes."
(define-as-needed IFF_UP #x1) ;Interface is up
(define-as-needed IFF_BROADCAST #x2) ;Broadcast address valid.
(define-as-needed IFF_LOOPBACK #x8) ;Is a loopback net.
+(define-as-needed IFF_RUNNING #x40) ;interface RFC2863 OPER_UP
(define IF_NAMESIZE 16) ;maximum interface name size
- [bug#27570] [PATCH] syscalls: Add IFF_UP, IFF_BROADCAST, IFF_LOOPBACK, IFF_RUNNING., Danny Milosavljevic, 2017/07/03
- [bug#27570] [PATCH] syscalls: Export IFF_UP, IFF_BROADCAST, IFF_LOOPBACK, IFF_RUNNING.,
Danny Milosavljevic <=
- [bug#27570] [PATCH v3] syscalls: Add network-interface-running?, Danny Milosavljevic, 2017/07/03
- [bug#27570] [PATCH] syscalls: Add IFF_UP, IFF_BROADCAST, IFF_LOOPBACK, IFF_RUNNING., Ludovic Courtès, 2017/07/10