XenevaOS
Loading...
Searching...
No Matches
net_io.h
Go to the documentation of this file.
1//
2// Copyright(C) 2005-2014 Simon Howard
3//
4// This program is free software; you can redistribute it and/or
5// modify it under the terms of the GNU General Public License
6// as published by the Free Software Foundation; either version 2
7// of the License, or (at your option) any later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// DESCRIPTION:
15// Network packet manipulation (net_packet_t)
16//
17
18#ifndef NET_IO_H
19#define NET_IO_H
20
21#include "net_defs.h"
22
24
29boolean NET_RecvPacket(net_context_t *context, net_addr_t **addr,
30 net_packet_t **packet);
34
35#endif /* #ifndef NET_IO_H */
36
struct _net_context_s net_context_t
Definition net_defs.h:50
char * NET_AddrToString(net_addr_t *addr)
boolean NET_RecvPacket(net_context_t *context, net_addr_t **addr, net_packet_t **packet)
net_context_t * NET_NewContext(void)
void NET_FreeAddress(net_addr_t *addr)
net_addr_t net_broadcast_addr
net_addr_t * NET_ResolveAddress(net_context_t *context, char *address)
void NET_SendBroadcast(net_context_t *context, net_packet_t *packet)
void NET_SendPacket(net_addr_t *addr, net_packet_t *packet)
void NET_AddModule(net_context_t *context, net_module_t *module)
Definition net_defs.h:96
Definition net_defs.h:61
Definition net_defs.h:53