Home
last modified time | relevance | path

Searched refs:ip_protocol_to_name (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/test/
Dtest-ip-protocol-list.c14 assert_se(ip_protocol_from_name(ip_protocol_to_name(i)) == i); in test_int()
17 assert_se(ip_protocol_from_name(ip_protocol_to_name(parse_ip_protocol(str))) == i); in test_int()
23 assert_se(!ip_protocol_to_name(i)); in test_int_fail()
30 assert_se(streq(ip_protocol_to_name(ip_protocol_from_name(s)), s)); in test_str()
31 assert_se(streq(ip_protocol_to_name(parse_ip_protocol(s)), s)); in test_str()
/systemd-251/src/shared/
Dip-protocol-list.c17 const char *ip_protocol_to_name(int id) { in ip_protocol_to_name() function
63 if (!ip_protocol_to_name(i)) in parse_ip_protocol()
71 ip_protocol_to_name(id) : NULL; in ip_protocol_to_tcp_udp()
Dip-protocol-list.h4 const char *ip_protocol_to_name(int id);
/systemd-251/src/core/
Ddbus-socket.c152 return ip_protocol_to_name(i); in socket_protocol_to_string()
Dsocket.c774 str = ip_protocol_to_name(s->socket_protocol); in socket_dump()
/systemd-251/src/network/
Dnetworkd-json.c397 … JSON_BUILD_PAIR_STRING("IPProtocolString", ip_protocol_to_name(rule->ipproto)), in routing_policy_rule_build_json()