Lines Matching refs:skaddr

676 static int __tipc_bind(struct socket *sock, struct sockaddr *skaddr, int alen)  in __tipc_bind()  argument
678 struct tipc_uaddr *ua = (struct tipc_uaddr *)skaddr; in __tipc_bind()
705 int tipc_sk_bind(struct socket *sock, struct sockaddr *skaddr, int alen) in tipc_sk_bind() argument
710 res = __tipc_bind(sock, skaddr, alen); in tipc_sk_bind()
715 static int tipc_bind(struct socket *sock, struct sockaddr *skaddr, int alen) in tipc_bind() argument
717 struct tipc_uaddr *ua = (struct tipc_uaddr *)skaddr; in tipc_bind()
731 return tipc_sk_bind(sock, skaddr, alen); in tipc_bind()
1420 struct tipc_socket_addr skaddr; in __tipc_sendmsg() local
1465 memset(&skaddr, 0, sizeof(skaddr)); in __tipc_sendmsg()
1471 skaddr.node = ua->lookup_node; in __tipc_sendmsg()
1472 ua->scope = tipc_node2scope(skaddr.node); in __tipc_sendmsg()
1473 if (!tipc_nametbl_lookup_anycast(net, ua, &skaddr)) in __tipc_sendmsg()
1476 skaddr = ua->sk; in __tipc_sendmsg()
1483 !tipc_dest_find(clinks, skaddr.node, 0)); in __tipc_sendmsg()
1488 msg_set_destnode(hdr, skaddr.node); in __tipc_sendmsg()
1489 msg_set_destport(hdr, skaddr.ref); in __tipc_sendmsg()
1504 mtu = tipc_node_get_mtu(net, skaddr.node, tsk->portid, true); in __tipc_sendmsg()
1515 rc = tipc_node_xmit(net, &pkts, skaddr.node, tsk->portid); in __tipc_sendmsg()
1517 tipc_dest_push(clinks, skaddr.node, 0); in __tipc_sendmsg()
2905 struct tipc_socket_addr skaddr; in tipc_sk_publish() local
2914 skaddr.ref = tsk->portid; in tipc_sk_publish()
2915 skaddr.node = tipc_own_addr(net); in tipc_sk_publish()
2916 p = tipc_nametbl_publish(net, ua, &skaddr, key); in tipc_sk_publish()