Lines Matching refs:peer
44 struct net_addr peer; member
168 &ctx->peer.in6_addr); in interface_send()
171 ret = net_ipv6_create(tmp, ctx->my6addr, &ctx->peer.in6_addr); in interface_send()
208 &ctx->peer.in_addr); in interface_send()
222 &ctx->peer.in_addr, in interface_send()
277 if (memcmp(&ctx->peer.in_addr, &net_sin(remote_addr)->sin_addr, in verify_remote_addr()
282 if (memcmp(&ctx->peer.in6_addr, &net_sin6(remote_addr)->sin6_addr, in verify_remote_addr()
492 char peer[INET_ADDRSTRLEN]; in interface_set_config() local
495 net_ipaddr_copy(&ctx->peer.in_addr, &config->peer4addr); in interface_set_config()
497 addr_str = net_addr_ntop(AF_INET, &ctx->peer.in_addr, in interface_set_config()
498 peer, sizeof(peer)); in interface_set_config()
506 &ctx->peer.in_addr)); in interface_set_config()
523 char peer[INET6_ADDRSTRLEN]; in interface_set_config() local
526 net_ipaddr_copy(&ctx->peer.in6_addr, in interface_set_config()
529 addr_str = net_addr_ntop(AF_INET6, &ctx->peer.in6_addr, in interface_set_config()
530 peer, sizeof(peer)); in interface_set_config()
540 &ctx->peer.in6_addr)); in interface_set_config()
579 &ctx->peer.in6_addr); in interface_get_config()
584 &ctx->peer.in_addr); in interface_get_config()