diff options
Diffstat (limited to 'src/tunDevice.h')
-rw-r--r-- | src/tunDevice.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tunDevice.h b/src/tunDevice.h index cb9b76f..8b2d613 100644 --- a/src/tunDevice.h +++ b/src/tunDevice.h @@ -45,11 +45,11 @@ class TunDevice { public: - TunDevice(std::string dev,std::string dev_type, std::string ifcfg_addr, u_int16_t ifcfg_prefix); + TunDevice(std::string dev,std::string dev_type, std::string ifcfg_addr, uint16_t ifcfg_prefix); ~TunDevice(); - int read(u_int8_t* buf, u_int32_t len); - int write(u_int8_t* buf, u_int32_t len); + int read(uint8_t* buf, uint32_t len); + int write(uint8_t* buf, uint32_t len); const char* getActualName() const { return actual_name_.c_str(); } const char* getActualNode() const { return actual_node_.c_str(); } |