1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2020 Philippe Reynes <philippe.reynes@softathome.com>
10 static struct udp_ops *udp_ops;
17 ret = udp_ops->prereq(udp_ops->data);
24 return udp_ops->start(udp_ops->data);
27 int udp_loop(struct udp_ops *ops)
32 printf("%s: ops should not be null\n", __func__);
37 printf("%s: no start function defined\n", __func__);