ReactOS 0.4.16-dev-306-g647d351
|
#include <rosdhcp.h>
Go to the source code of this file.
Functions | |
void | SocketInit () |
ssize_t | send_packet (struct interface_info *ip, struct dhcp_packet *p, size_t size, struct in_addr addr, struct sockaddr_in *broadcast, struct hardware *hardware) |
ssize_t | receive_packet (struct interface_info *ip, unsigned char *packet_data, size_t packet_len, struct sockaddr_in *dest, struct hardware *hardware) |
Variables | |
SOCKET | ServerSocket |
ssize_t receive_packet | ( | struct interface_info * | ip, |
unsigned char * | packet_data, | ||
size_t | packet_len, | ||
struct sockaddr_in * | dest, | ||
struct hardware * | hardware | ||
) |
Definition at line 34 of file socket.c.
Referenced by got_one().
ssize_t send_packet | ( | struct interface_info * | ip, |
struct dhcp_packet * | p, | ||
size_t | size, | ||
struct in_addr | addr, | ||
struct sockaddr_in * | broadcast, | ||
struct hardware * | hardware | ||
) |
Definition at line 9 of file socket.c.
Referenced by send_decline(), send_discover(), and send_request().
SOCKET ServerSocket |
Definition at line 3 of file socket.c.
Referenced by SocketInit(), START_TEST(), and Test_Overread().