diff options
author | Scott Lobdell <slobdell@google.com> | 2019-08-25 12:20:54 -0700 |
---|---|---|
committer | Scott Lobdell <slobdell@google.com> | 2019-08-25 12:20:54 -0700 |
commit | 4f9bfdcaca2414c8959986f0a4d73f16cb15e1c4 (patch) | |
tree | 540bab5498d276cbbfad24c48a7ff989ee8b920a /libc/private/NetdClientDispatch.h | |
parent | bfda022dd6fbbcea60e9f52496d90ece514b32da (diff) | |
parent | f77cc9b224c35fa7d1d71e7c374ef19e47b5f6a5 (diff) |
Merge RP1A.190822.001
Change-Id: Iaf90835a99d87f6246798efd2cea6fe9f750ea18
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 |