Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
dhcp ip: DSCP settings for transmitted DHCP packets
[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
89fe7ee
..
10d4026
100644
(file)
--- a/
extras/vom/vom/dhcp_client_cmds.hpp
+++ b/
extras/vom/vom/dhcp_client_cmds.hpp
@@
-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,6
+76,11
@@
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;
};
/**
};
/**