Searched refs:my_addr_len (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/drivers/block/drbd/ |
H A D | drbd_receiver.c | 575 int err, peer_addr_len, my_addr_len; drbd_try_connect() local 590 my_addr_len = min_t(int, connection->my_addr_len, sizeof(src_in6)); drbd_try_connect() 591 memcpy(&src_in6, &connection->my_addr, my_addr_len); drbd_try_connect() 621 err = sock->ops->bind(sock, (struct sockaddr *) &src_in6, my_addr_len); drbd_try_connect() 677 int err, sndbuf_size, rcvbuf_size, my_addr_len; prepare_listen_socket() local 693 my_addr_len = min_t(int, connection->my_addr_len, sizeof(struct sockaddr_in6)); prepare_listen_socket() 694 memcpy(&my_addr, &connection->my_addr, my_addr_len); prepare_listen_socket() 708 err = s_listen->ops->bind(s_listen, (struct sockaddr *)&my_addr, my_addr_len); prepare_listen_socket()
|
H A D | drbd_nl.c | 302 if (connection->my_addr_len == 0 || connection->peer_addr_len == 0) setup_khelper_env() 2277 if (nla_len(adm_ctx.my_addr) == connection->my_addr_len && for_each_connection() 2279 connection->my_addr_len)) { for_each_connection() 2345 connection->my_addr_len = nla_len(adm_ctx.my_addr); 2346 memcpy(&connection->my_addr, nla_data(adm_ctx.my_addr), connection->my_addr_len); 2896 if (connection->my_addr_len && nla_put_drbd_cfg_context() 2897 nla_put(skb, T_ctx_my_addr, connection->my_addr_len, &connection->my_addr)) nla_put_drbd_cfg_context()
|
H A D | drbd_main.c | 2464 struct drbd_connection *conn_get_by_addrs(void *my_addr, int my_addr_len, conn_get_by_addrs() argument 2473 if (connection->my_addr_len == my_addr_len && for_each_connection_rcu() 2475 !memcmp(&connection->my_addr, my_addr, my_addr_len) && for_each_connection_rcu()
|
H A D | drbd_int.h | 727 int my_addr_len; member in struct:drbd_connection 1440 extern struct drbd_connection *conn_get_by_addrs(void *my_addr, int my_addr_len,
|
H A D | drbd_state.c | 1598 connection->my_addr_len = 0; w_after_conn_state_ch()
|
Completed in 217 milliseconds