Home
last modified time | relevance | path

Searched refs:saddr (Results 1 – 4 of 4) sorted by relevance

/fs/dlm/
Dlowcomms.c304 static void make_sockaddr(struct sockaddr_storage *saddr, uint16_t port, in make_sockaddr() argument
307 saddr->ss_family = dlm_local_addr[0]->ss_family; in make_sockaddr()
308 if (saddr->ss_family == AF_INET) { in make_sockaddr()
309 struct sockaddr_in *in4_addr = (struct sockaddr_in *)saddr; in make_sockaddr()
314 struct sockaddr_in6 *in6_addr = (struct sockaddr_in6 *)saddr; in make_sockaddr()
318 memset((char *)saddr + *addr_len, 0, sizeof(struct sockaddr_storage) - *addr_len); in make_sockaddr()
867 struct sockaddr_storage saddr, src_addr; in tcp_connect_to_sock() local
892 memset(&saddr, 0, sizeof(saddr)); in tcp_connect_to_sock()
893 if (dlm_nodeid_to_addr(con->nodeid, &saddr)) { in tcp_connect_to_sock()
914 make_sockaddr(&saddr, dlm_config.ci_tcp_port, &addr_len); in tcp_connect_to_sock()
[all …]
/fs/ocfs2/cluster/
Dnetdebug.c291 __be32 saddr = 0, daddr = 0; in sc_seq_show() local
297 saddr = (__force __be32)inet->saddr; in sc_seq_show()
322 &saddr, inet ? ntohs(sport) : 0, in sc_seq_show()
/fs/afs/
Dcmservice.c284 memcpy(&addr, &ip_hdr(skb)->saddr, 4); in afs_deliver_cb_callback()
331 memcpy(&addr, &ip_hdr(skb)->saddr, 4); in afs_deliver_cb_init_call_back_state()
362 memcpy(&addr, &ip_hdr(skb)->saddr, 4); in afs_deliver_cb_init_call_back_state3()
/fs/yaffs2/
Dyaffs_fs.c858 unsigned saddr; in yaffs_commit_write() local
863 saddr = (unsigned) addr; in yaffs_commit_write()
867 saddr, spos, nBytes)); in yaffs_commit_write()