Home
last modified time | relevance | path

Searched refs:sipif (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/common/inet/sctp/
H A Dsctp_addr.c963 sctp_ipif_t *sipif; in sctp_chk_and_updt_saddr() local
968 sipif = list_head(&sctps->sctps_g_ipifs[hindex].sctp_ipif_list); in sctp_chk_and_updt_saddr()
970 rw_enter(&sipif->sctp_ipif_lock, RW_WRITER); in sctp_chk_and_updt_saddr()
971 if (sipif->sctp_ipif_id != ipif->sctp_ipif_id && in sctp_chk_and_updt_saddr()
972 IN6_ARE_ADDR_EQUAL(&sipif->sctp_ipif_saddr, in sctp_chk_and_updt_saddr()
973 &ipif->sctp_ipif_saddr) && sipif->sctp_ipif_refcnt > 0 && in sctp_chk_and_updt_saddr()
975 sipif->sctp_ipif_zoneid)) { in sctp_chk_and_updt_saddr()
981 ASSERT(sipif->sctp_ipif_state != SCTP_IPIFS_UP); in sctp_chk_and_updt_saddr()
986 sctp_update_saddrs(sipif, ipif, hindex, sctps); in sctp_chk_and_updt_saddr()
988 rw_exit(&sipif->sctp_ipif_lock); in sctp_chk_and_updt_saddr()
[all …]
/titanic_44/usr/src/uts/common/inet/ip/
H A Dip_if.c11784 ipif_clone(const ipif_t *sipif, ipif_t *dipif) in ipif_clone() argument
11786 ASSERT(MUTEX_HELD(&sipif->ipif_ill->ill_lock)); in ipif_clone()
11788 ASSERT(!(sipif->ipif_flags & (IPIF_UP|IPIF_DUPLICATE))); in ipif_clone()
11790 ASSERT(sipif->ipif_ire_type == dipif->ipif_ire_type); in ipif_clone()
11792 dipif->ipif_flags = sipif->ipif_flags; in ipif_clone()
11793 dipif->ipif_zoneid = sipif->ipif_zoneid; in ipif_clone()
11794 dipif->ipif_v6subnet = sipif->ipif_v6subnet; in ipif_clone()
11795 dipif->ipif_v6lcl_addr = sipif->ipif_v6lcl_addr; in ipif_clone()
11796 dipif->ipif_v6net_mask = sipif->ipif_v6net_mask; in ipif_clone()
11797 dipif->ipif_v6brd_addr = sipif->ipif_v6brd_addr; in ipif_clone()
[all …]