10#ifndef LRTR_IPV6_PRIVATE_H
11#define LRTR_IPV6_PRIVATE_H
45 const uint8_t quantity);
target_byte_order
Target byte order for conversion.
Definition convert_byte_order_private.h:18
void lrtr_ipv6_addr_convert_byte_order(const uint32_t *src, uint32_t *dest, const enum target_byte_order tbo)
Converts the passed IPv6 address to given byte order.
int lrtr_ipv6_addr_to_str(const struct lrtr_ipv6_addr *ip, char *str, const unsigned int len)
Converts the passed ipv6_addr to string representation.
bool lrtr_ipv6_addr_equal(const struct lrtr_ipv6_addr *a, const struct lrtr_ipv6_addr *b)
Compares two lrtr_ipv6_addr structs.
int lrtr_ipv6_str_to_addr(const char *str, struct lrtr_ipv6_addr *ip)
Converts the passed IPv6 address string in to lrtr_ipv6_addr struct.
struct lrtr_ipv6_addr lrtr_ipv6_get_bits(const struct lrtr_ipv6_addr *val, const uint8_t first_bit, const uint8_t quantity)
Extracts quantity bits from an IPv6 address.
uint32_t len
Definition rtr_pdus.h:4
Struct holding an IPv6 address in host byte order.
Definition ipv6.h:18