Lines Matching refs:info

183 		port = ntohs(connp->conn_rule_cache.info.nat_sport);
184 vmem_free(connp->conn_rule_cache.info.src_ent->nse_port_arena,
252 /* Update and check TCP related conn info */
406 connp->conn_rule_cache.info.nat_sport);
407 ent = connp->conn_rule_cache.info.src_ent;
494 * (ilb_conn_t) contains info on both directions. And there are two hash
503 ilb_nat_info_t *info, uint32_t *ip_sum, uint32_t *tp_sum, ilb_sticky_t *s)
517 (void *)(uintptr_t)ntohs(info->nat_sport),
532 connp->conn_rule_cache.info = *info;
539 /* Client to server info. */
551 /* Server to client info, before NAT */
554 connp->conn_s2c_saddr = info->nat_dst;
555 connp->conn_s2c_sport = info->nat_dport;
562 (uint16_t *)&info->nat_dst.s6_addr32[3], 0, 0,
565 (uint16_t *)&info->nat_dst.s6_addr32[3], dport,
566 info->nat_dport, &connp->conn_c2s_tp_sum);
571 (uint16_t *)&info->nat_dst.s6_addr32[3],
575 (uint16_t *)&info->nat_dst.s6_addr32[3],
577 info->nat_dport, dport,
582 (uint16_t *)&info->nat_dst, dport,
583 info->nat_dport, &connp->conn_c2s_tp_sum);
588 hnat_cksum_v6((uint16_t *)&info->nat_dst,
589 (uint16_t *)dst, info->nat_dport, dport,
594 connp->conn_s2c_saddr = info->nat_dst;
595 connp->conn_s2c_sport = info->nat_dport;
596 connp->conn_s2c_daddr = info->nat_src;
597 connp->conn_s2c_dport = info->nat_sport;
602 (uint16_t *)&info->nat_src.s6_addr32[3],
603 (uint16_t *)&info->nat_dst.s6_addr32[3],
607 (uint16_t *)&info->nat_src.s6_addr32[3],
608 (uint16_t *)&info->nat_dst.s6_addr32[3],
609 sport, dport, info->nat_sport,
610 info->nat_dport, &connp->conn_c2s_tp_sum);
615 (uint16_t *)&info->nat_src.s6_addr32[3],
616 (uint16_t *)&info->nat_dst.s6_addr32[3],
621 (uint16_t *)&info->nat_src.s6_addr32[3],
622 (uint16_t *)&info->nat_dst.s6_addr32[3],
625 info->nat_sport, info->nat_dport,
629 (uint16_t *)&info->nat_src,
630 (uint16_t *)&info->nat_dst,
631 sport, dport, info->nat_sport,
632 info->nat_dport, &connp->conn_c2s_tp_sum);
637 fnat_cksum_v6((uint16_t *)&info->nat_src,
638 (uint16_t *)&info->nat_dst, (uint16_t *)src,
639 (uint16_t *)dst, info->nat_sport,
640 info->nat_dport, sport, dport,
842 *lb_dst = rule_cache.info.nat_dst;
843 ilb_full_nat(l3, iph, l4, tph, &rule_cache.info,
848 *lb_dst = rule_cache.info.nat_dst;
849 ilb_half_nat(l3, iph, l4, tph, &rule_cache.info,
863 *lb_dst = rule_cache.info.src;
864 ilb_full_nat(l3, iph, l4, tph, &rule_cache.info,
870 ilb_half_nat(l3, iph, l4, tph, &rule_cache.info,
997 *lb_dst = rule_cache.info.nat_dst;
1000 &rule_cache.info, adj_ip_sum, full_nat);
1003 &rule_cache.info, full_nat);
1224 * a sticky entry using the packet's info.