Lines Matching refs:tme2
773 tsol_mlp_entry_t *tme, *tme2, *newent; in mlp_add_del() local
805 for (tme2 = tme; tme2 != NULL; tme2 = tme2->mlpe_next) { in mlp_add_del()
807 if (tme2->mlpe_mlp.mlp_port > portmax) { in mlp_add_del()
808 tme2 = NULL; in mlp_add_del()
812 if (tme2->mlpe_mlp.mlp_ipp == proto) in mlp_add_del()
818 if (tme2 != NULL) { in mlp_add_del()
827 tme2 = mlpl->mlpl_last; in mlp_add_del()
830 tme2 = tme->mlpe_prev; in mlp_add_del()
833 newent->mlpe_prev = tme2; in mlp_add_del()
834 if (tme2 == NULL) in mlp_add_del()
837 tme2->mlpe_next = newent; in mlp_add_del()
841 if (tme2 == NULL || tme2->mlpe_mlp.mlp_port != port || in mlp_add_del()
842 tme2->mlpe_mlp.mlp_port_upper != portmax) { in mlp_add_del()
845 if ((tme2 = tme->mlpe_prev) == NULL) in mlp_add_del()
848 tme2->mlpe_next = tme->mlpe_next; in mlp_add_del()
849 if ((tme2 = tme->mlpe_next) == NULL) in mlp_add_del()
852 tme2->mlpe_prev = tme->mlpe_prev; in mlp_add_del()
893 tsol_mlp_entry_t *tme, *tme2, *tmnext; in mlp_flush() local
899 if ((tme2 = tme->mlpe_prev) == NULL) in mlp_flush()
902 tme2->mlpe_next = tmnext; in mlp_flush()
904 mlpl->mlpl_last = tme2; in mlp_flush()
906 tmnext->mlpe_prev = tme2; in mlp_flush()