~vcs-imports/busybox/trunk

« back to all changes in this revision

Viewing changes to networking/udhcp/dhcpc.h

  • Committer: Denys Vlasenko
  • Author(s): Christian Franke
  • Date: 2023-11-13 10:32:35 UTC
  • Revision ID: git-v1:a63b60bdd6fa26b867c80d44074118babbae7ffd
Cygwin: regenerate defconfig

Signed-off-by: Christian Franke <christian.franke@t-online.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
        uint8_t client_mac[6];          /* Our mac address */
12
12
        IF_FEATURE_UDHCP_PORT(uint16_t port;)
13
13
        int ifindex;                    /* Index number of the interface to use */
 
14
        uint32_t xid;
14
15
        uint8_t opt_mask[256 / 8];      /* Bitmask of options to send (-O option) */
15
16
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TODO: DHCPv6 has 16-bit option numbers
16
17
        const char *interface;          /* The name of the interface to use */
17
18
        char *pidfile;                  /* Optionally store the process ID */
18
19
        const char *script;             /* User script to run at dhcp events */
19
20
        struct option_set *options;     /* list of DHCP options to send to server */
20
 
        uint8_t *clientid;              /* Optional client id to use */
21
 
        uint8_t *vendorclass;           /* Optional vendor class-id to use */
22
 
        uint8_t *hostname;              /* Optional hostname to use */
23
 
        uint8_t *fqdn;                  /* Optional fully qualified domain name to use */
 
21
        llist_t *envp;                  /* list of DHCP options used for env vars */
24
22
 
25
23
        unsigned first_secs;
26
24
        unsigned last_secs;