|
| void | AuSocketAdd (AuSocket *sock, void *data, size_t sz) |
| | AuSocketAdd – add some data to socket.
|
| |
| void * | AuSocketGet (AuSocket *sock) |
| | AuSocketGet – retreives previously stacked data from the socket.
|
| |
| int | AuRawSocketReceive (AuSocket *sock, msghdr *msg, int flags) |
| | AuRawSocketReceive – checks if there is any received data in this raw socket.
|
| |
| int | AuRawSocketSend (AuSocket *sock, msghdr *msg, int flags) |
| |
| int | AuSocketSOSocket (AuSocket *sock, int optname, const void *optval, socklen_t optlen) |
| |
| int | AuSocketSetOpt (int sockfd, int level, int optname, const void *optval, socklen_t optlen) |
| |
| AuSocket * | AuNetCreateSocket () |
| |
| int | AuRawSocketClose (AuVFSNode *fs, AuVFSNode *file) |
| |
| int | SocketIOControl (AuVFSNode *file, int code, void *arg) |
| | SocketIOControl – Global socket io control function.
|
| |
| int | AuCreateRawSocket (int type, int protocol) |
| | AuCreateRawSocket – creates a very basic raw socket interface.
|
| |
| int | AuCreateSocket (int domain, int type, int protocol) |
| | AuCreateSocket – create a new socket for specific domain.
|
| |
| void | AuSocketInstall () |
| | AuSocketInstall – install the socket interface.
|
| |
| list_t * | AuRawSocketGetList () |
| | AuRawSocketGetList – get raw socket list.
|
| |
BSD 2-Clause License
Copyright (c) 2022-2024, Manas Kamal Choudhury All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.