Home | History | Annotate | Download | only in racoon

Lines Matching defs:sin6

396 	struct sockaddr_in6 *sin6;
436 && otolen >= sizeof(*sin6)) {
438 *tolen = sizeof(*sin6);
439 sin6 = (struct sockaddr_in6 *)to;
440 memset(sin6, 0, sizeof(*sin6));
441 sin6->sin6_family = AF_INET6;
443 sin6->sin6_len = sizeof(*sin6);
445 memcpy(&sin6->sin6_addr, &pi->ipi6_addr,
446 sizeof(sin6->sin6_addr));
448 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr))
449 sin6->sin6_scope_id = pi->ipi6_ifindex;
451 sin6->sin6_scope_id = 0;
452 sin6->sin6_port =
480 && otolen >= sizeof(*sin6)) {
481 *tolen = sizeof(*sin6);
482 sin6 = (struct sockaddr_in6 *)to;
483 memset(sin6, 0, sizeof(*sin6));
484 sin6->sin6_family = AF_INET6;
485 sin6->sin6_len = sizeof(*sin6);
486 memcpy(&sin6->sin6_addr, CMSG_DATA(cm),
487 sizeof(sin6->sin6_addr));
488 sin6->sin6_port =