Changeset 79763 in vbox for trunk/src/VBox/NetworkServices/Dhcpd
- Timestamp:
- Jul 14, 2019 3:59:56 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 132128
- Location:
- trunk/src/VBox/NetworkServices/Dhcpd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/Dhcpd/DhcpOptions.cpp
r79762 r79763 22 22 #include "DhcpdInternal.h" 23 23 #include "DhcpOptions.h" 24 #include "DhcpMessage.h" 24 #ifndef IN_VBOXSVC 25 # include "DhcpMessage.h" 26 #endif 25 27 26 28 #include <iprt/cidr.h> 27 29 30 31 #ifndef IN_VBOXSVC 28 32 29 33 optmap_t &operator<<(optmap_t &optmap, DhcpOption *option) … … 54 58 } 55 59 60 #endif /* !IN_VBOXSVC */ 61 56 62 57 63 int DhcpOption::encode(octets_t &dst) const … … 102 108 103 109 110 #ifndef IN_VBOXSVC 104 111 int DhcpOption::decode(const DhcpClientMessage &req) 105 112 { 106 113 return decode(req.rawopts()); 107 114 } 115 #endif 108 116 109 117 -
trunk/src/VBox/NetworkServices/Dhcpd/DhcpOptions.h
r79761 r79763 211 211 212 212 213 #ifndef IN_VBOXSVC 213 214 optmap_t &operator<<(optmap_t &optmap, DhcpOption *option); 214 215 optmap_t &operator<<(optmap_t &optmap, const std::shared_ptr<DhcpOption> &option); 216 #endif 215 217 216 218 -
trunk/src/VBox/NetworkServices/Dhcpd/DhcpdInternal.h
r79761 r79763 49 49 typedef std::map<uint8_t, octets_t> rawopts_t; 50 50 51 #ifndef IN_VBOXSVC 51 52 class DhcpOption; 52 53 /** DHCP option map (keyed by option number, DhcpOption value). */ 53 54 typedef std::map<uint8_t, std::shared_ptr<DhcpOption> > optmap_t; 55 #endif 54 56 55 57
Note:
See TracChangeset
for help on using the changeset viewer.