Lines Matching refs:skaddr

675 static int __tipc_bind(struct socket *sock, struct sockaddr *skaddr, int alen)  in __tipc_bind()  argument
677 struct tipc_uaddr *ua = (struct tipc_uaddr *)skaddr; in __tipc_bind()
704 int tipc_sk_bind(struct socket *sock, struct sockaddr *skaddr, int alen) in tipc_sk_bind() argument
709 res = __tipc_bind(sock, skaddr, alen); in tipc_sk_bind()
714 static int tipc_bind(struct socket *sock, struct sockaddr *skaddr, int alen) in tipc_bind() argument
716 struct tipc_uaddr *ua = (struct tipc_uaddr *)skaddr; in tipc_bind()
730 return tipc_sk_bind(sock, skaddr, alen); in tipc_bind()
1419 struct tipc_socket_addr skaddr; in __tipc_sendmsg() local
1468 skaddr.node = ua->lookup_node; in __tipc_sendmsg()
1469 ua->scope = tipc_node2scope(skaddr.node); in __tipc_sendmsg()
1470 if (!tipc_nametbl_lookup_anycast(net, ua, &skaddr)) in __tipc_sendmsg()
1473 skaddr = ua->sk; in __tipc_sendmsg()
1480 !tipc_dest_find(clinks, skaddr.node, 0)); in __tipc_sendmsg()
1485 msg_set_destnode(hdr, skaddr.node); in __tipc_sendmsg()
1486 msg_set_destport(hdr, skaddr.ref); in __tipc_sendmsg()
1501 mtu = tipc_node_get_mtu(net, skaddr.node, tsk->portid, true); in __tipc_sendmsg()
1512 rc = tipc_node_xmit(net, &pkts, skaddr.node, tsk->portid); in __tipc_sendmsg()
1514 tipc_dest_push(clinks, skaddr.node, 0); in __tipc_sendmsg()
2901 struct tipc_socket_addr skaddr; in tipc_sk_publish() local
2910 skaddr.ref = tsk->portid; in tipc_sk_publish()
2911 skaddr.node = tipc_own_addr(net); in tipc_sk_publish()
2912 p = tipc_nametbl_publish(net, ua, &skaddr, key); in tipc_sk_publish()