Home
last modified time | relevance | path

Searched refs:_dest_ipv4 (Results 1 – 2 of 2) sorted by relevance

/f-stack/app/micro_thread/
H A Dmt_net.cpp192 _dest_ipv4.sin_addr.s_addr = 0; in Reset()
193 _dest_ipv4.sin_port = 0; in Reset()
226 if ((_dest_ipv4.sin_addr.s_addr == 0) || (_dest_ipv4.sin_port == 0)) in CheckParams()
229 _dest_ipv4.sin_port); in CheckParams()
254 key.SetKeyInfo(_dest_ipv4.sin_addr.s_addr, _dest_ipv4.sin_port, _proto_type, _conn_type); in GetConnLink()
588 uint32_t ip = _dest_ipv4.sin_addr.s_addr; in HashValue()
589 ip ^= (_dest_ipv4.sin_port << 16) | (_proto_type << 8) | (_conn_type << 8); in HashValue()
609 if (this->_dest_ipv4.sin_addr.s_addr != data->_dest_ipv4.sin_addr.s_addr) { in HashCmp()
610 return (this->_dest_ipv4.sin_addr.s_addr > data->_dest_ipv4.sin_addr.s_addr) ? 1 : -1; in HashCmp()
612 if (this->_dest_ipv4.sin_port != data->_dest_ipv4.sin_port) { in HashCmp()
[all …]
H A Dmt_net.h172 memcpy(&_dest_ipv4, dst, sizeof(*dst)); in SetDestAddress()
247 struct sockaddr_in _dest_ipv4; variable