Lines Matching refs:ipif_obj
459 sctp_saddr_ipif_t *ipif_obj;
465 ipif_obj = list_head(&sctp->sctp_saddrs[hindex].sctp_ipif_list);
467 if (IN6_ARE_ADDR_EQUAL(&ipif_obj->saddr_ipifp->sctp_ipif_saddr,
470 ipif_obj->saddr_ipifp->sctp_ipif_id &&
471 ipif_obj->saddr_ipifp->sctp_ipif_state ==
474 SCTP_IPIF_REFRELE(ipif_obj->saddr_ipifp);
475 ipif_obj->saddr_ipifp = ipif;
476 ipif_obj->saddr_ipif_dontsrc = dontsrc ? 1 : 0;
481 ipif_obj->saddr_ipifp->sctp_ipif_id) {
487 ipif_obj = list_next(&sctp->sctp_saddrs[hindex].sctp_ipif_list,
488 ipif_obj);
490 ipif_obj = kmem_zalloc(sizeof (sctp_saddr_ipif_t), sleep);
491 if (ipif_obj == NULL) {
496 ipif_obj->saddr_ipifp = ipif;
497 ipif_obj->saddr_ipif_dontsrc = dontsrc ? 1 : 0;
498 list_insert_tail(&sctp->sctp_saddrs[hindex].sctp_ipif_list, ipif_obj);
527 sctp_saddr_ipif_t *ipif_obj;
534 ipif_obj = list_head(&sctp->sctp_saddrs[hindex].sctp_ipif_list);
536 if (IN6_ARE_ADDR_EQUAL(&ipif_obj->saddr_ipifp->sctp_ipif_saddr,
539 ipif_obj);
543 SCTP_IPIF_REFRELE(ipif_obj->saddr_ipifp);
544 kmem_free(ipif_obj, sizeof (sctp_saddr_ipif_t));
547 ipif_obj = list_next(&sctp->sctp_saddrs[hindex].sctp_ipif_list,
548 ipif_obj);
1354 sctp_saddr_ipif_t *ipif_obj;
1365 ipif_obj = list_head(&sctp->sctp_saddrs[hindex].sctp_ipif_list);
1367 sctp_ipif = ipif_obj->saddr_ipifp;
1376 return (ipif_obj);
1378 ipif_obj = list_next(&sctp->sctp_saddrs[hindex].sctp_ipif_list,
1379 ipif_obj);