Remove _t prefix from ipv4::port_t
This commit is contained in:
parent
523e4c1ab5
commit
c65141a320
4
ip.hpp
4
ip.hpp
@ -36,6 +36,8 @@ namespace ipv4 {
|
|||||||
ip& operator = (const ip &);
|
ip& operator = (const ip &);
|
||||||
bool operator == (const ip &) const;
|
bool operator == (const ip &) const;
|
||||||
|
|
||||||
|
explicit operator uint32_t (void);
|
||||||
|
|
||||||
static ip parse (const std::string &);
|
static ip parse (const std::string &);
|
||||||
|
|
||||||
static const ip LOOPBACK;
|
static const ip LOOPBACK;
|
||||||
@ -43,7 +45,7 @@ namespace ipv4 {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
typedef uint16_t port_t;
|
typedef uint16_t port;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user