Lines Matching defs:laddr
1376 struct sockaddr_storage laddr;
1378 i = convert_sockaddr(&laddr, destaddr, addrlen);
1383 return connect(sd, (struct sockaddr *) &laddr, i);
1392 struct sockaddr_storage laddr;
1394 i = convert_sockaddr(&laddr, localaddr, addrlen);
1399 return bind(sd, (struct sockaddr *) &laddr, i);
1409 struct sockaddr_storage laddr;
1411 i = convert_sockaddr(&laddr, dstaddr, addrlen);
1416 return sendto(sd, buffer, buflen, flags, (struct sockaddr *) &laddr, i);
1430 struct sockaddr_storage laddr;
1435 laddrlen = sizeof laddr;
1436 laddr.ss_family = AF_UNSPEC; /* To detect if unused. */
1438 (struct sockaddr *) &laddr, &laddrlen);
1443 switch (laddr.ss_family) {
1446 srcu = (const struct sockaddr_un *) &laddr;
1466 memcpy((char *) fromaddr, (char *) &laddr, laddrlen);