Searched defs:zero (Results 1 - 4 of 4) sorted by relevance

/systemd/src/libsystemd-network/
H A Dicmp6-util.c50 int r, zero = 0, one = 1, hops = 255; local
70 r = setsockopt(s, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, &zero, sizeof(zero));
H A Dtest-dhcp6-client.c105 size_t zero = 0, pos = 3; local
113 assert_se(dhcp6_option_parse(&buf, &zero, &optcode, &optlen,
/systemd/src/basic/
H A Dutil.h108 #define zero(x) (memzero(&(x), sizeof(x))) macro
/systemd/src/test/
H A Dtest-util.c155 static const uint8_t zero[997] = { }; local
164 assert_se(!memcmp(t, zero, 997));
887 _cleanup_free_ char *one, *three, *zero; local
890 zero = strrep("waldo", 0);
894 assert_se(streq(zero, ""));

Completed in 59 milliseconds