Lines Matching refs:scope
49 union sctp_addr *addr, enum sctp_scope scope,
60 enum sctp_scope scope, gfp_t gfp, in sctp_bind_addr_copy() argument
71 error = sctp_copy_one_addr(net, dest, &addr->a, scope, in sctp_bind_addr_copy()
81 if (list_empty(&dest->address_list) && (SCTP_SCOPE_GLOBAL == scope)) { in sctp_bind_addr_copy()
443 union sctp_addr *addr, enum sctp_scope scope, in sctp_copy_one_addr() argument
449 error = sctp_copy_local_addr_list(net, dest, scope, gfp, flags); in sctp_copy_one_addr()
450 } else if (sctp_in_scope(net, addr, scope)) { in sctp_copy_one_addr()
488 enum sctp_scope scope) in sctp_in_scope() argument
510 if (addr_scope <= scope) in sctp_in_scope()
514 if (addr_scope <= scope || SCTP_SCOPE_PRIVATE == addr_scope) in sctp_in_scope()
518 if (addr_scope <= scope || SCTP_SCOPE_LINK == addr_scope) in sctp_in_scope()
556 return af->scope((union sctp_addr *)addr); in sctp_scope()