Remove _t prefix from ipv4::port_t
This commit is contained in:
parent
523e4c1ab5
commit
c65141a320
6
ip.hpp
6
ip.hpp
@ -34,7 +34,9 @@ namespace ipv4 {
|
|||||||
ip (uint8_t a, uint8_t b, uint8_t c, uint8_t d);
|
ip (uint8_t a, uint8_t b, uint8_t c, uint8_t d);
|
||||||
|
|
||||||
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 &);
|
||||||
|
|
||||||
@ -43,7 +45,7 @@ namespace ipv4 {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
typedef uint16_t port_t;
|
typedef uint16_t port;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user