NetSim Source Code Help
Loading...
Searching...
No Matches
DHCP.h
Go to the documentation of this file.
1/************************************************************************************
2 * Copyright (C) 2020 *
3 * TETCOS, Bangalore. India *
4 * *
5 * Tetcos owns the intellectual property rights in the Product and its content. *
6 * The copying, redistribution, reselling or publication of any or all of the *
7 * Product or its content without express prior written consent of Tetcos is *
8 * prohibited. Ownership and / or any other right relating to the software and all *
9 * intellectual property rights therein shall remain at all times with Tetcos. *
10 * *
11 * Author: Shashi Kant Suman *
12 * *
13 * ---------------------------------------------------------------------------------*/
14#include "IP_Addressing.h"
15#ifndef _NETSIM_DHCP_H_
16#define _NETSIM_DHCP_H_
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21 typedef struct stru_IP_DHCP
22 {
27 unsigned int count;
29
32 _declspec(dllexport) unsigned int DHCP_DELETE_IP(IP_DHCP* dhcp,NETSIM_IPAddress ip);
33#ifdef __cplusplus
34}
35#endif
36#endif
struct stru_IP_DHCP IP_DHCP
NETSIM_IPAddress DHCP_GET_NEW_IP(IP_DHCP *dhcp)
unsigned int DHCP_DELETE_IP(IP_DHCP *dhcp, NETSIM_IPAddress ip)
IP_DHCP * DHCP_Init(NETSIM_IPAddress ip, NETSIM_IPAddress subnet, NETSIM_IPAddress gateway, struct stru_NetSim_Network *NETWORK)
#define _declspec(dllexport)
This function is used to trigger the update.
Definition: Linux.h:41
EXPORTED struct stru_NetSim_Network * NETWORK
Definition: Stack.h:742
NETSIM_IPAddress subnet
Definition: DHCP.h:24
unsigned int count
Definition: DHCP.h:27
NETSIM_IPAddress * iplist
Definition: DHCP.h:26
NETSIM_IPAddress ip
Definition: DHCP.h:23
NETSIM_IPAddress gateway
Definition: DHCP.h:25