Configuration Specification
4-31
Initialization and Configuration
J
CFG_CLIENTSTATUS_STATIC – Reported via DHCP INFORM or
non-DHCP application
J
CFG_CLIENTSTATUS_INVALID – Invalidated by DHCP DECLINE
-
IPN IPAddr;
This is IP address of the client.
-
char MacAddr[6];
This is physical Ethernet address of the client.
-
char Hostname[CFG_HOSTNAME_MAX];
This is the hostname of the client. It is recorded by the DHCP server ser-
vice, even if the record is STATIC. Thus, when running DHCP server, even
with a fixed client list, DHCP clients can specify their own host names, and
this names will be available to the DNS resolver – i.e., DNS server and
DNS client.
-
UINT32 TimeStatus;
This is the last time that the Status parameter was validated. It is thus the
start time of a DHCP client lease.
-
UINT32 TimeExpire;
This is the total time in seconds of a DHCP client lease reported by the
DHCP server to its clients. When using an address pool for the DHCP
server, the server chooses this value.
4.4.7
Client User Account (CFGTAG_ACCT)
The ACCT entry specifies an account record of a client that has access to the
system. It is used by the PPP server to validate clients with PAP or CHAP.
When specifying a ACCT entry to the configuration, the Tag parameter is set
to CFGTAG_ACCT, and the Item parameter is set to the account type. Current-
ly, the only valid type is for PPP, so valid type are:
CFGITEM_ACCT_PPP
PPP user account
The ACCT entry instance structure is defined as follows:
typedef struct _ci_acct {
uint Flags; // Account Flags
char Username[CFG_ACCTSTR_MAX]; // Username
char Password[CFG_ACCTSTR_MAX]; // Password
} CI_ACCT;
The individual fields are defined as follows: