Lines Matching defs:ports
526 * On a labeled system, we must treat bindings to ports
567 #define IPCL_CONN_HASH(src, ports, ipst) \
568 ((unsigned)(ntohl((src)) ^ ((ports) >> 24) ^ ((ports) >> 16) ^ \
569 ((ports) >> 8) ^ (ports)) % (ipst)->ips_ipcl_conn_fanout_size)
571 #define IPCL_CONN_HASH_V6(src, ports, ipst) \
572 IPCL_CONN_HASH(V4_PART_OF_V6((src)), (ports), (ipst))
574 #define IPCL_CONN_MATCH(connp, proto, src, dst, ports) \
576 (connp)->conn_ports == (ports) && \
581 #define IPCL_CONN_MATCH_V6(connp, proto, src, dst, ports) \
583 (connp)->conn_ports == (ports) && \