Home
last modified time | relevance | path

Searched refs:in_addr_is_set (Results 1 – 18 of 18) sorted by relevance

/systemd-251/src/network/
Dnetworkd-route-util.c60 if (!in_addr_is_set(route->gw_family, &route->gw)) in link_find_default_gateway()
115 if (!gw || !in_addr_is_set(family, gw)) in gateway_is_ready()
126 if (!in_addr_is_set(route->family, &route->dst) && route->dst_prefixlen == 0) in gateway_is_ready()
144 if (in_addr_is_set(a->family, &a->in_addr_peer)) in gateway_is_ready()
180 in_addr_is_set(family, prefsrc) && in link_address_is_reachable_internal()
181 in_addr_is_set(family, &route->prefsrc) && in link_address_is_reachable_internal()
222 if (!in_addr_is_set(route->family, &route->prefsrc)) { in link_address_is_reachable()
271 if (!in_addr_is_set(found->family, &found->prefsrc)) { in manager_address_is_reachable()
Dnetworkd-nexthop.c477 if (in_addr_is_set(nexthop->family, &nexthop->gw)) { in nexthop_configure()
1005 if (in_addr_is_set(nh->family, &nh->gw)) in nexthop_section_verify()
1017 if (nh->blackhole && in_addr_is_set(nh->family, &nh->gw)) in nexthop_section_verify()
1026 if (nh->blackhole && in_addr_is_set(nh->family, &nh->gw)) in nexthop_section_verify()
1032 if (nh->onlink < 0 && in_addr_is_set(nh->family, &nh->gw) && in nexthop_section_verify()
1181 !in_addr_is_set(n->family, &n->gw)) { in config_parse_nexthop_family()
1195 if (in_addr_is_set(n->family, &n->gw) && in config_parse_nexthop_family()
Dnetworkd-route.c561 if (in_addr_is_set(route->family, &route->dst) || route->dst_prefixlen > 0) in log_route_debug()
563 if (in_addr_is_set(route->family, &route->src) || route->src_prefixlen > 0) in log_route_debug()
565 if (in_addr_is_set(route->gw_family, &route->gw)) { in log_route_debug()
591 if (in_addr_is_set(route->family, &route->prefsrc)) in log_route_debug()
616 if (in_addr_is_set(route->gw_family, &route->gw) && route->nexthop_id == 0) { in route_set_netlink_message()
653 if (in_addr_is_set(route->family, &route->prefsrc)) { in route_set_netlink_message()
1239 assert(!in_addr_is_set(route->gw_family, &route->gw)); in route_configure()
1282 if (in_addr_is_set(route->family, &route->prefsrc) > 0) { in route_is_ready_to_configure()
2832 !in_addr_is_set(route->gw_family, &route->gw) && in route_section_verify()
2846 if (route->gateway_onlink < 0 && in_addr_is_set(route->gw_family, &route->gw) && in route_section_verify()
[all …]
Dnetworkd-address.c594 if (in_addr_is_set(family, &a->in_addr_peer)) in link_get_address()
662 if (in_addr_is_set(address->family, &address->in_addr_peer)) in log_address_debug()
990 if (in_addr_is_set(original->family, &original->in_addr)) { in address_acquire()
1063 if (in_addr_is_set(address->family, &address->in_addr_peer)) { in address_configure()
1959 in_addr_is_set(address->family, &address->in_addr_peer))) { in address_section_verify()
Dnetworkctl.c1941 if (in_addr_is_set(AF_INET, &info->local)) { in link_status_one()
1950 if (in_addr_is_set(AF_INET, &info->remote)) { in link_status_one()
1959 if (in_addr_is_set(AF_INET6, &info->local)) { in link_status_one()
1968 if (in_addr_is_set(AF_INET6, &info->remote)) { in link_status_one()
1984 if (info->has_tunnel_ipv4 && in_addr_is_set(AF_INET, &info->remote)) { in link_status_one()
1991 } else if (in_addr_is_set(AF_INET6, &info->remote)) { in link_status_one()
Dnetworkd-bridge-fdb.c151 if (in_addr_is_set(fdb->family, &fdb->destination_addr)) { in bridge_fdb_configure_message()
Dnetworkd-json.c386 JSON_BUILD_PAIR_CONDITION(in_addr_is_set(rule->family, &rule->from), in routing_policy_rule_build_json()
389 JSON_BUILD_PAIR_CONDITION(in_addr_is_set(rule->family, &rule->to), in routing_policy_rule_build_json()
/systemd-251/src/network/netdev/
Dvxlan.c57 if (in_addr_is_set(v->group_family, &v->group)) { in netdev_vxlan_fill_message_create()
64 } else if (in_addr_is_set(v->remote_family, &v->remote)) { in netdev_vxlan_fill_message_create()
77 if (in_addr_is_set(local_family, &local)) { in netdev_vxlan_fill_message_create()
413 … if (in_addr_is_set(v->group_family, &v->group) && in_addr_is_set(v->remote_family, &v->remote)) in netdev_vxlan_verify()
Dl2tp-tunnel.c262 if (in_addr_is_set(a->family, &a->in_addr_peer)) in link_get_l2tp_local_address()
309 if (in_addr_is_set(t->family, &t->local)) { in l2tp_get_local_address()
502 if (!in_addr_is_set(t->family, &t->remote)) in config_parse_l2tp_tunnel_local_address()
536 if (!in_addr_is_set(t->family, &t->remote)) in config_parse_l2tp_tunnel_local_address()
593 if (!in_addr_is_set(t->family, &t->local)) in config_parse_l2tp_tunnel_remote_address()
847 if (!in_addr_is_set(t->family, &t->remote)) in netdev_l2tp_tunnel_verify()
Dnetdev-util.c64 if (in_addr_is_set(a->family, &a->in_addr_peer)) in link_get_local_address()
Dtunnel.c705 (t->family != AF_INET || !in_addr_is_set(t->family, &t->remote))) in netdev_tunnel_verify()
715 (t->family != AF_INET6 || !in_addr_is_set(t->family, &t->remote))) in netdev_tunnel_verify()
749 if (!in_addr_is_set(t->family, &t->remote)) in unset_local()
818 !in_addr_is_set(t->family, &t->local)) in unset_remote()
Dgeneve.c45 if (in_addr_is_set(v->remote_family, &v->remote)) { in netdev_geneve_fill_message_create()
/systemd-251/src/nspawn/
Dnspawn-expose-ports.c93 if (!in_addr_is_set(af, exposed)) in expose_port_flush()
159 in_addr_is_set(af, exposed) ? exposed : NULL); in expose_port_execute()
/systemd-251/src/shared/
Dresolve-util.c36 if (!in_addr_is_set(family, sa)) in dns_server_address_valid()
Dconf-parser.c1859 if (!in_addr_is_set(ltype, &a)) { in config_parse_in_addr_non_null()
Djson.c4010 if (a && in_addr_is_set(f, a) && current->n_suppress == 0) { in json_buildv()
/systemd-251/src/network/generator/
Dnetwork-generator.c391 if (!in_addr_is_set(family, addr)) in network_set_address()
406 if (!in_addr_is_set(family, gateway)) in network_set_route()
1091 if (in_addr_is_set(address->family, &address->peer)) { in address_dump()
1112 if (in_addr_is_set(route->family, &route->dest)) { in route_dump()
/systemd-251/src/basic/
Din-addr-util.h32 static inline bool in_addr_is_set(int family, const union in_addr_union *u) { in in_addr_is_set() function