diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-12-11 09:13:16 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-12-11 09:13:16 +0000 |
commit | 370bdd3c5739aa8d94753e841aecf71fa04d9400 (patch) | |
tree | 93ec71b6a093971d91c16f61ea3e03147e94525e /src/headers/ip46-with | |
parent | 1fe597981c105bc3d1c9a38443e66ae6d61f2374 (diff) | |
download | skalibs-370bdd3c5739aa8d94753e841aecf71fa04d9400.tar.xz |
socket_recv46 was never working
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/headers/ip46-with')
-rw-r--r-- | src/headers/ip46-with | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/headers/ip46-with b/src/headers/ip46-with index 5eec291..f6e0ed1 100644 --- a/src/headers/ip46-with +++ b/src/headers/ip46-with @@ -28,12 +28,8 @@ typedef ip46full ip46, *ip46_ref ; #define socket_udp46_nbcoe(h) ((h) ? socket_udp6_nbcoe() : socket_udp4_nbcoe()) #define socket_udp46_internal(h, flags) ((h) ? socket_udp6_internal(flags) : socket_udp4_internal(flags)) -#define socket_recv46(fd, s, len, i, port) ((i)->is6 ? socket_recv6(fd, s, len, (i)->ip, port) : socket_recv4(fd, s, len, (i)->ip, port)) #define socket_send46(fd, s, len, i, port) ((i)->is6 ? socket_send6(fd, s, len, (i)->ip, port) : socket_send4(fd, s, len, (i)->ip, port)) extern int socket_local46 (int, ip46 *, uint16_t *) ; extern int socket_remote46 (int, ip46 *, uint16_t *) ; -#define socket_recvnb46(fd, buf, len, i, port, deadline, stamp) ((i)->is6 ? socket_recvnb6(fd, buf, len, (i)->ip, port, deadline, stamp) : socket_recvnb4(fd, buf, len, (i)->ip, port, deadline, stamp)) -#define socket_recvnb46_g(fd, buf, len, i, port, deadline) socket_recvnb46(fd, buf, len, i, port, (deadline), &STAMP) #define socket_sendnb46(fd, buf, len, i, port, deadline, stamp) ((i)->is6 ? socket_sendnb6(fd, buf, len, (i)->ip, port, deadline, stamp) : socket_sendnb4(fd, buf, len, (i)->ip, port, deadline, stamp)) -#define socket_sendnb46_g(fd, buf, len, i, port, deadline) socket_sendnb46(fd, buf, len, i, port, (deadline), &STAMP) |