Lines Matching refs:rlinfo
504 ilb_rule_info_t *rlinfo, ilbd_cmd_t cmd, ilb_status_t rc, in ilbd_audit_rule_event() argument
578 if (IN6_IS_ADDR_V4MAPPED(&rlinfo->rl_vip)) { in ilbd_audit_rule_event()
582 ADT_IPv4, rlinfo->rl_vip); in ilbd_audit_rule_event()
587 ADT_IPv6, rlinfo->rl_vip); in ilbd_audit_rule_event()
590 event->adt_ilb_create_rule.min_port = ntohs(rlinfo->rl_minport); in ilbd_audit_rule_event()
591 if (ntohs(rlinfo->rl_maxport) > ntohs(rlinfo->rl_minport)) { in ilbd_audit_rule_event()
594 ntohs(rlinfo->rl_maxport); in ilbd_audit_rule_event()
598 ntohs(rlinfo->rl_minport); in ilbd_audit_rule_event()
605 if (rlinfo->rl_proto == IPPROTO_UDP) in ilbd_audit_rule_event()
612 ilbd_algo_to_str(rlinfo->rl_algo, valstr1); in ilbd_audit_rule_event()
613 ilbd_topo_to_str(rlinfo->rl_topo, valstr2); in ilbd_audit_rule_event()
619 if (rlinfo->rl_topo == ILB_TOPO_NAT) { in ilbd_audit_rule_event()
621 if (IN6_IS_ADDR_V4MAPPED(&rlinfo->rl_nat_src_start)) { in ilbd_audit_rule_event()
627 ADT_IPv4, rlinfo->rl_nat_src_start); in ilbd_audit_rule_event()
634 ADT_IPv6, rlinfo->rl_nat_src_start); in ilbd_audit_rule_event()
638 if (IN6_IS_ADDR_UNSPECIFIED(&rlinfo->rl_nat_src_end)) { in ilbd_audit_rule_event()
648 IN6_IS_ADDR_V4MAPPED(&rlinfo->rl_nat_src_end)) { in ilbd_audit_rule_event()
658 ADT_IPv4, rlinfo->rl_nat_src_end); in ilbd_audit_rule_event()
665 ADT_IPv6, rlinfo->rl_nat_src_end); in ilbd_audit_rule_event()
674 ilbd_ip_to_str(rlinfo->rl_ipversion, &rlinfo->rl_stickymask, in ilbd_audit_rule_event()
679 if (rlinfo->rl_hcname[0] != '\0') in ilbd_audit_rule_event()
680 event->adt_ilb_create_rule.hcname = rlinfo->rl_hcname; in ilbd_audit_rule_event()
683 if (rlinfo->rl_hcpflag == ILB_HCI_PROBE_FIX) { in ilbd_audit_rule_event()
686 rlinfo->rl_hcport); in ilbd_audit_rule_event()
688 } else if (rlinfo->rl_hcpflag == ILB_HCI_PROBE_ANY) { in ilbd_audit_rule_event()
702 rlinfo->rl_conndrain; in ilbd_audit_rule_event()
704 rlinfo->rl_nat_timeout; in ilbd_audit_rule_event()
706 rlinfo->rl_sticky_timeout; in ilbd_audit_rule_event()
709 event->adt_ilb_create_rule.server_group = rlinfo->rl_sgname; in ilbd_audit_rule_event()
710 event->adt_ilb_create_rule.rule_name = rlinfo->rl_name; in ilbd_audit_rule_event()