Home
last modified time | relevance | path

Searched refs:myaddr (Results 1 – 3 of 3) sorted by relevance

/net/ceph/
Dceph_common.c730 struct ceph_entity_addr *myaddr = NULL; in ceph_create_client() local
757 myaddr = &client->options->my_addr; in ceph_create_client()
759 ceph_messenger_init(&client->msgr, myaddr); in ceph_create_client()
Dmessenger.c1624 struct ceph_entity_addr *myaddr) in ceph_messenger_init() argument
1628 if (myaddr) { in ceph_messenger_init()
1629 memcpy(&msgr->inst.addr.in_addr, &myaddr->in_addr, in ceph_messenger_init()
/net/sunrpc/
Dxprtsock.c1709 struct sockaddr_storage myaddr; in xs_bind() local
1732 memcpy(&myaddr, &transport->srcaddr, transport->xprt.addrlen); in xs_bind()
1734 rpc_set_port((struct sockaddr *)&myaddr, port); in xs_bind()
1735 err = kernel_bind(sock, (struct sockaddr *)&myaddr, in xs_bind()
1748 if (myaddr.ss_family == AF_INET) in xs_bind()
1750 &((struct sockaddr_in *)&myaddr)->sin_addr, in xs_bind()
1754 &((struct sockaddr_in6 *)&myaddr)->sin6_addr, in xs_bind()