Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions lltdResponder/lltdDaemonCore.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#ifndef LLTD_RESPONDER_DAEMON_CORE_H
#define LLTD_RESPONDER_DAEMON_CORE_H

#include <stddef.h>
#include <stdint.h>

#include "lltdProtocol.h"

typedef struct lltd_iface {
void *ctx; /* passed through to lltd_port_send_frame() */
ethernet_address_t mac;
size_t mtu;
} lltd_iface;

int lltd_daemon_handle_frame(const lltd_iface *iface,
const void *frame,
size_t frame_len);

#endif