Lines Matching refs:in6_addr
150 static int radv_send(sd_radv *ra, const struct in6_addr *dst, usec_t lifetime_usec) { in radv_send()
248 struct in6_addr src; in radv_recv()
586 if (in6_addr_is_null(&p->opt.in6_addr)) in sd_radv_add_prefix()
589 (void) in6_addr_prefix_to_string(&p->opt.in6_addr, p->opt.prefixlen, &addr_p); in sd_radv_add_prefix()
594 (const union in_addr_union*) &cur->opt.in6_addr, in sd_radv_add_prefix()
596 (const union in_addr_union*) &p->opt.in6_addr, in sd_radv_add_prefix()
609 (void) in6_addr_prefix_to_string(&cur->opt.in6_addr, cur->opt.prefixlen, &addr_cur); in sd_radv_add_prefix()
659 const struct in6_addr *prefix, in sd_radv_remove_prefix()
672 if (!in6_addr_equal(prefix, &cur->opt.in6_addr)) in sd_radv_remove_prefix()
690 (void) in6_addr_prefix_to_string(&p->opt.in6_addr, p->opt.prefixlen, &addr_p); in sd_radv_add_route_prefix()
695 (const union in_addr_union*) &cur->opt.in6_addr, in sd_radv_add_route_prefix()
697 (const union in_addr_union*) &p->opt.in6_addr, in sd_radv_add_route_prefix()
710 (void) in6_addr_prefix_to_string(&cur->opt.in6_addr, cur->opt.prefixlen, &addr_cur); in sd_radv_add_route_prefix()
760 const struct in6_addr *dns, in sd_radv_set_rdnss()
776 len = sizeof(struct sd_radv_opt_dns) + sizeof(struct in6_addr) * n_dns; in sd_radv_set_rdnss()
786 memcpy(opt_rdnss + 1, dns, n_dns * sizeof(struct in6_addr)); in sd_radv_set_rdnss()
879 const struct in6_addr *in6_addr, in sd_radv_prefix_set_prefix() argument
883 assert_return(in6_addr, -EINVAL); in sd_radv_prefix_set_prefix()
892 p->opt.in6_addr = *in6_addr; in sd_radv_prefix_set_prefix()
900 struct in6_addr *ret_in6_addr, in sd_radv_prefix_get_prefix()
907 *ret_in6_addr = p->opt.in6_addr; in sd_radv_prefix_get_prefix()
975 const struct in6_addr *in6_addr, in sd_radv_route_prefix_set_prefix() argument
979 assert_return(in6_addr, -EINVAL); in sd_radv_route_prefix_set_prefix()
988 p->opt.in6_addr = *in6_addr; in sd_radv_route_prefix_set_prefix()