diff options
Diffstat (limited to 'libc/private/NetdClientDispatch.h')
-rw-r--r-- | libc/private/NetdClientDispatch.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/private/NetdClientDispatch.h b/libc/private/NetdClientDispatch.h index 20e7f25b7..7ebbe0c02 100644 --- a/libc/private/NetdClientDispatch.h +++ b/libc/private/NetdClientDispatch.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef PRIVATE_NETD_CLIENT_DISPATCH_H -#define PRIVATE_NETD_CLIENT_DISPATCH_H +#pragma once #include <sys/cdefs.h> #include <sys/socket.h> @@ -25,6 +24,9 @@ __BEGIN_DECLS struct NetdClientDispatch { int (*accept4)(int, struct sockaddr*, socklen_t*, int); int (*connect)(int, const struct sockaddr*, socklen_t); + int (*sendmmsg)(int, const struct mmsghdr*, unsigned int, int); + ssize_t (*sendmsg)(int, const struct msghdr*, unsigned int); + int (*sendto)(int, const void*, size_t, int, const struct sockaddr*, socklen_t); int (*socket)(int, int, int); unsigned (*netIdForResolv)(unsigned); int (*dnsOpenProxy)(); @@ -33,5 +35,3 @@ struct NetdClientDispatch { extern __LIBC_HIDDEN__ struct NetdClientDispatch __netdClientDispatch; __END_DECLS - -#endif // PRIVATE_NETD_CLIENT_DISPATCH_H |