blob: 5a5e65a59524a237afe6168226b2bc2f63869c4e [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <inet6/inet6.h>
zx_time_t tftp_next_timeout();
void tftp_recv(void* data, size_t len, const ip6_addr_t* daddr, uint16_t dport,
const ip6_addr_t* saddr, uint16_t sport);
void tftp_timeout_expired();
bool tftp_has_pending();
void tftp_send_next();