From 1fe597981c105bc3d1c9a38443e66ae6d61f2374 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 11 Dec 2023 08:08:17 +0000 Subject: Prepare for 2.14.1.0; add socket_sendnb46_g and socket_recvnb46_g Signed-off-by: Laurent Bercot --- src/headers/ip46-header | 1 + src/headers/ip46-with | 2 ++ src/headers/ip46-without | 2 ++ 3 files changed, 5 insertions(+) (limited to 'src') diff --git a/src/headers/ip46-header b/src/headers/ip46-header index 82c5e81..49936a7 100644 --- a/src/headers/ip46-header +++ b/src/headers/ip46-header @@ -8,6 +8,7 @@ #include #include +#include #include #define IP46_FMT IP6_FMT 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) diff --git a/src/headers/ip46-without b/src/headers/ip46-without index 9d224e1..5f332db 100644 --- a/src/headers/ip46-without +++ b/src/headers/ip46-without @@ -38,4 +38,6 @@ struct ip46_s #define socket_remote46(fd, i, port) socket_remote4(fd, (i)->ip, port) #define socket_recvnb46(fd, buf, len, i, 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) socket_sendnb4(fd, buf, len, (i)->ip, port, deadline, stamp) +#define socket_sendnb46_g(fd, buf, len, i, port, deadline, stamp) socket_sendnb46(fd, buf, len, i, port, (deadline), &STAMP) -- cgit 1.4.1