Lines Matching refs:scope
34 union sctp_addr *addr, enum sctp_scope scope,
45 enum sctp_scope scope, gfp_t gfp, in sctp_bind_addr_copy() argument
56 error = sctp_copy_one_addr(net, dest, &addr->a, scope, in sctp_bind_addr_copy()
66 if (list_empty(&dest->address_list) && (SCTP_SCOPE_GLOBAL == scope)) { in sctp_bind_addr_copy()
460 union sctp_addr *addr, enum sctp_scope scope, in sctp_copy_one_addr() argument
466 error = sctp_copy_local_addr_list(net, dest, scope, gfp, flags); in sctp_copy_one_addr()
467 } else if (sctp_in_scope(net, addr, scope)) { in sctp_copy_one_addr()
506 enum sctp_scope scope) in sctp_in_scope() argument
528 if (addr_scope <= scope) in sctp_in_scope()
532 if (addr_scope <= scope || SCTP_SCOPE_PRIVATE == addr_scope) in sctp_in_scope()
536 if (addr_scope <= scope || SCTP_SCOPE_LINK == addr_scope) in sctp_in_scope()
574 return af->scope((union sctp_addr *)addr); in sctp_scope()