Lines Matching refs:sin6
464 DECLARE_SOCKADDR(struct sockaddr_in6 *, sin6, msg->msg_name);
503 if (sin6) {
504 sin6->sin6_family = AF_INET6;
505 sin6->sin6_port = 0;
506 sin6->sin6_addr = ipv6_hdr(skb)->saddr;
507 sin6->sin6_flowinfo = 0;
508 sin6->sin6_scope_id = ipv6_iface_scope_id(&sin6->sin6_addr,
510 *addr_len = sizeof(*sin6);
739 DECLARE_SOCKADDR(struct sockaddr_in6 *, sin6, msg->msg_name);
773 if (sin6) {
777 if (sin6->sin6_family && sin6->sin6_family != AF_INET6)
781 proto = ntohs(sin6->sin6_port);
791 daddr = &sin6->sin6_addr;
793 fl6.flowlabel = sin6->sin6_flowinfo&IPV6_FLOWINFO_MASK;
810 sin6->sin6_scope_id &&
812 fl6.flowi6_oif = sin6->sin6_scope_id;