/ Client IP address only filled in if client is in BOUND, RENEW or REBINDING state and can respond to ARP requests. ![]() ![]() / Filled in by client, seconds elapsed since client began address acquisition or renewal process. / Transaction ID, a random number chosen by the client, used by the client and server to associate messages and responses between a client and a server. / Client sets to zero, optionally used by relay agents when booting via a relay agent. / Hardware address type, see ARP section in "Assigned Numbers" RFC e.g., '1' = 10mb ethernet. / Header (part up to the option fields) of a DHCP packet, as on wire. Static assert(false, "Unsupported platform") Import std.c.windows.winsock : ntohs, htons, ntohl, htonl I have been looking at this in hopes to figure out how to alter it but I am not all that familiar with the D language, making it a cumbersome task. Ideally getting all option information from the lease would be great but I really only need it for a specific option that I want to use to package/receive information with. I have been looking around and have been trying to figure out how to query the dhcp server I am connected to and get all options available or to at least be able to query with a proper option in mind and get that information in response.
0 Comments
Leave a Reply. |