Searched refs:peer_data (Results 1 – 1 of 1) sorted by relevance
50 static struct app_data peer_data = { variable358 &peer_data.peer); in get_peer_address()364 if (net_sin(&peer_data.peer)->sin_port == 0) { in get_peer_address()365 net_sin(&peer_data.peer)->sin_port = htons(4242); in get_peer_address()369 peer_data.peer.sa_family == AF_INET6) { in get_peer_address()371 &net_sin6(&peer_data.peer)->sin6_addr); in get_peer_address()373 net_addr_ntop(peer_data.peer.sa_family, in get_peer_address()374 &net_sin6(&peer_data.peer)->sin6_addr, addr_str, in get_peer_address()376 peer_data.peer_addr_len = sizeof(struct sockaddr_in6); in get_peer_address()379 peer_data.peer.sa_family == AF_INET) { in get_peer_address()[all …]