summaryrefslogtreecommitdiffstats
path: root/src/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.c')
-rw-r--r--src/network.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network.c b/src/network.c
index 98df5ea..090dec8 100644
--- a/src/network.c
+++ b/src/network.c
@@ -61,6 +61,11 @@ void nethdr_set_ack(struct nethdr *net)
__nethdr_set(net, NETHDR_ACK_SIZ, NET_T_CTL);
}
+void nethdr_set_ctl(struct nethdr *net)
+{
+ __nethdr_set(net, NETHDR_SIZ, NET_T_CTL);
+}
+
static size_t tx_buflenmax;
static size_t tx_buflen = 0;
static char *tx_buf;