Home | History | Annotate | Download | only in base

Lines Matching defs:addr4

417   struct sockaddr_in* addr4 = &static_addr4;
418 memset(addr4, 0, sizeof(static_addr4));
419 addr4->sin_port = htons(port);
420 addr4->sin_family = ai->ai_family;
421 memcpy(&addr4->sin_addr, bytes, 4);
423 ai->ai_addr = (sockaddr*)addr4;