Skip to content

Commit

Permalink
addrconf: added dhcp4 user-class structures
Browse files Browse the repository at this point in the history
  • Loading branch information
kmroz authored and mtomaschewski committed Jan 28, 2015
1 parent 8f091a3 commit 9c27bf3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions include/wicked/addrconf.h
Expand Up @@ -83,6 +83,19 @@ typedef enum ni_dhcp6_mode {
struct ni_dhcp6_status;
struct ni_dhcp6_ia;

/*
* DHCPv4 user class structure
*/
typedef enum {
NI_DHCP4_USER_CLASS_RFC3004 = 0U,
NI_DHCP4_USER_CLASS_STRING,
} ni_dhcp4_user_class_format_t;

typedef struct ni_dhcp4_user_class {
ni_dhcp4_user_class_format_t format;
ni_string_array_t class_id;
} ni_dhcp4_user_class_t;

typedef struct ni_addrconf_updater ni_addrconf_updater_t;

struct ni_addrconf_lease {
Expand Down

0 comments on commit 9c27bf3

Please sign in to comment.