Home
last modified time | relevance | path

Searched refs:my_addr (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/net/rds/
Dtcp_listen.c106 struct in6_addr *my_addr, *peer_addr; in rds_tcp_accept_one() local
144 my_addr = &new_sock->sk->sk_v6_rcv_saddr; in rds_tcp_accept_one()
149 my_addr = &saddr; in rds_tcp_accept_one()
154 my_addr, ntohs(inet->inet_sport), in rds_tcp_accept_one()
162 if ((ipv6_addr_type(my_addr) & IPV6_ADDR_LINKLOCAL) && in rds_tcp_accept_one()
180 my_addr, peer_addr, in rds_tcp_accept_one()
/linux-6.1.9/drivers/edac/
Dti_edac.c206 u32 addr, my_addr; in _emif_get_id() local
210 my_addr = (u32)of_translate_address(node, addrp); in _emif_get_id()
221 addr, my_addr); in _emif_get_id()
223 if (addr < my_addr) in _emif_get_id()
/linux-6.1.9/net/ceph/
Dmessenger_v2.c1372 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_client_ident() local
1395 __func__, con, ceph_pr_addr(my_addr), le32_to_cpu(my_addr->nonce), in prepare_client_ident()
1400 ctrl_len = 1 + 4 + ceph_entity_addr_encoding_len(my_addr) + in prepare_client_ident()
1409 ceph_encode_entity_addr(&p, my_addr); in prepare_client_ident()
1424 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_session_reconnect() local
1434 __func__, con, ceph_pr_addr(my_addr), le32_to_cpu(my_addr->nonce), in prepare_session_reconnect()
1438 ctrl_len = 1 + 4 + ceph_entity_addr_encoding_len(my_addr) + 5 * 8; in prepare_session_reconnect()
1446 ceph_encode_entity_addr(&p, my_addr); in prepare_session_reconnect()
1997 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in process_hello() local
2030 if (ceph_addr_is_blank(my_addr)) { in process_hello()
[all …]
Dmessenger_v1.c709 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in process_banner() local
737 if (ceph_addr_is_blank(my_addr)) { in process_banner()
738 memcpy(&my_addr->in_addr, in process_banner()
741 ceph_addr_set_port(my_addr, 0); in process_banner()
744 ceph_pr_addr(my_addr)); in process_banner()
Dceph_common.c434 &opt->my_addr, 1, NULL, ','); in ceph_parse_param()
737 myaddr = &client->options->my_addr; in ceph_create_client()
/linux-6.1.9/drivers/block/drbd/
Ddrbd_nl.c213 adm_ctx->my_addr = nested_attr_tb[__nla_type(T_ctx_my_addr)]; in drbd_adm_prepare()
215 if ((adm_ctx->my_addr && in drbd_adm_prepare()
216 nla_len(adm_ctx->my_addr) > sizeof(adm_ctx->connection->my_addr)) || in drbd_adm_prepare()
257 if (adm_ctx->my_addr && adm_ctx->peer_addr) in drbd_adm_prepare()
258 adm_ctx->connection = conn_get_by_addrs(nla_data(adm_ctx->my_addr), in drbd_adm_prepare()
259 nla_len(adm_ctx->my_addr), in drbd_adm_prepare()
2504 if (!(adm_ctx.my_addr && adm_ctx.peer_addr)) { in drbd_adm_connect()
2515 if (nla_len(adm_ctx.my_addr) == connection->my_addr_len && in drbd_adm_connect()
2516 !memcmp(nla_data(adm_ctx.my_addr), &connection->my_addr, in drbd_adm_connect()
2583 connection->my_addr_len = nla_len(adm_ctx.my_addr); in drbd_adm_connect()
[all …]
Ddrbd_int.h701 struct sockaddr_storage my_addr; member
993 struct nlattr *my_addr; member
1438 extern struct drbd_connection *conn_get_by_addrs(void *my_addr, int my_addr_len,
Ddrbd_receiver.c612 memcpy(&src_in6, &connection->my_addr, my_addr_len); in drbd_try_connect()
614 if (((struct sockaddr *)&connection->my_addr)->sa_family == AF_INET6) in drbd_try_connect()
699 struct sockaddr_in6 my_addr; in prepare_listen_socket() local
715 memcpy(&my_addr, &connection->my_addr, my_addr_len); in prepare_listen_socket()
718 err = sock_create_kern(&init_net, ((struct sockaddr *)&my_addr)->sa_family, in prepare_listen_socket()
729 err = s_listen->ops->bind(s_listen, (struct sockaddr *)&my_addr, my_addr_len); in prepare_listen_socket()
Ddrbd_main.c2421 struct drbd_connection *conn_get_by_addrs(void *my_addr, int my_addr_len, in conn_get_by_addrs() argument
2432 !memcmp(&connection->my_addr, my_addr, my_addr_len) && in conn_get_by_addrs()
/linux-6.1.9/include/linux/ceph/
Dlibceph.h50 struct ceph_entity_addr my_addr; member
/linux-6.1.9/Documentation/networking/
Dpacket_mmap.rst152 struct sockaddr_ll my_addr;
162 my_addr.sll_family = AF_PACKET;
163 my_addr.sll_protocol = htons(ETH_P_ALL);
164 my_addr.sll_ifindex = s_ifr.ifr_ifindex;
167 bind(this->socket, (struct sockaddr *)&my_addr, sizeof(struct sockaddr_ll));
/linux-6.1.9/net/ax25/
Daf_ax25.c199 struct sock *ax25_get_socket(ax25_address *my_addr, ax25_address *dest_addr, in ax25_get_socket() argument
207 if (s->sk && !ax25cmp(&s->source_addr, my_addr) && in ax25_get_socket()