diff options
| author | Michael Biebl <biebl@debian.org> | 2019-07-31 10:52:41 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2019-07-31 10:52:41 +0200 |
| commit | 3a99ba5fd066fe42bd5461360a7411766496619c (patch) | |
| tree | b43863fbe867d7b0f9f9032fd40664c521c88fcb /shared/n-dhcp4/src/util/socket.h | |
| parent | 13cfe714153013158bdf3e74ab58ab713a04223c (diff) | |
| parent | 2e5fa45ddfbb5cffa1e78221f1cea706e2f298af (diff) | |
Update upstream source from tag 'upstream/1.19.90'
Update to upstream version '1.19.90' with Debian dir 6d1a5b9902866beee1365904d425141b5d4c944c
Diffstat (limited to 'shared/n-dhcp4/src/util/socket.h')
| -rw-r--r-- | shared/n-dhcp4/src/util/socket.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shared/n-dhcp4/src/util/socket.h b/shared/n-dhcp4/src/util/socket.h new file mode 100644 index 00000000..b5ecf2c2 --- /dev/null +++ b/shared/n-dhcp4/src/util/socket.h @@ -0,0 +1,11 @@ +#pragma once + +/* + * Socket Utilities + */ + +#include <c-stdaux.h> +#include <stdlib.h> + +int socket_SIOCGIFNAME(int socket, int ifindex, char (*ifnamep)[IFNAMSIZ]); +int socket_bind_if(int socket, int ifindex); |