#include <headers.h>
#include <datatypes.h>
#include <options.h>
#include <display.h>
#include <leases.h>
#include <parser.h>
Go to the source code of this file.
◆ MYPORT
Definition at line 8 of file main.c.
◆ main()
hosttype.c Copyright (C) 2002 by Brian Palmer brian.nosp@m.p@sg.nosp@m.inet..nosp@m.com
Definition at line 12 of file main.c.
21 int addr_len, numbytes;
43 memset(&(my_addr.sin_zero),
'\0', 8);
53 (
struct sockaddr *)&their_addr, &addr_len)) != -1) {
INT WSAAPI recvfrom(IN SOCKET s, OUT CHAR FAR *buf, IN INT len, IN INT flags, OUT LPSOCKADDR from, IN OUT INT FAR *fromlen)
SOCKET WSAAPI socket(IN INT af, IN INT type, IN INT protocol)
INT WSAAPI bind(IN SOCKET s, IN CONST struct sockaddr *name, IN INT namelen)
INT WSAAPI WSACleanup(VOID)
int display_dhcp_packet(DHCPMESSAGE *dhcpm, DHCPOPTIONS *dhcpo)
_CRTIMP void __cdecl perror(_In_opt_z_ const char *_ErrMsg)
INT WINAPI WSAStartup(IN WORD wVersionRequested, OUT LPWSADATA lpWSAData)
int process_dhcp_packet(DHCPMESSAGE *, DHCPOPTIONS *)
int parse_dhcp_options(DHCPMESSAGE *, DHCPOPTIONS *)
◆ list