Home
last modified time | relevance | path

Searched refs:sd_radv_prefix_set_prefix (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/libsystemd-network/
Dtest-ndisc-ra.c126 assert_se(sd_radv_prefix_set_prefix(NULL, NULL, 0) < 0); in TEST()
127 assert_se(sd_radv_prefix_set_prefix(p, NULL, 0) < 0); in TEST()
129 assert_se(sd_radv_prefix_set_prefix(p, &prefix[0].address, 64) >= 0); in TEST()
130 assert_se(sd_radv_prefix_set_prefix(p, &prefix[0].address, 0) < 0); in TEST()
131 assert_se(sd_radv_prefix_set_prefix(p, &prefix[0].address, 1) < 0); in TEST()
132 assert_se(sd_radv_prefix_set_prefix(p, &prefix[0].address, 2) < 0); in TEST()
133 assert_se(sd_radv_prefix_set_prefix(p, &prefix[0].address, 3) >= 0); in TEST()
134 assert_se(sd_radv_prefix_set_prefix(p, &prefix[0].address, 125) >= 0); in TEST()
135 assert_se(sd_radv_prefix_set_prefix(p, &prefix[0].address, 128) >= 0); in TEST()
136 assert_se(sd_radv_prefix_set_prefix(p, &prefix[0].address, 129) < 0); in TEST()
[all …]
Dsd-radv.c877 int sd_radv_prefix_set_prefix( in sd_radv_prefix_set_prefix() function
/systemd-251/src/systemd/
Dsd-radv.h72 int sd_radv_prefix_set_prefix(sd_radv_prefix *p, const struct in6_addr *in6_addr,
/systemd-251/src/network/
Dnetworkd-radv.c251 r = sd_radv_prefix_set_prefix(p, &prefix->prefix, prefix->prefixlen); in radv_set_prefix()
675 r = sd_radv_prefix_set_prefix(p, prefix, prefix_len); in radv_add_prefix()