| 22 | ip_option_impl::~ip_option_impl() { } |
| 23 | |
| 24 | bool ip_option_impl::equals(const option_impl& _other) const { |
| 25 | bool is_equal(option_impl::equals(_other)); |
| 26 | |
| 27 | if (is_equal) { |
| 28 | const ip_option_impl& its_other = dynamic_cast<const ip_option_impl&>(_other); |
| 29 | is_equal = (protocol_ == its_other.protocol_ && port_ == its_other.port_); |
| 30 | } |
| 31 | return is_equal; |
| 32 | } |
| 33 | |
| 34 | unsigned short ip_option_impl::get_port() const { |
| 35 | return port_; |
nothing calls this directly
no outgoing calls
no test coverage detected