summaryrefslogtreecommitdiff
path: root/src/headers/ip46-with
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-12-11 08:08:17 +0000
committerLaurent Bercot <ska@appnovation.com>2023-12-11 08:08:17 +0000
commit1fe597981c105bc3d1c9a38443e66ae6d61f2374 (patch)
treeff81d18bc34adfb11779ecb804f49ff13bca3f3b /src/headers/ip46-with
parentfdc1396b7ee156d074e6cff07b56e74546de1973 (diff)
downloadskalibs-1fe597981c105bc3d1c9a38443e66ae6d61f2374.tar.xz
Prepare for 2.14.1.0; add socket_sendnb46_g and socket_recvnb46_g
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/headers/ip46-with')
-rw-r--r--src/headers/ip46-with2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/headers/ip46-with b/src/headers/ip46-with
index 29f0dd0..5eec291 100644
--- a/src/headers/ip46-with
+++ b/src/headers/ip46-with
@@ -34,4 +34,6 @@ 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)