1 /* |
1 /* |
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
84 struct sockaddr *from, socklen_t *fromlen); |
84 struct sockaddr *from, socklen_t *fromlen); |
85 int NET_ReadV(int s, const struct iovec * vector, int count); |
85 int NET_ReadV(int s, const struct iovec * vector, int count); |
86 int NET_Send(int s, void *msg, int len, unsigned int flags); |
86 int NET_Send(int s, void *msg, int len, unsigned int flags); |
87 int NET_SendTo(int s, const void *msg, int len, unsigned int |
87 int NET_SendTo(int s, const void *msg, int len, unsigned int |
88 flags, const struct sockaddr *to, int tolen); |
88 flags, const struct sockaddr *to, int tolen); |
89 int NET_Writev(int s, const struct iovec * vector, int count); |
|
90 int NET_Connect(int s, struct sockaddr *addr, int addrlen); |
89 int NET_Connect(int s, struct sockaddr *addr, int addrlen); |
91 int NET_Accept(int s, struct sockaddr *addr, socklen_t *addrlen); |
90 int NET_Accept(int s, struct sockaddr *addr, socklen_t *addrlen); |
92 int NET_SocketClose(int s); |
91 int NET_SocketClose(int s); |
93 int NET_Dup2(int oldfd, int newfd); |
92 int NET_Dup2(int oldfd, int newfd); |
94 int NET_Poll(struct pollfd *ufds, unsigned int nfds, int timeout); |
93 int NET_Poll(struct pollfd *ufds, unsigned int nfds, int timeout); |