diff options
author | Grigorii Demidov <grigorii.demidov@nic.cz> | 2018-12-11 16:39:52 +0100 |
---|---|---|
committer | Petr Špaček <petr.spacek@nic.cz> | 2018-12-13 12:26:38 +0100 |
commit | f51138dc4cd5aeba44a911e566a22f91640fac73 (patch) | |
tree | 4dd6721ce9fe7b0bc689141332cf678d2bca78f5 /daemon/network.h | |
parent | daemon/bindings: eBPF socket filters bindings, avoid usage of lua 5.3 macro; ... (diff) | |
download | knot-resolver-f51138dc4cd5aeba44a911e566a22f91640fac73.tar.xz knot-resolver-f51138dc4cd5aeba44a911e566a22f91640fac73.zip |
daemon/bindings: eBPF socket filter support, fix broken RHEL/CentOS build; fix callbacks for map_walk()
Diffstat (limited to 'daemon/network.h')
-rw-r--r-- | daemon/network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/network.h b/daemon/network.h index 1554f44b..11e1feba 100644 --- a/daemon/network.h +++ b/daemon/network.h @@ -66,5 +66,5 @@ int network_close(struct network *net, const char *addr, uint16_t port); int network_set_tls_cert(struct network *net, const char *cert); int network_set_tls_key(struct network *net, const char *key); void network_new_hostname(struct network *net, struct engine *engine); -bool network_set_bpf(struct network *net, int bpf_fd); +int network_set_bpf(struct network *net, int bpf_fd); void network_clear_bpf(struct network *net); |