Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vlib: fix error when creating avf interface on SMP system
[vpp.git]
/
extras
/
vom
/
vom
/
dhcp_client_cmds.hpp
diff --git
a/extras/vom/vom/dhcp_client_cmds.hpp
b/extras/vom/vom/dhcp_client_cmds.hpp
index
e7db38f
..
10d4026
100644
(file)
--- a/
extras/vom/vom/dhcp_client_cmds.hpp
+++ b/
extras/vom/vom/dhcp_client_cmds.hpp
@@
-29,7
+29,7
@@
namespace dhcp_client_cmds {
/**
* A command class that binds the DHCP config to the interface
*/
/**
* A command class that binds the DHCP config to the interface
*/
-class bind_cmd : public rpc_cmd<HW::item<bool>,
rc_t,
vapi::Dhcp_client_config>
+class bind_cmd : public rpc_cmd<HW::item<bool>, vapi::Dhcp_client_config>
{
public:
/**
{
public:
/**
@@
-39,7
+39,8
@@
public:
const handle_t& itf,
const std::string& hostname,
const l2_address_t& client_id,
const handle_t& itf,
const std::string& hostname,
const l2_address_t& client_id,
- bool set_braodcast_flag = false);
+ bool set_braodcast_flag,
+ const ip_dscp_t& dscp);
/**
* Issue the command to VPP/HW
/**
* Issue the command to VPP/HW
@@
-75,13
+76,17
@@
private:
* Flag to control the setting the of DHCP discover's broadcast flag
*/
const bool m_set_broadcast_flag;
* Flag to control the setting the of DHCP discover's broadcast flag
*/
const bool m_set_broadcast_flag;
+
+ /**
+ * DSCP bits
+ */
+ const ip_dscp_t& m_dscp;
};
/**
* A cmd class that Unbinds Dhcp Config from an interface
*/
};
/**
* A cmd class that Unbinds Dhcp Config from an interface
*/
-class unbind_cmd
- : public rpc_cmd<HW::item<bool>, rc_t, vapi::Dhcp_client_config>
+class unbind_cmd : public rpc_cmd<HW::item<bool>, vapi::Dhcp_client_config>
{
public:
/**
{
public:
/**