Home
last modified time | relevance | path

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

/systemd-251/src/test/
Dtest-socket-netlink.c208 TEST(socket_address_is) { in TEST() argument
212 assert_se( socket_address_is(&a, "192.168.1.1:8888", 0 /* unspecified yet */)); in TEST()
213 assert_se(!socket_address_is(&a, "route", 0)); in TEST()
214 assert_se(!socket_address_is(&a, "route", SOCK_STREAM)); in TEST()
215 assert_se(!socket_address_is(&a, "192.168.1.1:8888", SOCK_RAW)); in TEST()
216 assert_se(!socket_address_is(&a, "192.168.1.1:8888", SOCK_STREAM)); in TEST()
218 assert_se( socket_address_is(&a, "192.168.1.1:8888", SOCK_STREAM)); in TEST()
/systemd-251/src/shared/
Dsocket-netlink.h14 bool socket_address_is(const SocketAddress *a, const char *s, int type);
Dsocket-netlink.c193 bool socket_address_is(const SocketAddress *a, const char *s, int type) { in socket_address_is() function
/systemd-251/src/core/
Dsocket.c2728 socket_address_is(&p->address, value+skip, type)) { in socket_deserialize_item()