/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_nat.c | 419 ilb_full_nat(int l3, void *iph, int l4, void *tph, ilb_nat_info_t *info, argument 427 orig_sport = &((tcpha_t *)tph)->tha_lport; 428 orig_dport = &((tcpha_t *)tph)->tha_fport; 429 tp_cksum = &((tcpha_t *)tph)->tha_sum; 432 orig_sport = &((udpha_t *)tph)->uha_src_port; 433 orig_dport = &((udpha_t *)tph)->uha_dst_port; 434 tp_cksum = &((udpha_t *)tph)->uha_checksum; 490 ilb_half_nat(int l3, void *iph, int l4, void *tph, ilb_nat_info_t *info, argument 499 orig_port = &((tcpha_t *)tph)->tha_fport; 501 orig_port = &((tcpha_t *)tph) [all...] |
H A D | ilb.c | 1666 in6_addr_t *dst, int l3, int l4, void *iph, uint8_t *tph, uint32_t pkt_len, 1689 if (tph + TCP_MIN_HEADER_LENGTH > mp->b_wptr) 1691 tcph = (tcpha_t *)tph; 1696 if (tph + sizeof (udpha_t) > mp->b_wptr) 1698 udph = (udpha_t *)tph; 1707 if (ilb_check_conn(ilbs, l3, iph, l4, tph, src, dst, sport, dport, 1827 ilb_full_nat(l3, iph, l4, tph, &info, ip_sum, tp_sum, B_TRUE); 1851 ilb_half_nat(l3, iph, l4, tph, &info, ip_sum, tp_sum, B_TRUE); 1883 uint8_t *tph, ipaddr_t *lb_dst) 1891 return (ilb_icmp_v4(ilbs, ill, mp, ipha, (icmph_t *)tph, 1665 ilb_check(ilb_stack_t *ilbs, ill_t *ill, mblk_t *mp, in6_addr_t *src, in6_addr_t *dst, int l3, int l4, void *iph, uint8_t *tph, uint32_t pkt_len, in6_addr_t *lb_dst) argument 1882 ilb_check_v4(ilb_stack_t *ilbs, ill_t *ill, mblk_t *mp, ipha_t *ipha, int l4, uint8_t *tph, ipaddr_t *lb_dst) argument 1905 ilb_check_v6(ilb_stack_t *ilbs, ill_t *ill, mblk_t *mp, ip6_t *ip6h, int l4, uint8_t *tph, in6_addr_t *lb_dst) argument [all...] |
H A D | ilb_conn.c | 748 ilb_find_conn(ilb_stack_t *ilbs, void *iph, void *tph, int l4, in6_addr_t *src, argument 808 tcp_alive = update_conn_tcp(connp, iph, tph, pkt_len, 829 ilb_check_conn(ilb_stack_t *ilbs, int l3, void *iph, int l4, void *tph, argument 838 if (ilb_find_conn(ilbs, iph, tph, l4, src, sport, dst, dport, 843 ilb_full_nat(l3, iph, l4, tph, &rule_cache.info, 849 ilb_half_nat(l3, iph, l4, tph, &rule_cache.info, 859 if (ilb_find_conn(ilbs, iph, tph, l4, src, sport, dst, dport, 864 ilb_full_nat(l3, iph, l4, tph, &rule_cache.info, 870 ilb_half_nat(l3, iph, l4, tph, &rule_cache.info,
|