Searched refs:peer_addr_len (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/block/drbd/ |
H A D | drbd_nl.c | 332 if (connection->my_addr_len == 0 || connection->peer_addr_len == 0) in setup_khelper_env() 2535 if (nla_len(adm_ctx.peer_addr) == connection->peer_addr_len && in drbd_adm_connect() 2537 connection->peer_addr_len)) { in drbd_adm_connect() 2598 connection->peer_addr_len = nla_len(adm_ctx.peer_addr); in drbd_adm_connect() 2599 memcpy(&connection->peer_addr, nla_data(adm_ctx.peer_addr), connection->peer_addr_len); in drbd_adm_connect() 3201 if (connection->peer_addr_len && in nla_put_drbd_cfg_context() 3202 nla_put(skb, T_ctx_peer_addr, connection->peer_addr_len, &connection->peer_addr)) in nla_put_drbd_cfg_context()
|
H A D | drbd_int.h | 636 int peer_addr_len; member 1378 void *peer_addr, int peer_addr_len);
|
H A D | drbd_main.c | 2420 void *peer_addr, int peer_addr_len) in conn_get_by_addrs() argument 2429 connection->peer_addr_len == peer_addr_len && in conn_get_by_addrs() 2431 !memcmp(&connection->peer_addr, peer_addr, peer_addr_len)) { in conn_get_by_addrs()
|
H A D | drbd_receiver.c | 595 int err, peer_addr_len, my_addr_len; in drbd_try_connect() local 618 peer_addr_len = min_t(int, connection->peer_addr_len, sizeof(src_in6)); in drbd_try_connect() 619 memcpy(&peer_in6, &connection->peer_addr, peer_addr_len); in drbd_try_connect() 649 err = sock->ops->connect(sock, (struct sockaddr *) &peer_in6, peer_addr_len, 0); in drbd_try_connect()
|
H A D | drbd_state.c | 2078 connection->peer_addr_len = 0; in w_after_conn_state_ch()
|