Lines Matching refs:isn
614 ipstate_t *is, *isn; local
622 isn = ips.ips_next;
623 if (isn == NULL) {
624 isn = ifs->ifs_ips_list;
625 if (isn == NULL) {
637 if (is == isn)
642 ips.ips_next = isn->is_next;
643 bcopy((char *)isn, (char *)&ips.ips_is, sizeof(ips.ips_is));
644 ips.ips_rule = isn->is_rule;
645 if (isn->is_rule != NULL)
646 bcopy((char *)isn->is_rule, (char *)&ips.ips_fr,
670 ipstate_t *is, *isn; local
696 KMALLOC(isn, ipstate_t *);
697 if (isn == NULL)
700 bcopy((char *)&ips.ips_is, (char *)isn, sizeof(*isn));
701 bzero((char *)isn, offsetof(struct ipstate, is_pkts));
702 isn->is_sti.tqe_pnext = NULL;
703 isn->is_sti.tqe_next = NULL;
704 isn->is_sti.tqe_ifq = NULL;
705 isn->is_sti.tqe_parent = isn;
706 isn->is_ifp[0] = NULL;
707 isn->is_ifp[1] = NULL;
708 isn->is_ifp[2] = NULL;
709 isn->is_ifp[3] = NULL;
710 isn->is_sync = NULL;
715 fr_stinsert(isn, 0, ifs);
716 MUTEX_EXIT(&isn->is_lock);
721 if (isn->is_flags & SI_NEWFR) {
724 KFREE(isn);
728 isn->is_rule = fr;
739 name = isn->is_ifname[i];
740 isn->is_ifp[i] = fr_resolvenic(name, isn->is_v, ifs);
758 KFREE(isn);
764 fr_stinsert(isn, 0, ifs);
765 MUTEX_EXIT(&isn->is_lock);
772 fr_stinsert(isn, 0, ifs);
773 MUTEX_EXIT(&isn->is_lock);
778 KFREE(isn);
779 isn = NULL;
783 return (isn == NULL) ? ESRCH : 0;
3496 ipstate_t *is, *isn; local
3506 isn = ifs->ifs_ips_list;
3507 while ((is = isn) != NULL) {
3508 isn = is->is_next;