Searched refs:sa_addr (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/Network/slirp/
H A Dudp.c515 struct sockaddr sa_addr; local
532 memset(&sa_addr, 0, sizeof(struct sockaddr));
533 addr = (struct sockaddr_in *)&sa_addr;
540 if (bind(so->s, &sa_addr, sizeof(struct sockaddr_in)) < 0)
556 status = getsockname(so->s, &sa_addr, &socklen);
557 Assert(status == 0 && sa_addr.sa_family == AF_INET);
558 so->so_hlport = ((struct sockaddr_in *)&sa_addr)->sin_port;
559 so->so_hladdr.s_addr = ((struct sockaddr_in *)&sa_addr)->sin_addr.s_addr;

Completed in 344 milliseconds