1
0
mirror of https://frontier.innolan.net/rainlance/amiga-ntimed.git synced 2026-05-03 07:30:04 +00:00

Fix IPv6 by wrapping UDP in a struct.

This commit is contained in:
Poul-Henning Kamp
2015-01-04 12:05:26 +00:00
parent 5863c482e4
commit eb7db0adcd
10 changed files with 137 additions and 58 deletions

12
udp.h
View File

@@ -33,7 +33,13 @@
* UDP sockets
*/
int UdpTimedSocket(struct ocx *ocx, int fam);
ssize_t UdpTimedRx(struct ocx *ocx, int fd, struct sockaddr_storage *ss,
socklen_t *sl, struct timestamp *ts, void *buf, ssize_t len);
struct udp_socket *UdpTimedSocket(struct ocx *ocx);
ssize_t UdpTimedRx(struct ocx *, const struct udp_socket *,
struct sockaddr_storage *, socklen_t *,
struct timestamp *,
void *, ssize_t len,
double tmo);
ssize_t Udp_Send(struct ocx *, const struct udp_socket *,
const void *sa, socklen_t, const void *ptr, ssize_t);