Lines Matching refs:scope
687 if (ua->scope < 0) { in __tipc_bind()
689 ua->scope = -ua->scope; in __tipc_bind()
692 if (ua->scope != TIPC_NODE_SCOPE) in __tipc_bind()
693 ua->scope = TIPC_CLUSTER_SCOPE; in __tipc_bind()
765 addr->scope = 0; in tipc_getname()
1018 ua->scope = msg_lookup_scope(hdr); in tipc_send_group_anycast()
1167 ua->scope = msg_lookup_scope(hdr); in tipc_send_group_mcast()
1218 ua.scope = TIPC_ANY_SCOPE; in tipc_sk_mcast_rcv()
1220 ua.scope = TIPC_CLUSTER_SCOPE; in tipc_sk_mcast_rcv()
1237 ua.scope = msg_lookup_scope(hdr); in tipc_sk_mcast_rcv()
1468 ua->scope = tipc_node2scope(skaddr.node); in __tipc_sendmsg()
1491 msg_set_lookup_scope(hdr, ua->scope); in __tipc_sendmsg()
1703 srcaddr->sock.scope = 0; in tipc_sk_set_orig_addr()
1715 srcaddr->member.scope = 0; in tipc_sk_set_orig_addr()
2934 tipc_uaddr(&_ua, TIPC_SERVICE_RANGE, p->scope, in tipc_sk_withdraw()
2940 if (p->scope != ua->scope) in tipc_sk_withdraw()
3077 if (mreq->scope > TIPC_NODE_SCOPE) in tipc_sk_join()
3079 if (mreq->scope != TIPC_NODE_SCOPE) in tipc_sk_join()
3080 mreq->scope = TIPC_CLUSTER_SCOPE; in tipc_sk_join()
3087 msg_set_lookup_scope(hdr, mreq->scope); in tipc_sk_join()
3090 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, mreq->scope, in tipc_sk_join()
3111 int scope; in tipc_sk_leave() local
3116 tipc_group_self(grp, &ua.sr, &scope); in tipc_sk_leave()
3117 ua.scope = scope; in tipc_sk_leave()
3237 int len, scope; in tipc_getsockopt() local
3277 tipc_group_self(tsk->group, &seq, &scope); in tipc_getsockopt()
3338 tsk1->peer.scope = TIPC_NODE_SCOPE; in tipc_socketpair()
3343 tsk2->peer.scope = TIPC_NODE_SCOPE; in tipc_socketpair()