diff options
Diffstat (limited to 'src/protocol/udp/rx.c')
| -rw-r--r-- | src/protocol/udp/rx.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/protocol/udp/rx.c b/src/protocol/udp/rx.c new file mode 100644 index 0000000..29aa4cc --- /dev/null +++ b/src/protocol/udp/rx.c @@ -0,0 +1,21 @@ +/* + * wip, a small TCP/IP stack. + * Copyright (C) 2025 Xavier Del Campo Romero + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + */ + +#include <wip/wip.h> +#include <wip/prv/log.h> +#include <wip/prv/udp.h> +#include <wip/prv/udp/types.h> +#include <stddef.h> + +enum wip_state wip_udp_rx(struct wip *const wip, const void *const buf, + const size_t n, void *const args) +{ + wip_log("%s: TODO\n"); + return WIP_OK; +} |
