Searched refs:socket_address_is (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/test/ |
D | test-socket-netlink.c | 208 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/ |
D | socket-netlink.h | 14 bool socket_address_is(const SocketAddress *a, const char *s, int type);
|
D | socket-netlink.c | 193 bool socket_address_is(const SocketAddress *a, const char *s, int type) { in socket_address_is() function
|
/systemd-251/src/core/ |
D | socket.c | 2728 socket_address_is(&p->address, value+skip, type)) { in socket_deserialize_item()
|