Lines Matching refs:sd_ndisc_router

19 DEFINE_PUBLIC_TRIVIAL_REF_UNREF_FUNC(sd_ndisc_router, sd_ndisc_router, mfree);
21 sd_ndisc_router *ndisc_router_new(size_t raw_size) { in ndisc_router_new()
22 sd_ndisc_router *rt; in ndisc_router_new()
24 if (raw_size > SIZE_MAX - ALIGN(sizeof(sd_ndisc_router))) in ndisc_router_new()
27 rt = malloc0(ALIGN(sizeof(sd_ndisc_router)) + raw_size); in ndisc_router_new()
37 int sd_ndisc_router_get_address(sd_ndisc_router *rt, struct in6_addr *ret_addr) { in sd_ndisc_router_get_address()
48 int sd_ndisc_router_get_timestamp(sd_ndisc_router *rt, clockid_t clock, uint64_t *ret) { in sd_ndisc_router_get_timestamp()
61 int sd_ndisc_router_get_raw(sd_ndisc_router *rt, const void **ret, size_t *size) { in sd_ndisc_router_get_raw()
72 int ndisc_router_parse(sd_ndisc *nd, sd_ndisc_router *rt) { in ndisc_router_parse()
216 int sd_ndisc_router_get_hop_limit(sd_ndisc_router *rt, uint8_t *ret) { in sd_ndisc_router_get_hop_limit()
224 int sd_ndisc_router_get_flags(sd_ndisc_router *rt, uint64_t *ret_flags) { in sd_ndisc_router_get_flags()
232 int sd_ndisc_router_get_lifetime(sd_ndisc_router *rt, uint16_t *ret_lifetime) { in sd_ndisc_router_get_lifetime()
240 int sd_ndisc_router_get_preference(sd_ndisc_router *rt, unsigned *ret) { in sd_ndisc_router_get_preference()
248 int sd_ndisc_router_get_mtu(sd_ndisc_router *rt, uint32_t *ret) { in sd_ndisc_router_get_mtu()
259 int sd_ndisc_router_option_rewind(sd_ndisc_router *rt) { in sd_ndisc_router_option_rewind()
268 int sd_ndisc_router_option_next(sd_ndisc_router *rt) { in sd_ndisc_router_option_next()
287 int sd_ndisc_router_option_get_type(sd_ndisc_router *rt, uint8_t *ret) { in sd_ndisc_router_option_get_type()
301 int sd_ndisc_router_option_is_type(sd_ndisc_router *rt, uint8_t type) { in sd_ndisc_router_option_is_type()
314 int sd_ndisc_router_option_get_raw(sd_ndisc_router *rt, const void **ret, size_t *size) { in sd_ndisc_router_option_get_raw()
336 static int get_prefix_info(sd_ndisc_router *rt, struct nd_opt_prefix_info **ret) { in get_prefix_info()
362 int sd_ndisc_router_prefix_get_valid_lifetime(sd_ndisc_router *rt, uint32_t *ret) { in sd_ndisc_router_prefix_get_valid_lifetime()
377 int sd_ndisc_router_prefix_get_preferred_lifetime(sd_ndisc_router *rt, uint32_t *ret) { in sd_ndisc_router_prefix_get_preferred_lifetime()
392 int sd_ndisc_router_prefix_get_flags(sd_ndisc_router *rt, uint8_t *ret) { in sd_ndisc_router_prefix_get_flags()
415 int sd_ndisc_router_prefix_get_address(sd_ndisc_router *rt, struct in6_addr *ret_addr) { in sd_ndisc_router_prefix_get_address()
430 int sd_ndisc_router_prefix_get_prefixlen(sd_ndisc_router *rt, unsigned *ret) { in sd_ndisc_router_prefix_get_prefixlen()
448 static int get_route_info(sd_ndisc_router *rt, uint8_t **ret) { in get_route_info()
475 int sd_ndisc_router_route_get_lifetime(sd_ndisc_router *rt, uint32_t *ret) { in sd_ndisc_router_route_get_lifetime()
490 int sd_ndisc_router_route_get_address(sd_ndisc_router *rt, struct in6_addr *ret_addr) { in sd_ndisc_router_route_get_address()
507 int sd_ndisc_router_route_get_prefixlen(sd_ndisc_router *rt, unsigned *ret) { in sd_ndisc_router_route_get_prefixlen()
522 int sd_ndisc_router_route_get_preference(sd_ndisc_router *rt, unsigned *ret) { in sd_ndisc_router_route_get_preference()
540 static int get_rdnss_info(sd_ndisc_router *rt, uint8_t **ret) { in get_rdnss_info()
561 int sd_ndisc_router_rdnss_get_addresses(sd_ndisc_router *rt, const struct in6_addr **ret) { in sd_ndisc_router_rdnss_get_addresses()
576 int sd_ndisc_router_rdnss_get_lifetime(sd_ndisc_router *rt, uint32_t *ret) { in sd_ndisc_router_rdnss_get_lifetime()
591 static int get_dnssl_info(sd_ndisc_router *rt, uint8_t **ret) { in get_dnssl_info()
612 int sd_ndisc_router_dnssl_get_domains(sd_ndisc_router *rt, char ***ret) { in sd_ndisc_router_dnssl_get_domains()
704 int sd_ndisc_router_dnssl_get_lifetime(sd_ndisc_router *rt, uint32_t *ret_sec) { in sd_ndisc_router_dnssl_get_lifetime()