X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdhcp%2Fclient.h;h=1c2becb3058b8e480c31a4dfc887b190451b23dd;hb=refs%2Fchanges%2F69%2F10169%2F2;hp=d9c7e25d0b216fb3bbc3201557c477a19a89c46a;hpb=9d42087149a6870965896be74dc6260f72d2cac9;p=vpp.git diff --git a/src/vnet/dhcp/client.h b/src/vnet/dhcp/client.h index d9c7e25d0b2..1c2becb3058 100644 --- a/src/vnet/dhcp/client.h +++ b/src/vnet/dhcp/client.h @@ -71,6 +71,10 @@ typedef struct /* Information used for event callback */ u32 client_index; u32 pid; + + /* Set the broadcast Flag in the Discover/Request messages */ + u8 set_broadcast_flag; + void *event_callback; } dhcp_client_t; @@ -90,6 +94,7 @@ typedef struct { int is_add; u32 sw_if_index; + u8 set_broadcast_flag; /* vectors, consumed by dhcp client code */ u8 *hostname; @@ -118,7 +123,8 @@ int dhcp_client_config (vlib_main_t * vm, u8 * hostname, u8 * client_id, u32 is_add, - u32 client_index, void *event_callback, u32 pid); + u32 client_index, + void *event_callback, u8 set_broadcast_flag, u32 pid); #endif /* included_dhcp_client_h */