SN_TO_LOCAL
iresult = SctpAlias(la, pip, SN_TO_LOCAL);
if (direction == SN_TO_LOCAL)
if (direction == SN_TO_LOCAL)
if ((*passoc == NULL) && (direction == SN_TO_LOCAL)) { /* AddIP with no association */
case SN_TO_LOCAL:
case SN_TO_LOCAL:
if (!sysctl_accept_global_ootb_addip && (direction == SN_TO_LOCAL))
case SN_TO_LOCAL:
case SN_TO_LOCAL:
case SN_TO_LOCAL:
if ((direction == SN_TO_LOCAL) && assoc->num_Gaddr) /*If tracking global addresses for this association & from global side */
case SN_TO_LOCAL:
case SN_TO_LOCAL:
if ((direction != SN_TO_LOCAL) && (direction != SN_TO_GLOBAL)) {
(sysctl_error_on_ootb == SN_LOCALandPARTIAL_ERROR_ON_OOTB && direction == SN_TO_LOCAL) ||
case SN_TO_LOCAL:
sctp_hdr->v_tag = (direction == SN_TO_LOCAL) ? assoc->g_vtag : assoc->l_vtag ;
ip->ip_src = (direction == SN_TO_LOCAL) ? sm->ip_hdr->ip_src : assoc->a_addr;
ip->ip_dst = (direction == SN_TO_LOCAL) ? assoc->l_addr : sm->ip_hdr->ip_dst;