Lines Matching refs:skaddr

674 static int __tipc_bind(struct socket *sock, struct sockaddr *skaddr, int alen)  in __tipc_bind()  argument
676 struct tipc_uaddr *ua = (struct tipc_uaddr *)skaddr; in __tipc_bind()
703 int tipc_sk_bind(struct socket *sock, struct sockaddr *skaddr, int alen) in tipc_sk_bind() argument
708 res = __tipc_bind(sock, skaddr, alen); in tipc_sk_bind()
713 static int tipc_bind(struct socket *sock, struct sockaddr_unsized *skaddr, int alen) in tipc_bind() argument
715 struct tipc_uaddr *ua = (struct tipc_uaddr *)skaddr; in tipc_bind()
729 return tipc_sk_bind(sock, (struct sockaddr *)skaddr, alen); in tipc_bind()
1416 struct tipc_socket_addr skaddr; in __tipc_sendmsg() local
1461 memset(&skaddr, 0, sizeof(skaddr)); in __tipc_sendmsg()
1467 skaddr.node = ua->lookup_node; in __tipc_sendmsg()
1468 ua->scope = tipc_node2scope(skaddr.node); in __tipc_sendmsg()
1469 if (!tipc_nametbl_lookup_anycast(net, ua, &skaddr)) in __tipc_sendmsg()
1472 skaddr = ua->sk; in __tipc_sendmsg()
1479 !tipc_dest_find(clinks, skaddr.node, 0)); in __tipc_sendmsg()
1484 msg_set_destnode(hdr, skaddr.node); in __tipc_sendmsg()
1485 msg_set_destport(hdr, skaddr.ref); in __tipc_sendmsg()
1500 mtu = tipc_node_get_mtu(net, skaddr.node, tsk->portid, true); in __tipc_sendmsg()
1511 rc = tipc_node_xmit(net, &pkts, skaddr.node, tsk->portid); in __tipc_sendmsg()
1513 tipc_dest_push(clinks, skaddr.node, 0); in __tipc_sendmsg()
2906 struct tipc_socket_addr skaddr; in tipc_sk_publish() local
2915 skaddr.ref = tsk->portid; in tipc_sk_publish()
2916 skaddr.node = tipc_own_addr(net); in tipc_sk_publish()
2917 p = tipc_nametbl_publish(net, ua, &skaddr, key); in tipc_sk_publish()