Lines Matching refs:dst_port
259 lnk->dst_port == search_result->dst_port) in GetNewPort()
346 u_short dst_port, in FindNewPortGroup() argument
402 alias_addr, dst_port, htons(port_j), in FindNewPortGroup()
563 struct in_addr alias_addr, u_short src_port, u_short dst_port, in AddLink() argument
585 lnk->dst_port = dst_port; in AddLink()
621 if (dst_port == 0) in AddLink()
722 u_short dst_port, in ReLink() argument
732 src_port, dst_port, alias_port_param, in ReLink()
749 u_short dst_port, in _SearchLinkOut() argument
756 .dst_port = dst_port, in _SearchLinkOut()
768 u_short dst_port, in _FindLinkOut() argument
775 lnk = _SearchLinkOut(la, src_addr, dst_addr, src_port, dst_port, link_type); in _FindLinkOut()
780 if (dst_port != 0 && dst_addr.s_addr != INADDR_ANY) { in _FindLinkOut()
785 dst_port, link_type); in _FindLinkOut()
788 (dst_port != 0 || dst_addr.s_addr != INADDR_ANY)) { in _FindLinkOut()
795 src_port, dst_port, lnk->alias_port, in _FindLinkOut()
805 u_short dst_port, in FindLinkOut() argument
812 lnk = _FindLinkOut(la, src_addr, dst_addr, src_port, dst_port, in FindLinkOut()
824 lnk = _FindLinkOut(la, ANY_ADDR, dst_addr, src_port, dst_port, in FindLinkOut()
834 u_short dst_port, in _FindLinkIn() argument
859 if (dst_port == 0) in _FindLinkIn()
871 lnk->dst_port == dst_port) { in _FindLinkIn()
895 if(lnk->dst_port == dst_port) { in _FindLinkIn()
914 lnk->dst_port == dst_port && in _FindLinkIn()
947 src_port, dst_port, alias_port, in _FindLinkIn()
956 u_short dst_port, in FindLinkIn() argument
964 lnk = _FindLinkIn(la, dst_addr, alias_addr, dst_port, alias_port, in FindLinkIn()
976 lnk = _FindLinkIn(la, dst_addr, ANY_ADDR, dst_port, alias_port, in FindLinkIn()
1145 u_short dst_port, in FindUdpTcpIn() argument
1167 dst_port, alias_port, in FindUdpTcpIn()
1175 alias_port, dst_port, alias_port, in FindUdpTcpIn()
1185 u_short dst_port, in FindUdpTcpOut() argument
1205 lnk = FindLinkOut(la, src_addr, dst_addr, src_port, dst_port, link_type, create); in FindUdpTcpOut()
1212 src_port, dst_port, GET_ALIAS_PORT, in FindUdpTcpOut()
1262 lnk->dst_port == dst_call_id) in FindPptpOutByPeerCallId()
1278 if (lnk->dst_port == dst_call_id && in FindPptpInByCallId()
1546 return (lnk->dst_port); in GetDestPort()
1863 struct in_addr dst_addr, u_short dst_port, in LibAliasRedirectPort() argument
1891 src_port, dst_port, alias_port, in LibAliasRedirectPort()