Lines Matching defs:lport
165 * conn_t *ipcl_lookup_listener_v4(lport, laddr, protocol,
167 * conn_t *ipcl_lookup_listener_v6(lport, laddr, protocol, ifindex,
170 * Lookup routine to find a listener with the tuple {lport, laddr,
1002 * lport is in network byte order.
1005 ipcl_sctp_hash_insert(conn_t *connp, in_port_t lport)
1011 connfp = &ipst->ips_ipcl_raw_fanout[IPCL_RAW_HASH(ntohs(lport), ipst)];
1017 if (oconnp->conn_lport == lport &&
1185 uint16_t lport = connp->conn_lport;
1200 IPCL_UDP_HASH(lport, ipst)];
1220 IPCL_BIND_HASH(lport, ipst)];
1232 (uint8_t *)&connp->conn_bound_addr_v4, lport, NULL);
1237 ret = ipcl_sctp_hash_insert(connp, lport);
1250 uint16_t lport = connp->conn_lport;
1266 IPCL_UDP_HASH(lport, ipst)];
1284 IPCL_BIND_HASH(lport, ipst)];
1305 IPPROTO_TCP, addr_family, laddrp, lport, NULL);
1310 ret = ipcl_sctp_hash_insert(connp, lport);
1338 uint16_t lport = connp->conn_lport;
1393 ret = ipcl_sctp_hash_insert(connp, lport);
1411 IPCL_UDP_HASH(lport, ipst)];
1436 uint16_t lport = connp->conn_lport;
1488 ret = ipcl_sctp_hash_insert(connp, lport);
1499 IPCL_UDP_HASH(lport, ipst)];
1533 uint16_t lport;
1576 lport = up[1];
1578 &ipst->ips_ipcl_bind_fanout[IPCL_BIND_HASH(lport, ipst)];
1583 lport) &&
1621 lport = up[1];
1623 connfp = &ipst->ips_ipcl_udp_fanout[IPCL_UDP_HASH(lport, ipst)];
1627 if (IPCL_UDP_MATCH(connp, lport, ipha->ipha_dst,
1673 uint16_t lport;
1720 lport = up[1];
1722 &ipst->ips_ipcl_bind_fanout[IPCL_BIND_HASH(lport, ipst)];
1727 ip6h->ip6_dst, lport) &&
1757 lport = up[1];
1759 connfp = &ipst->ips_ipcl_udp_fanout[IPCL_UDP_HASH(lport, ipst)];
1763 if (IPCL_UDP_MATCH_V6(connp, lport, ip6h->ip6_dst,
1826 in_port_t lport;
1831 lport = ((uint16_t *)&ports)[1];
1840 connfp = &ipst->ips_ipcl_raw_fanout[IPCL_RAW_HASH(ntohs(lport), ipst)];
1861 ipha->ipha_dst, lport))
1865 ip6h->ip6_dst, lport))
2373 * the {src, dst, lport, fport} quadruplet. Returns with conn reference
2423 * the {src, dst, lport, fport} quadruplet. Returns with conn reference
2476 * Find an exact {src, dst, lport, fport} match for a bounced datagram.
2514 * Find an exact {src, dst, lport, fport} match for a bounced datagram.
2561 ipcl_lookup_listener_v4(uint16_t lport, ipaddr_t laddr, zoneid_t zoneid,
2577 bind_connfp = &ipst->ips_ipcl_bind_fanout[IPCL_BIND_HASH(lport, ipst)];
2582 if (IPCL_BIND_MATCH(connp, IPPROTO_TCP, laddr, lport) &&
2599 ipcl_lookup_listener_v6(uint16_t lport, in6_addr_t *laddr, uint_t ifindex,
2615 bind_connfp = &ipst->ips_ipcl_bind_fanout[IPCL_BIND_HASH(lport, ipst)];
2620 if (IPCL_BIND_MATCH_V6(connp, IPPROTO_TCP, *laddr, lport) &&