Searched refs:in6_addr (Results 1 - 25 of 37) sorted by relevance

12

/systemd/src/systemd/
H A Dsd-dhcp6-lease.h35 struct in6_addr *addr,
39 int sd_dhcp6_lease_get_dns(sd_dhcp6_lease *lease, struct in6_addr **addrs);
42 struct in6_addr **addrs);
H A Dsd-ndisc.h39 typedef void(*sd_ndisc_router_callback_t)(sd_ndisc *nd, uint8_t flags, const struct in6_addr *gateway, unsigned lifetime, int pref, void *userdata);
40 typedef void(*sd_ndisc_prefix_onlink_callback_t)(sd_ndisc *nd, const struct in6_addr *prefix, unsigned prefixlen,
42 typedef void(*sd_ndisc_prefix_autonomous_callback_t)(sd_ndisc *nd, const struct in6_addr *prefix, unsigned prefixlen,
H A Dsd-dhcp6-client.h85 int sd_dhcp6_client_set_local_address(sd_dhcp6_client *client, const struct in6_addr *local_address);
H A Dsd-netlink.h77 int sd_netlink_message_append_in6_addr(sd_netlink_message *m, unsigned short type, const struct in6_addr *data);
92 int sd_netlink_message_read_in6_addr(sd_netlink_message *m, unsigned short type, struct in6_addr *data);
/systemd/src/libsystemd-network/
H A Ddhcp6-internal.h37 struct in6_addr address;
68 struct in6_addr **addrs, size_t count,
73 int dhcp6_network_bind_udp_socket(int index, struct in6_addr *address);
74 int dhcp6_network_send_udp_socket(int s, struct in6_addr *address,
H A Ddhcp6-lease-internal.h41 struct in6_addr *dns;
46 struct in6_addr *ntp;
H A Dnetwork-internal.h70 void serialize_in6_addrs(FILE *f, const struct in6_addr *addresses,
72 int deserialize_in6_addrs(struct in6_addr **addresses, const char *string);
H A Ddhcp6-network.c35 int dhcp6_network_bind_udp_socket(int index, struct in6_addr *local_address) {
74 int dhcp6_network_send_udp_socket(int s, struct in6_addr *server_address,
H A Ddhcp6-option.c324 struct in6_addr **addrs, size_t count,
327 if (optlen == 0 || optlen % sizeof(struct in6_addr) != 0)
331 count * sizeof(struct in6_addr) + optlen))
336 count += optlen / sizeof(struct in6_addr);
H A Dsd-dhcp6-lease.c151 int sd_dhcp6_lease_get_address(sd_dhcp6_lease *lease, struct in6_addr *addr,
163 sizeof(struct in6_addr));
202 int sd_dhcp6_lease_get_dns(sd_dhcp6_lease *lease, struct in6_addr **addrs) {
336 struct in6_addr **addrs) {
H A Dnetwork-internal.c387 void serialize_in6_addrs(FILE *f, const struct in6_addr *addresses,
401 int deserialize_in6_addrs(struct in6_addr **ret, const char *string) {
402 _cleanup_free_ struct in6_addr *addresses = NULL;
412 struct in6_addr *new_addresses;
415 new_addresses = realloc(addresses, (size + 1) * sizeof(struct in6_addr));
H A Dtest-dhcp6-client.c213 struct in6_addr addr;
217 struct in6_addr *addrs;
362 struct in6_addr *addrs;
415 struct in6_addr addr;
561 struct in6_addr *addrs;
562 struct in6_addr address = { { { 0xfe, 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01 } } };
605 struct in6_addr addr;
655 int dhcp6_network_send_udp_socket(int s, struct in6_addr *server_address,
657 struct in6_addr mcast =
692 int dhcp6_network_bind_udp_socket(int index, struct in6_addr *local_addres
[all...]
H A Dsd-ndisc.c69 struct in6_addr addr;
280 static int prefix_match(const struct in6_addr *prefix, uint8_t prefixlen,
281 const struct in6_addr *addr,
300 static int ndisc_prefix_match(sd_ndisc *nd, const struct in6_addr *addr,
492 struct in6_addr *gw;
H A Dtest-ndisc-rs.c86 static void test_rs_done(sd_ndisc *nd, uint8_t flags, const struct in6_addr *gateway, unsigned lifetime, int pref, void *userdata) {
/systemd/src/network/
H A Dtest-network.c27 _cleanup_free_ struct in6_addr *addresses6 = NULL;
29 struct in6_addr d, e, f;
51 assert_se(!memcmp(&d, &addresses6[0], sizeof(struct in6_addr)));
52 assert_se(!memcmp(&e, &addresses6[1], sizeof(struct in6_addr)));
53 assert_se(!memcmp(&f, &addresses6[2], sizeof(struct in6_addr)));
H A Dnetworkd-dhcp6.c63 static int dhcp6_address_change(Link *link, struct in6_addr *ip6_addr,
96 struct in6_addr ip6_addr;
H A Dnetworkd-ndisc.c51 static void ndisc_prefix_autonomous_handler(sd_ndisc *nd, const struct in6_addr *prefix, unsigned prefixlen,
104 static void ndisc_prefix_onlink_handler(sd_ndisc *nd, const struct in6_addr *prefix, unsigned prefixlen, unsigned lifetime, void *userdata) {
142 static void ndisc_router_handler(sd_ndisc *nd, uint8_t flags, const struct in6_addr *gateway, unsigned lifetime, int pref, void *userdata) {
H A Dnetworkd-link.h70 struct in6_addr ipv6ll_address;
145 int link_ipv6ll_gained(Link *link, const struct in6_addr *address);
/systemd/src/basic/
H A Din-addr-util.h31 struct in6_addr in6;
H A Din-addr-util.c172 struct in6_addr add = {}, result;
/systemd/src/resolve/
H A Dresolved-dns-rr.h158 struct in6_addr in6_addr; member in struct:DnsResourceRecord::__anon231::__anon238
H A Dresolved-dns-packet.h245 #define LLMNR_MULTICAST_IPV6_ADDRESS ((struct in6_addr) { .s6_addr = { 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x03 } })
248 #define MDNS_MULTICAST_IPV6_ADDRESS ((struct in6_addr) { .s6_addr = { 0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfb } })
H A Dresolved-dns-rr.c563 rr->aaaa.in6_addr = address->in6;
621 return memcmp(&a->aaaa.in6_addr, &b->aaaa.in6_addr, sizeof(struct in6_addr)) == 0;
888 r = in_addr_to_string(AF_INET6, (const union in_addr_union*) &rr->aaaa.in6_addr, &t);
1350 siphash24_compress(&rr->aaaa.in6_addr, sizeof(rr->aaaa.in6_addr), state);
H A Dresolved-dns-synthesize.c107 rr->aaaa.in6_addr = in6addr_loopback;
/systemd/src/libsystemd/sd-netlink/
H A Dnetlink-message.c374 int sd_netlink_message_append_in6_addr(sd_netlink_message *m, unsigned short type, const struct in6_addr *data) {
385 r = add_rtattr(m, type, data, sizeof(struct in6_addr));
708 int sd_netlink_message_read_in6_addr(sd_netlink_message *m, unsigned short type, struct in6_addr *data) {
721 else if ((size_t)r < sizeof(struct in6_addr))
725 memcpy(data, attr_data, sizeof(struct in6_addr));

Completed in 388 milliseconds

12