Files | |
| file | topo-print.c |
| Display the known topology. | |
| file | topo-vaddr.c |
| Virtual address serialization. | |
| file | topo-xml.c |
| XML parser and serializer for topology objects. | |
| file | Topology-internals.h |
| internal definitions for module Topology | |
| file | topology.c |
| Grid topology directory. | |
| file | Topology.h |
| Topology description API. | |
Data Structures | |
| union | padico_address_kind_t |
| struct | sockaddr_pa |
| struct | padico_vaddr_s |
Enumerations | |
| enum | padico_topo_binding_scope_t { PADICO_TOPO_SCOPE_NONE = 0x00 , PADICO_TOPO_SCOPE_NODE = 0x01 , PADICO_TOPO_SCOPE_HOST = 0x02 , PADICO_TOPO_SCOPE_ALL = 0xFF } |
| enum | padico_topo_addr_visibility_t { PADICO_TOPO_ADDR_VISIBILITY_NONE = 0 , PADICO_TOPO_ADDR_VISIBILITY_LOOPBACK = 1 , PADICO_TOPO_ADDR_VISIBILITY_LINKLOCAL = 2 , PADICO_TOPO_ADDR_VISIBILITY_PRIVATE = 3 , PADICO_TOPO_ADDR_VISIBILITY_PUBLIC = 4 } |
| enum | padico_topo_filter_policy_t { _PADICO_TOPO_FILTER_NONE = 0x00 , PADICO_TOPO_FILTER_BLOCK_IN = 0x01 , PADICO_TOPO_FILTER_BLOCK_OUT = 0x02 , PADICO_TOPO_FILTER_ALLOW_IN = 0x04 , PADICO_TOPO_FILTER_ALLOW_OUT = 0x08 , _PADICO_TOPO_FILTER_MAX } |
Detailed Description
Macro Definition Documentation
◆ AF_PADICO
| #define AF_PADICO |
Definition at line 409 of file Topology.h.
◆ AF_PADICO_AUTO
Definition at line 427 of file Topology.h.
◆ AF_PADICO_INET
Definition at line 423 of file Topology.h.
◆ AF_PADICO_MAGIC
| #define AF_PADICO_MAGIC | ( | B1, | |
| B2, | |||
| B3, | |||
| B4 | |||
| ) | (((padico_address_kind_t){ .bytes = { B1, B2, B3, B4 } }).integer) |
Definition at line 413 of file Topology.h.
◆ AF_PADICO_MAKE
| #define AF_PADICO_MAKE | ( | I | ) | ((padico_address_kind_t){ .integer = (I) }) |
Definition at line 416 of file Topology.h.
◆ AF_PADICO_PAYLOAD
| #define AF_PADICO_PAYLOAD 64 |
Definition at line 429 of file Topology.h.
◆ AF_PADICO_REVERSE
| #define AF_PADICO_REVERSE | ( | I | ) | ((AF_PADICO_MAKE(I)).bytes) |
Definition at line 419 of file Topology.h.
◆ AF_PADICO_UNIX
Definition at line 425 of file Topology.h.
◆ padico_na_rank
| #define padico_na_rank | ( | ) | padico_topo_session_getrank(padico_topo_session(), padico_topo_getlocalnode()) |
- Examples
- Tests/VIO/vio-test.c.
Definition at line 324 of file Topology.h.
◆ padico_na_size
| #define padico_na_size | ( | ) | padico_topo_network_size(padico_topo_session_getnetwork(padico_topo_session())) |
Definition at line 323 of file Topology.h.
◆ padico_sockaddr_magic
Definition at line 445 of file Topology.h.
◆ padico_sockaddr_payload
Definition at line 441 of file Topology.h.
◆ PADICO_TOPO_FILTER_MASK_ALLOW
| #define PADICO_TOPO_FILTER_MASK_ALLOW (PADICO_TOPO_FILTER_ALLOW_IN | PADICO_TOPO_FILTER_ALLOW_AOUT) |
Definition at line 120 of file Topology.h.
◆ PADICO_TOPO_FILTER_MASK_BLOCK
| #define PADICO_TOPO_FILTER_MASK_BLOCK (PADICO_TOPO_FILTER_BLOCK_IN | PADICO_TOPO_FILTER_BLOCK_OUT) |
Definition at line 119 of file Topology.h.
◆ PADICO_TOPO_FILTER_MASK_IN
| #define PADICO_TOPO_FILTER_MASK_IN (PADICO_TOPO_FILTER_BLOCK_IN | PADICO_TOPO_FILTER_ALLOW_IN) |
Definition at line 117 of file Topology.h.
◆ PADICO_TOPO_FILTER_MASK_OUT
| #define PADICO_TOPO_FILTER_MASK_OUT (PADICO_TOPO_FILTER_BLOCK_OUT | PADICO_TOPO_FILTER_ALLOW_OUT) |
Definition at line 118 of file Topology.h.
◆ padico_topo_getlocalhost
| #define padico_topo_getlocalhost | ( | ) | padico_topo_node_gethost(padico_topo_getlocalnode()) |
Definition at line 319 of file Topology.h.
◆ padico_topo_hostname
| #define padico_topo_hostname | ( | ) | padico_topo_host_getname(padico_topo_getlocalhost()) |
Definition at line 320 of file Topology.h.
◆ padico_topo_nodealias
| #define padico_topo_nodealias | ( | ) | padico_topo_node_getalias(padico_topo_getlocalnode()) |
Definition at line 318 of file Topology.h.
◆ padico_topo_nodename
| #define padico_topo_nodename | ( | ) | padico_topo_node_getname(padico_topo_getlocalnode()) |
Definition at line 317 of file Topology.h.
◆ padico_topo_session
| #define padico_topo_session | ( | ) | padico_topo_node_getsession(padico_topo_getlocalnode()) |
Definition at line 321 of file Topology.h.
◆ PADICO_TOPO_UUID_SIZE
| #define PADICO_TOPO_UUID_SIZE 32 |
Definition at line 73 of file Topology.h.
◆ PF_PADICO
Definition at line 410 of file Topology.h.
◆ PORT_ANY
| #define PORT_ANY 0 |
Definition at line 122 of file Topology.h.
Typedef Documentation
◆ padico_topo_address_t
Definition at line 80 of file Topology.h.
◆ padico_topo_binding_t
Definition at line 78 of file Topology.h.
◆ padico_topo_filter_t
Definition at line 81 of file Topology.h.
◆ padico_topo_host_t
Definition at line 75 of file Topology.h.
◆ padico_topo_hwaddr_t
Definition at line 79 of file Topology.h.
◆ padico_topo_network_t
Definition at line 77 of file Topology.h.
◆ padico_topo_node_t
Definition at line 76 of file Topology.h.
◆ padico_topo_service_t
Definition at line 82 of file Topology.h.
◆ padico_topo_uuid_t
Definition at line 74 of file Topology.h.
◆ padico_vaddr_t
Definition at line 467 of file Topology.h.
Enumeration Type Documentation
◆ padico_topo_addr_visibility_t
Definition at line 99 of file Topology.h.
◆ padico_topo_binding_scope_t
| Enumerator | |
|---|---|
| PADICO_TOPO_SCOPE_NONE | |
| PADICO_TOPO_SCOPE_NODE | |
| PADICO_TOPO_SCOPE_HOST | |
| PADICO_TOPO_SCOPE_ALL | |
Definition at line 91 of file Topology.h.
◆ padico_topo_filter_policy_t
| Enumerator | |
|---|---|
| _PADICO_TOPO_FILTER_NONE | |
| PADICO_TOPO_FILTER_BLOCK_IN | |
| PADICO_TOPO_FILTER_BLOCK_OUT | |
| PADICO_TOPO_FILTER_ALLOW_IN | |
| PADICO_TOPO_FILTER_ALLOW_OUT | |
| _PADICO_TOPO_FILTER_MAX | |
Definition at line 108 of file Topology.h.
Function Documentation
◆ padico_na_topology_serialize()
| padico_string_t padico_na_topology_serialize | ( | padico_topo_binding_scope_t | scope | ) |
Definition at line 240 of file topo-xml.c.
References done, e, host, topo_host_s::hostname, n, name, node, NULL, padico_topo_host_serialize(), padico_topo_network_serialize(), padico_topo_node_serialize(), PADICO_TOPO_SCOPE_HOST, PADICO_TOPO_SCOPE_NODE, s, and topology_get().
Referenced by control_router_event_listener(), padico_topo_print_padico(), and topo_lstopo_end_handler().
◆ padico_sockaddr_check()
| int padico_sockaddr_check | ( | const struct sockaddr_pa * | addr, |
| int | magic | ||
| ) |
Definition at line 337 of file topology.c.
References AF_PADICO, AF_PADICO_MAKE, done, e, magic, and sockaddr_pa::spa_magic.
Referenced by sfplain_bind(), sfsplice_bind(), vsock_vopw_connect(), and vsock_vopw_listen().
◆ padico_sockaddr_init()
| void padico_sockaddr_init | ( | struct sockaddr_pa * | addr, |
| socklen_t * | addrlen, | ||
| int | magic | ||
| ) |
Definition at line 329 of file topology.c.
References topo_property_s::addr, AF_PADICO, AF_PADICO_PAYLOAD, assert(), done, and magic.
Referenced by sfplain_bind(), sfsplice_bind(), vlink_fwd_bind(), vlink_sf_bind(), and vsock_vopw_genaddr().
◆ padico_topo_address_getbytes()
| const void * padico_topo_address_getbytes | ( | padico_topo_address_t | address | ) |
Definition at line 2342 of file topology.c.
References topo_address_s::_addr_storage.
Referenced by padico_topo_session_getrank().
◆ padico_topo_binding_add_addr()
| void padico_topo_binding_add_addr | ( | padico_topo_binding_t | binding, |
| const void * | addr | ||
| ) |
Definition at line 183 of file topology.c.
References topo_property_s::addr, topo_network_s::addr_size, done, topo_network_s::family, network, topo_binding_s::network, topo_binding_s::props, and TOPO_PROPERTY_ADDR.
Referenced by padico_topo_host_bind(), and padico_topo_node_bind().
◆ padico_topo_binding_add_filter()
| void padico_topo_binding_add_filter | ( | padico_topo_binding_t | binding, |
| padico_topo_filter_policy_t | policy, | ||
| uint16_t | port, | ||
| int | protocol | ||
| ) |
Definition at line 262 of file topology.c.
References _PADICO_TOPO_FILTER_MAX, _PADICO_TOPO_FILTER_NONE, assert(), done, port, topo_binding_s::props, and TOPO_PROPERTY_FILTER.
Referenced by g5k_compute_networks(), and topo_inet_route_detect().
◆ padico_topo_binding_add_gw_addr()
| void padico_topo_binding_add_gw_addr | ( | padico_topo_binding_t | binding, |
| struct in_addr * | inaddr | ||
| ) |
Definition at line 213 of file topology.c.
References done, NULL, p, topo_binding_s::props, and TOPO_PROPERTY_GW_ADDR.
Referenced by topo_inet_route_detect().
◆ padico_topo_binding_add_hostname()
| void padico_topo_binding_add_hostname | ( | padico_topo_binding_t | binding, |
| const char * | name | ||
| ) |
Definition at line 240 of file topology.c.
References done, name, topo_binding_s::props, and TOPO_PROPERTY_HOSTNAME.
Referenced by g5k_compute_networks(), and topo_inet_addr_detect_getifaddrs().
◆ padico_topo_binding_add_hwaddr()
| void padico_topo_binding_add_hwaddr | ( | padico_topo_binding_t | binding, |
| padico_topo_hwaddr_t | hwaddr | ||
| ) |
Definition at line 196 of file topology.c.
References done, topo_property_s::hwaddr, topo_hwaddr_s::name, topo_binding_s::props, TOPO_HWADDR_NAMSIZ, and TOPO_PROPERTY_HWADDR.
Referenced by g5k_compute_networks(), padico_ibv_create_port(), and topo_inet_addr_detect_getifaddrs().
◆ padico_topo_binding_add_index()
| void padico_topo_binding_add_index | ( | padico_topo_binding_t | binding, |
| int64_t | index | ||
| ) |
Definition at line 205 of file topology.c.
References done, topo_property_s::index, topo_binding_s::props, and TOPO_PROPERTY_INDEX.
Referenced by padico_ibv_create_port(), and padico_psm2_discover().
◆ padico_topo_binding_add_perf()
| void padico_topo_binding_add_perf | ( | padico_topo_binding_t | binding, |
| int | latency, | ||
| int | bandwidth | ||
| ) |
Definition at line 273 of file topology.c.
References done, topo_binding_s::props, and TOPO_PROPERTY_PERF.
Referenced by topo_detect_link_perf().
◆ padico_topo_binding_add_route()
| void padico_topo_binding_add_route | ( | padico_topo_binding_t | binding, |
| padico_topo_network_t | dest, | ||
| const void * | gwaddr | ||
| ) |
Definition at line 248 of file topology.c.
References topo_network_s::addr_size, topo_property_s::dest, done, topo_network_s::family, network, topo_binding_s::network, topo_binding_s::props, and TOPO_PROPERTY_ROUTE.
Referenced by topo_inet_route_detect().
◆ padico_topo_binding_get_index()
| int padico_topo_binding_get_index | ( | padico_topo_binding_t | binding, |
| int64_t * | index | ||
| ) |
Definition at line 313 of file topology.c.
References topo_property_s::content, done, topo_property_s::index, topo_property_s::INDEX, p, topo_binding_s::props, and TOPO_PROPERTY_INDEX.
Referenced by padico_nsbe_rule_resolve().
◆ padico_topo_binding_get_perf()
| void padico_topo_binding_get_perf | ( | padico_topo_binding_t | binding, |
| int * | latency_nsec, | ||
| int * | bandwidth_kbps | ||
| ) |
Definition at line 282 of file topology.c.
References topo_property_s::content, done, topo_perf_s::lat, NULL, p, topo_property_s::perf, topo_property_s::PERF, topo_binding_s::props, and TOPO_PROPERTY_PERF.
◆ padico_topo_binding_gethwaddr()
| padico_topo_hwaddr_t padico_topo_binding_gethwaddr | ( | padico_topo_binding_t | binding | ) |
Definition at line 299 of file topology.c.
References topo_property_s::content, done, topo_property_s::hwaddr, topo_property_s::HWADDR, NULL, p, topo_binding_s::props, and TOPO_PROPERTY_HWADDR.
Referenced by padico_nsbe_rule_resolve().
◆ padico_topo_gethosts()
| padico_topo_host_vect_t padico_topo_gethosts | ( | ) |
Get known hosts.
Definition at line 2211 of file topology.c.
References done, e, host, topo_host_s::hostname, padico_topology_s::hostsbyname, na_topology, name, and padico_topo_host_vect_t.
Referenced by nsbe_dijkstra_init().
◆ padico_topo_getlocalnode()
| padico_topo_node_t padico_topo_getlocalnode | ( | void | ) |
Definition at line 1891 of file topology.c.
References padico_topology_s::local_node, and na_topology.
Referenced by bench_common_init(), bench_lfqueue_init(), control_bootstrap_event_listener(), control_bootstrap_init(), control_bootstrap_pmi2_init(), control_router_broadcast(), data_check_init(), ns_basic_host_assembly(), padico_addrdb_publish(), padico_control_init(), padico_control_send_ext(), padico_group_barrier(), padico_group_kill(), padico_group_publish(), padico_group_send_to_all(), padico_ns_serial_selector(), padico_shm_directory_dump(), padico_shm_directory_register_self(), psp_control_new_message(), psp_sf_connect(), remote_control_connector(), remote_control_node_send(), router_control_send_common(), router_message_process(), router_new_node(), secondary_connector_connect(), secondary_connector_new(), sr_bench_init(), ssh2_control_bootstrap_auto_port(), ssh2_control_start(), ssh2_openssh_init_ssh_connection(), sysio_control_bootstrap_auto_port(), sysio_control_bootstrap_new(), sysio_control_start(), token_ring_init(), tube_gk_init(), vlink_control_resolve(), vlink_fwd_bind(), vlink_fwd_connect(), vlink_fwd_init(), vopw_psp_callback_GET_TAG(), vsock_madio_sendto(), and vsock_vopw_gentag().
◆ padico_topo_getnodebyname()
| padico_topo_node_t padico_topo_getnodebyname | ( | const char * | nodename | ) |
node lookup, by node name
Definition at line 2389 of file topology.c.
References done, host, na_topology, node, padico_topology_s::nodesbyname, NULL, padico_topo_host_getnode(), and topo_host_lookup().
Referenced by answer_cmd(), control_packet_handler(), control_router_disappeared(), control_twostep_connector_new_handler(), disappear_end_handler(), na_control_ping_handler(), nsdb_create_node(), padico_addrdb_publish_handler(), padico_gatekeeper__CreateGroup(), padico_gatekeeper__GetNodeInfo(), padico_ibv_connect_start_handler(), remote_control_node_send(), router_announce_end_handler(), router_message_end_handler(), router_message_process(), router_update_end_handler(), sfrfw_connect(), sfsplice_connect(), topo_node_start_handler(), and vlink_fwd_init().
◆ padico_topo_getnodebyuuid()
| padico_topo_node_t padico_topo_getnodebyuuid | ( | padico_topo_uuid_t | uuid | ) |
node lookup, by UUID
Definition at line 2407 of file topology.c.
References done, na_topology, padico_topology_s::node_table, and uuid.
Referenced by control_bootstrap_init(), gw_status_new(), na_control_request_handler(), psp_shm_poll_handler(), secondary_connector_connect(), sysio_control_start(), topo_node_create(), topo_node_start_handler(), vlink_fwd_connect_handler(), vsock_vopw_connect(), and vsock_vopw_listen().
◆ padico_topo_host_add_name()
| void padico_topo_host_add_name | ( | padico_topo_host_t | host, |
| const char * | name, | ||
| int | resolvable | ||
| ) |
Add a name to a host;.
- Parameters
-
resolvable whether the host is DNS-resolvable (0: no; 1: yes; -1: don't known => detect).
Definition at line 1525 of file topology.c.
References done, topo_host_s::hnames, host, padico_topology_s::hostsbyname, i, len, na_topology, padico_module_attr_disable_dns_getvalue(), rc, and topo_hostname_s::resolvable.
Referenced by g5k_compute_networks(), padico_topo_host_create(), padico_topo_host_resolvebyname(), topo_host_end_handler(), topo_host_from_hostent(), topo_inet_addr_detect_getifaddrs(), and topology_populate().
◆ padico_topo_host_add_property()
| void padico_topo_host_add_property | ( | padico_topo_host_t | host, |
| const char * | label, | ||
| const char * | name | ||
| ) |
Add a property to a host.
Definition at line 1595 of file topology.c.
References done, host, topo_property_s::label, padico_topo_host_getproperty(), topo_host_s::props, TOPO_PROPERTY_MISC, and topo_property_s::value.
Referenced by topology_populate().
◆ padico_topo_host_add_service()
| void padico_topo_host_add_service | ( | padico_topo_host_t | host, |
| const char * | service_name, | ||
| uint16_t | service_port | ||
| ) |
Add a service to a host.
Definition at line 1570 of file topology.c.
References done, host, topo_service_s::name, p, topo_service_s::port, topo_host_s::props, topo_property_s::service, and TOPO_PROPERTY_SERVICE.
Referenced by topo_host_end_handler(), and topo_inet_service_detect().
◆ padico_topo_host_bind()
| padico_topo_binding_t padico_topo_host_bind | ( | padico_topo_host_t | host, |
| padico_topo_network_t | network, | ||
| const void * | address | ||
| ) |
Declare a new binding for a host.
Definition at line 1609 of file topology.c.
References host, network, padico_topo_binding_add_addr(), topo_binding_bind_host(), and topo_binding_create().
Referenced by g5k_compute_networks(), nsdb_create_host(), padico_ibv_create_port(), padico_libfabric_init(), padico_portals4_init(), padico_psm2_discover(), padico_psm_discover(), padico_topo_host_resolvebyname(), psp_mx_module_init(), topo_host_from_hostent(), topo_inet_addr_detect_getifaddrs(), and topo_inet_addr_detect_netlink().
◆ padico_topo_host_can_input()
| int padico_topo_host_can_input | ( | padico_topo_host_t | host, |
| padico_topo_network_t | network, | ||
| uint16_t | port, | ||
| int | protocol | ||
| ) |
Verify if the port is filtered input between host and network.
Definition at line 2146 of file topology.c.
References e, host, network, PADICO_TOPO_FILTER_ALLOW_IN, padico_topo_host_policy(), port, and topo_net_entity_s::TOPO_ENTITY_HOST.
Referenced by ns_besteffort_selector_2networks(), ns_besteffort_selector_dijkstra(), and nsbe_dijkstra_init().
◆ padico_topo_host_can_output()
| int padico_topo_host_can_output | ( | padico_topo_host_t | host, |
| padico_topo_network_t | network, | ||
| uint16_t | port, | ||
| int | protocol | ||
| ) |
Verify if the port is filtered output between host and network.
Definition at line 2154 of file topology.c.
References e, host, network, PADICO_TOPO_FILTER_ALLOW_OUT, padico_topo_host_policy(), port, and topo_net_entity_s::TOPO_ENTITY_HOST.
Referenced by ns_besteffort_selector_2networks(), ns_besteffort_selector_dijkstra(), and nsbe_dijkstra_init().
◆ padico_topo_host_create()
| padico_topo_host_t padico_topo_host_create | ( | const char * | hostname | ) |
Create new host.
Create new host.
- Note
- this function takes ownership of memory pointed by 'fqdn' (supposed to be malloced)
Definition at line 1463 of file topology.c.
References topo_host_s::bindings, done, topo_host_s::hnames, host, padico_topology_s::host_table, topo_host_s::hostname, topo_host_s::hwaddrs, na_topology, topo_host_s::nodes, padico_topo_host_add_name(), and topo_host_s::props.
Referenced by g5k_compute_nodes(), padico_topo_host_resolvebyname(), topo_host_from_hostent(), topo_host_start_handler(), and topology_populate().
◆ padico_topo_host_getaddr()
| const struct in_addr * padico_topo_host_getaddr | ( | padico_topo_host_t | host | ) |
Get the canonical IP address of a host.
Definition at line 1977 of file topology.c.
References topo_host_s::bindings, done, host, topo_host_s::hostname, i, padico_topology_s::inet, na_topology, NULL, PADICO_TOPO_ADDR_VISIBILITY_NONE, padico_topo_inet_visibility(), topo_address_as_inaddr(), and v.
Referenced by bench_sysio_init(), bench_udp_init(), bench_vio_init(), data_check_init(), nametoipv4(), remote_control_init(), sfplain_bind(), sfrfw_gateway_connect_client(), sfrfw_gateway_connect_server_end_handler(), sfsplice_bind(), socks4client_create(), ssh2_control_bootstrap_connect(), sysio_control_bootstrap_connect(), token_ring_init(), vio_ring_init(), vlink_fwd_connect_handler(), vlink_fwd_gwlisten_handler(), vlink_fwd_listen(), vlink_fwd_listen_handler(), vlink_ps_genaddr(), vlink_selector_client_notifier(), vlink_selector_server_notifier(), vopw_acceptor(), vopw_dynres_reverse_lookup(), vopw_psp_callback_GET_TAG(), and vsock_madio_sendto().
◆ padico_topo_host_getaddr2()
| const struct in_addr * padico_topo_host_getaddr2 | ( | padico_topo_host_t | host, |
| padico_topo_network_t | network | ||
| ) |
Get the canonical IP address of a host on a network.
Definition at line 2034 of file topology.c.
References topo_host_s::bindings, done, topo_network_s::family, host, i, network, NULL, and topo_address_as_inaddr().
Referenced by ns_besteffort_selector_2networks(), and padico_topo_host_getname2().
◆ padico_topo_host_getbindings()
| padico_topo_binding_vect_t padico_topo_host_getbindings | ( | padico_topo_host_t | host, |
| padico_topo_network_t | network | ||
| ) |
Get the bindings of a host on a network.
The caller takes ownership of the result.
Definition at line 2020 of file topology.c.
References b, topo_host_s::bindings, done, host, i, network, and padico_topo_binding_vect_t.
Referenced by padico_nsbe_rule_resolve().
◆ padico_topo_host_getbyin6addr()
| padico_topo_host_t padico_topo_host_getbyin6addr | ( | const struct in6_addr * | addr | ) |
Get a host from an inet6 address (return NULL if host doesn't exist).
Definition at line 2438 of file topology.c.
References done, host, i, NULL, padico_topo_network_gethostbyaddr(), padico_topo_network_vect_t, and padico_topo_networks_getbyfamily().
Referenced by padico_topo_host_resolve_byin6addr(), and vlink_resolver_resolve_node().
◆ padico_topo_host_getbyinaddr()
| padico_topo_host_t padico_topo_host_getbyinaddr | ( | const struct in_addr * | addr | ) |
Get a host from an inet address (return NULL if host doesn't exist).
Definition at line 2424 of file topology.c.
References done, host, i, NULL, padico_topo_network_gethostbyaddr(), padico_topo_network_vect_t, and padico_topo_networks_getbyfamily().
Referenced by padico_topo_host_resolve_byinaddr(), padico_vsock_sendto(), and vlink_resolver_resolve_node().
◆ padico_topo_host_getname()
| const char * padico_topo_host_getname | ( | padico_topo_host_t | host | ) |
Get the canonical name of a host.
Definition at line 1944 of file topology.c.
References host, and topo_host_s::hostname.
Referenced by __attribute__(), bench_common_init(), bench_soap_init(), bench_soap_make_server(), bench_socket_init(), hello_soap_start(), ns_besteffort_selector_dijkstra(), nsdb_create_host(), padico_gatekeeper__GetNodeInfo(), padico_ns_host_selector(), secondary_connector_connect(), sfrfw_connect(), sfrfw_gateway_client_callback_connector(), sfrfw_gateway_connect_client(), sfrfw_gateway_get_socket(), sfsrtun_close(), sfsrtun_connect(), sfsrtun_launch_server(), soap_gk_start(), and vrp_test_init().
◆ padico_topo_host_getname2()
| const char * padico_topo_host_getname2 | ( | padico_topo_host_t | host, |
| padico_topo_network_t | network | ||
| ) |
Get the canonical name of a host on a network.
Definition at line 1949 of file topology.c.
References topo_host_s::bindings, topo_property_s::content, done, h, topo_host_s::hnames, host, topo_property_s::HOSTNAME, i, topo_property_s::name, network, p, padico_topo_host_getaddr2(), and TOPO_PROPERTY_HOSTNAME.
Referenced by ns_besteffort_selector_dijkstra().
◆ padico_topo_host_getnetworks()
| void padico_topo_host_getnetworks | ( | padico_topo_host_t | host, |
| padico_topo_network_vect_t | networks | ||
| ) |
Get the networks a host is connected to.
Definition at line 2054 of file topology.c.
References b, topo_host_s::bindings, done, host, network, topo_binding_s::network, NULL, and topo_network_s::uplink.
Referenced by ns_besteffort_getnetworks(), and ns_besteffort_selector_host().
◆ padico_topo_host_getnode()
|
inlinestatic |
Get the first node of a host.
Definition at line 220 of file Topology.h.
References done, host, nodes, NULL, padico_topo_host_getnodes(), and padico_topo_node_vect_t.
Referenced by padico_topo_getnodebyname(), padico_vsock_sendto(), sfsrtun_close(), and sfsrtun_launch_server().
◆ padico_topo_host_getnodes()
| padico_topo_node_vect_t padico_topo_host_getnodes | ( | padico_topo_host_t | host | ) |
Get the nodes on a host.
Definition at line 2049 of file topology.c.
References host, and topo_host_s::nodes.
Referenced by bench_common_init(), nsbe_binding_select(), padico_topo_host_getnode(), topo_node_start_handler(), and vlink_resolver_resolve_node().
◆ padico_topo_host_getproperty()
| const char * padico_topo_host_getproperty | ( | padico_topo_host_t | host, |
| const char * | label | ||
| ) |
Get property on a host.
Definition at line 2195 of file topology.c.
References topo_property_s::content, done, host, topo_property_s::label, topo_property_s::MISC, NULL, p, topo_host_s::props, TOPO_PROPERTY_MISC, and topo_property_s::value.
Referenced by ns_besteffort_selector_dijkstra(), padico_topo_host_add_property(), and topo_host_end_handler().
◆ padico_topo_host_getservice()
| int padico_topo_host_getservice | ( | padico_topo_host_t | host, |
| char * | service_name | ||
| ) |
Get the service port of the service on a host.
Definition at line 2178 of file topology.c.
References done, host, topo_service_s::name, p, topo_service_s::port, topo_host_s::props, topo_property_s::service, and TOPO_PROPERTY_SERVICE.
Referenced by ns_besteffort_selector_dijkstra(), and nsbe_dijkstra_init().
◆ padico_topo_host_resolve_byin6addr()
| padico_topo_host_t padico_topo_host_resolve_byin6addr | ( | const struct in6_addr * | addr | ) |
Get a host description record from an inet6 address (create if it didn't exist)
Definition at line 2466 of file topology.c.
References done, host, padico_topo_host_getbyin6addr(), and padico_topo_host_resolvebyname().
Referenced by vlink_resolver_resolve_host().
◆ padico_topo_host_resolve_byinaddr()
| padico_topo_host_t padico_topo_host_resolve_byinaddr | ( | const struct in_addr * | addr | ) |
Get a host description record from an inet address (create if it didn't exist)
Definition at line 2452 of file topology.c.
References done, host, padico_topo_host_getbyinaddr(), and padico_topo_host_resolvebyname().
Referenced by nsdb_create_host(), remote_control_init(), sfrfw_connect(), sfsrtun_connect(), and vlink_resolver_resolve_host().
◆ padico_topo_host_resolvebyname()
| padico_topo_host_t padico_topo_host_resolvebyname | ( | const char * | hostname | ) |
Get a host description record (lookup in cache, create if it didn't exist)
Get a host description record (lookup in cache, create if it didn't exist)
Definition at line 2681 of file topology.c.
References done, host, padico_topology_s::inet, padico_topology_s::inet6, na_topology, NULL, padico_topo_host_add_name(), padico_topo_host_bind(), padico_topo_host_create(), padico_topo_network_gethostbyaddr(), topo_gethostbyaddr(), topo_gethostbyname2(), topo_host_from_hostent(), and topo_host_lookup().
Referenced by bench_common_init(), control_bootstrap_init(), nametoipv4(), nsdb_create_host(), padico_topo_host_resolve_byin6addr(), padico_topo_host_resolve_byinaddr(), remote_control_init(), sfrfw_gateway_connect_server_end_handler(), sfsrtun_connect(), sfsrtun_connect_server_end_handler(), socks4client_create(), ssh2_control_bootstrap_connect(), sysio_control_bootstrap_connect(), and topo_node_start_handler().
◆ padico_topo_host_serialize()
| padico_string_t padico_topo_host_serialize | ( | padico_topo_host_t | host | ) |
Definition at line 184 of file topo-xml.c.
References topo_host_s::bindings, done, h, topo_host_s::hnames, host, topo_host_s::hostname, topo_host_s::hwaddrs, na_bindings_serialize(), topo_service_s::name, p, topo_service_s::port, topo_host_s::props, s, topo_hostname_serialize(), topo_hwaddr_serialize(), TOPO_PROPERTY_MISC, and TOPO_PROPERTY_SERVICE.
Referenced by control_bootstrap_pmi2_init(), padico_na_topology_serialize(), router_update_end_handler(), and sysio_control_bootstrap_connect().
◆ padico_topo_hwaddr_add()
| void padico_topo_hwaddr_add | ( | padico_topo_host_t | host, |
| padico_topo_hwaddr_t * | _hwaddr | ||
| ) |
Definition at line 153 of file topology.c.
References topo_hwaddr_s::_hwaddr_storage, done, host, topo_host_s::hwaddrs, topo_hwaddr_s::len, topo_hwaddr_s::name, NULL, and topo_hwaddr_getbyname().
Referenced by g5k_compute_networks(), padico_ibv_create_port(), topo_host_end_handler(), and topo_inet_addr_detect_getifaddrs().
◆ padico_topo_hwaddr_create()
| padico_topo_hwaddr_t padico_topo_hwaddr_create | ( | const char * | name, |
| int | index, | ||
| int | type, | ||
| size_t | len, | ||
| const void * | addr | ||
| ) |
Definition at line 126 of file topology.c.
References topo_hwaddr_s::_hwaddr_storage, assert(), done, topo_hwaddr_s::index, topo_hwaddr_s::len, len, name, topo_hwaddr_s::name, TOPO_HWADDR_NAMSIZ, topo_hwaddr_s::type, and type.
Referenced by g5k_compute_networks(), padico_ibv_create_port(), topo_hwaddr_end_handler(), topo_inet_addr_detect_getifaddrs(), and topo_inet_route_detect().
◆ padico_topo_hwaddr_destroy()
| void padico_topo_hwaddr_destroy | ( | padico_topo_hwaddr_t | hwaddr | ) |
◆ padico_topo_hwaddr_get()
| void padico_topo_hwaddr_get | ( | padico_topo_hwaddr_t | hwaddr, |
| const char ** | name, | ||
| int * | index, | ||
| int * | type, | ||
| size_t * | len, | ||
| const void ** | addr | ||
| ) |
Definition at line 139 of file topology.c.
References topo_hwaddr_s::_hwaddr_storage, topo_hwaddr_s::index, topo_hwaddr_s::len, len, name, topo_hwaddr_s::name, topo_hwaddr_s::type, and type.
Referenced by padico_nsbe_rule_resolve().
◆ padico_topo_inet6_visibility()
| padico_topo_addr_visibility_t padico_topo_inet6_visibility | ( | const struct in6_addr * | in6addr | ) |
Definition at line 1215 of file topology.c.
References done, PADICO_TOPO_ADDR_VISIBILITY_LINKLOCAL, PADICO_TOPO_ADDR_VISIBILITY_LOOPBACK, PADICO_TOPO_ADDR_VISIBILITY_PRIVATE, and PADICO_TOPO_ADDR_VISIBILITY_PUBLIC.
Referenced by topo_inet_addr_detect_getifaddrs().
◆ padico_topo_inet_visibility()
| padico_topo_addr_visibility_t padico_topo_inet_visibility | ( | in_addr_t | _inaddr | ) |
Definition at line 1197 of file topology.c.
References done, PADICO_TOPO_ADDR_VISIBILITY_LINKLOCAL, PADICO_TOPO_ADDR_VISIBILITY_LOOPBACK, PADICO_TOPO_ADDR_VISIBILITY_NONE, PADICO_TOPO_ADDR_VISIBILITY_PRIVATE, PADICO_TOPO_ADDR_VISIBILITY_PUBLIC, and v.
Referenced by g5k_compute_networks(), padico_topo_host_getaddr(), topo_host_from_hostent(), topo_inet_addr_detect_getifaddrs(), topo_inet_addr_detect_netlink(), and topo_inet_route_detect().
◆ padico_topo_network_can_input()
| int padico_topo_network_can_input | ( | padico_topo_network_t | subnet, |
| padico_topo_network_t | network, | ||
| uint16_t | port, | ||
| int | protocol | ||
| ) |
Definition at line 2162 of file topology.c.
References e, network, PADICO_TOPO_FILTER_ALLOW_IN, padico_topo_host_policy(), port, and topo_net_entity_s::TOPO_ENTITY_NETWORK.
Referenced by nsbe_dijkstra_init().
◆ padico_topo_network_can_output()
| int padico_topo_network_can_output | ( | padico_topo_network_t | subnet, |
| padico_topo_network_t | network, | ||
| uint16_t | port, | ||
| int | protocol | ||
| ) |
Definition at line 2170 of file topology.c.
References e, network, PADICO_TOPO_FILTER_ALLOW_OUT, padico_topo_host_policy(), port, and topo_net_entity_s::TOPO_ENTITY_NETWORK.
Referenced by nsbe_dijkstra_init().
◆ padico_topo_network_contains_node()
| int padico_topo_network_contains_node | ( | padico_topo_network_t | network, |
| padico_topo_node_t | node | ||
| ) |
tests whether the given node belong to the network
Definition at line 2259 of file topology.c.
References topo_node_s::bindings, na_bindings_vect_contains_network(), network, and node.
◆ padico_topo_network_create()
| padico_topo_network_t padico_topo_network_create | ( | const char * | id, |
| padico_topo_binding_scope_t | scope, | ||
| size_t | addr_size, | ||
| int | family | ||
| ) |
Definition at line 1853 of file topology.c.
References topo_network_s::addr_size, assert(), topo_network_s::bindings, topo_perf_s::bw, done, topo_address_s::family, topo_network_s::family, topo_perf_s::lat, na_topology, network, topo_network_s::network_id, padico_topology_s::networks, NULL, padico_topo_network_getbyid(), PADICO_TOPO_SCOPE_HOST, PADICO_TOPO_SCOPE_NODE, topo_network_s::perf, topo_network_s::scope, and topo_network_s::uplink.
Referenced by g5k_create_network(), padico_control_init(), padico_ibv_create_port(), padico_libfabric_init(), padico_portals4_init(), padico_psm2_discover(), padico_psm_discover(), padico_topology_init(), psp_mx_module_init(), topo_inet_addr_detect_getifaddrs(), topo_inet_route_detect(), topo_network_end_handler(), and topology_populate().
◆ padico_topo_network_get_common_host()
| void padico_topo_network_get_common_host | ( | padico_topo_network_t | n1, |
| padico_topo_network_t | n2, | ||
| padico_topo_host_vect_t | hosts | ||
| ) |
Definition at line 2300 of file topology.c.
References b2, done, and PADICO_TOPO_SCOPE_HOST.
◆ padico_topo_network_get_perf()
| void padico_topo_network_get_perf | ( | padico_topo_network_t | n, |
| int * | latency_nsec, | ||
| int * | bandwidth_kbps | ||
| ) |
Definition at line 2333 of file topology.c.
◆ padico_topo_network_getbyid()
| padico_topo_network_t padico_topo_network_getbyid | ( | const char * | network_id | ) |
Definition at line 2351 of file topology.c.
References done, i, na_topology, network, topo_network_s::network_id, padico_topology_s::networks, and NULL.
Referenced by g5k_compute_networks(), g5k_create_network(), nsdb_create_host(), padico_control_getnetwork(), padico_ibv_create_port(), padico_libfabric_init(), padico_portals4_init(), padico_psm2_discover(), padico_psm_discover(), padico_topo_network_create(), padico_topo_session_getnetwork(), topo_binding_end_handler(), topo_inet_addr_detect_getifaddrs(), topo_inet_route_detect(), topo_network_end_handler(), and topo_property_end_handler().
◆ padico_topo_network_gethostbyaddr()
| padico_topo_host_t padico_topo_network_gethostbyaddr | ( | padico_topo_network_t | network, |
| const void * | _addr | ||
| ) |
Get a host description record from an address.
Definition at line 2414 of file topology.c.
References done, topo_net_entity_s::host, na_network_getentity_byaddr(), network, NULL, PADICO_TOPO_SCOPE_HOST, and topo_network_s::scope.
Referenced by padico_topo_host_getbyin6addr(), padico_topo_host_getbyinaddr(), and padico_topo_host_resolvebyname().
◆ padico_topo_network_gethosts()
| void padico_topo_network_gethosts | ( | padico_topo_network_t | n, |
| padico_topo_host_vect_t | hosts | ||
| ) |
Definition at line 2284 of file topology.c.
References b, done, e, n, and PADICO_TOPO_SCOPE_HOST.
Referenced by nsbe_dijkstra_init().
◆ padico_topo_network_getname()
| const char * padico_topo_network_getname | ( | padico_topo_network_t | network | ) |
Definition at line 2233 of file topology.c.
References network, and topo_network_s::network_id.
Referenced by ns_besteffort_selector_2networks(), ns_besteffort_selector_dijkstra(), padico_nsbe_rule_resolve(), and topo_binding_serialize().
◆ padico_topo_network_getnodebyaddr()
| padico_topo_node_t padico_topo_network_getnodebyaddr | ( | padico_topo_network_t | network, |
| const void * | addr | ||
| ) |
Get a node descriptor from an address.
Definition at line 2382 of file topology.c.
References assert(), done, na_network_getentity_byaddr(), network, topo_net_entity_s::node, PADICO_TOPO_SCOPE_NODE, and topo_network_s::scope.
Referenced by padico_topo_session_getnodebyrank().
◆ padico_topo_network_serialize()
| padico_string_t padico_topo_network_serialize | ( | padico_topo_network_t | net | ) |
Definition at line 220 of file topo-xml.c.
References topo_network_s::addr_size, topo_perf_s::bw, done, topo_network_s::family, topo_perf_s::lat, network, topo_network_s::network_id, PADICO_TOPO_SCOPE_NODE, topo_network_s::perf, s, topo_network_s::scope, topo_binding_serialize(), and topo_network_s::uplink.
Referenced by padico_na_topology_serialize(), and router_update_end_handler().
◆ padico_topo_network_set_perf()
| void padico_topo_network_set_perf | ( | padico_topo_network_t | n, |
| int | latency_nsec, | ||
| int | bandwidth_kbps | ||
| ) |
Definition at line 2324 of file topology.c.
References assert(), done, n, and NULL.
Referenced by padico_ibv_create_port().
◆ padico_topo_network_size()
| int padico_topo_network_size | ( | padico_topo_network_t | network | ) |
Definition at line 2237 of file topology.c.
References topo_network_s::bindings, done, and network.
Referenced by control_bootstrap_init(), and control_bootstrap_pmi2_init().
◆ padico_topo_networks_getbyfamily()
| padico_topo_network_vect_t padico_topo_networks_getbyfamily | ( | int | family | ) |
Get networks of a given address family (e.g.
AF_INET, AF_INET6, etc.)
Definition at line 2365 of file topology.c.
References done, topo_address_s::family, i, n, na_topology, padico_topology_s::networks, and padico_topo_network_vect_t.
Referenced by nsbe_dijkstra_init(), padico_topo_host_getbyin6addr(), and padico_topo_host_getbyinaddr().
◆ padico_topo_node_bind()
| padico_topo_binding_t padico_topo_node_bind | ( | padico_topo_node_t | node, |
| padico_topo_network_t | network, | ||
| const void * | address | ||
| ) |
Declare a new binding for a node.
Definition at line 1618 of file topology.c.
References network, node, padico_topo_binding_add_addr(), topo_binding_bind_node(), and topo_binding_create().
Referenced by na_control_event_listener(), padico_control_init(), and topology_populate().
◆ padico_topo_node_disconnect()
| void padico_topo_node_disconnect | ( | padico_topo_node_t | node | ) |
Remove a disconnected node from topology.
Remove a disconnected node from topology.
Diconnect node from all its bindings, but do not destroy it since pending pointers to it may remain.
Definition at line 2766 of file topology.c.
References b, topo_node_s::bindings, topo_network_s::bindings, topo_uuid_s::bytes, topo_node_s::canonical_nodename, done, topo_node_s::host, n, network, node, topo_host_s::nodes, NULL, topo_binding_destroy(), topo_node_s::uuid, and v.
Referenced by na_control_event_listener().
◆ padico_topo_node_getaddress()
| padico_topo_address_t padico_topo_node_getaddress | ( | padico_topo_node_t | node, |
| padico_topo_network_t | network | ||
| ) |
Get the address of the node in the given network.
Definition at line 1898 of file topology.c.
References topo_node_s::bindings, done, i, network, topo_binding_s::network, node, NULL, PADICO_TOPO_SCOPE_NODE, and topo_network_s::scope.
Referenced by padico_topo_session_getrank().
◆ padico_topo_node_gethost()
| padico_topo_host_t padico_topo_node_gethost | ( | padico_topo_node_t | node | ) |
Get the host hosting a node.
Definition at line 1927 of file topology.c.
References topo_node_s::host, and node.
Referenced by bench_common_init(), bench_soap_init(), bench_socket_init(), bench_sysio_init(), bench_udp_init(), bench_vio_init(), data_check_init(), ns_besteffort_getnetworks(), ns_besteffort_selector_2nodes(), ns_node_in_entity(), padico_gatekeeper__GetNodeInfo(), padico_group_topology(), secondary_connector_connect(), token_ring_init(), vio_ring_init(), vlink_fwd_connect_handler(), vlink_fwd_gwlisten_handler(), vlink_fwd_listen(), vlink_fwd_listen_handler(), vopw_acceptor(), vopw_dynres_reverse_lookup(), vopw_psp_callback_GET_TAG(), vrp_test_init(), and vsock_madio_sendto().
◆ padico_topo_node_getname()
| const char * padico_topo_node_getname | ( | padico_topo_node_t | node | ) |
Get the canonical name of a node.
Definition at line 1917 of file topology.c.
References topo_node_s::canonical_nodename, and node.
Referenced by bench_common_init(), cascade_delete_end_handler(), control_router_broadcast(), control_router_event_listener(), control_router_table_print(), control_select_controler(), control_twostep_new_node(), control_twostep_select_controler(), css_event_listener(), na_control_event_listener(), na_control_notify(), ns_basic_assembly(), ns_node_in_entity(), nsdb_create_node(), padico_addrdb_publish(), padico_control_send_ext(), padico_control_send_msg(), padico_gatekeeper__GetNodeInfo(), padico_group_publish(), padico_group_topology(), padico_ibv_connect_start_handler(), padico_ns_serial_selector(), psp_control_event_listener(), psp_control_new_message(), psp_ibv_connect(), remote_control_del_node(), remote_control_new_node(), router_control_send_common(), router_message_process(), sfrfw_close(), sfrfw_launch_gateway(), sfrfw_launch_gateway_notifer(), ssh2_control_start(), sysio_control_start(), topology_populate(), vlink_control_resolve(), vopw_acceptor(), vopw_connrefused_send(), vopw_data_check(), vopw_psp_callback_GET_TAG(), vopw_psp_handler(), vsock_vopw_connect(), vsock_vopw_dumpstat(), and vsock_vopw_listen().
◆ padico_topo_node_getnetworks()
| void padico_topo_node_getnetworks | ( | padico_topo_node_t | node, |
| padico_topo_network_vect_t | networks | ||
| ) |
Get the networks a node is connected to.
Definition at line 1932 of file topology.c.
References b, topo_node_s::bindings, done, and node.
Referenced by ns_besteffort_getnetworks().
◆ padico_topo_node_getsession()
| const char * padico_topo_node_getsession | ( | padico_topo_node_t | node | ) |
Get the boot session ID.
Definition at line 1922 of file topology.c.
References topo_node_s::boot_id, and node.
Referenced by bench_common_init(), bench_lfqueue_init(), control_bootstrap_event_listener(), control_bootstrap_init(), control_bootstrap_pmi2_init(), data_check_init(), ssh2_control_bootstrap_auto_port(), sysio_control_bootstrap_auto_port(), and token_ring_init().
◆ padico_topo_node_getuuid()
| padico_topo_uuid_t padico_topo_node_getuuid | ( | padico_topo_node_t | node | ) |
Get the UUID of a node.
Definition at line 1912 of file topology.c.
References node, and topo_node_s::uuid.
Referenced by control_twostep_connector_new_handler(), control_twostep_select_controler(), na_control_event_listener(), padico_addrkey_hash(), padico_control_init(), padico_control_send_ext(), padico_group_barrier(), padico_shm_directory_dump(), padico_shm_directory_node_lookup(), padico_shm_directory_register_self(), psp_sf_connect(), secondary_connector_connect(), secondary_connector_new(), ssh2_openssh_init_ssh_connection(), sysio_control_start(), tube_gk_init(), vlink_fwd_bind(), vlink_fwd_connect(), vlink_fwd_init(), and vsock_vopw_genaddr().
◆ padico_topo_node_serialize()
| padico_string_t padico_topo_node_serialize | ( | padico_topo_node_t | node | ) |
Definition at line 168 of file topo-xml.c.
References topo_node_s::bindings, topo_node_s::boot_id, topo_node_s::canonical_nodename, done, topo_node_s::host, topo_host_s::hostname, na_bindings_serialize(), node, s, and topo_node_s::uuid.
Referenced by control_bootstrap_init(), control_bootstrap_pmi2_init(), control_router_event_listener(), padico_na_topology_serialize(), router_update_end_handler(), ssh2_control_start(), and sysio_control_start().
◆ padico_topo_session_getnetwork()
|
inlinestatic |
Definition at line 330 of file Topology.h.
References done, network, and padico_topo_network_getbyid().
Referenced by control_bootstrap_init(), control_bootstrap_pmi2_init(), padico_topo_session_getnodebyrank(), and padico_topo_session_getrank().
◆ padico_topo_session_getnodebyrank()
|
inlinestatic |
Definition at line 338 of file Topology.h.
References done, network, node, padico_topo_network_getnodebyaddr(), padico_topo_session_getnetwork(), and rank.
Referenced by bench_common_init(), bench_lfqueue_init(), control_bootstrap_init(), control_bootstrap_pmi2_init(), data_check_init(), token_ring_init(), and vio_ring_init().
◆ padico_topo_session_getrank()
|
inlinestatic |
Definition at line 344 of file Topology.h.
References done, network, node, padico_topo_address_getbytes(), padico_topo_node_getaddress(), padico_topo_session_getnetwork(), and rank.
Referenced by nsbe_binding_select().
◆ padico_vaddr_delete()
|
inlinestatic |
Definition at line 485 of file Topology.h.
Referenced by vlink_selector_connect().
◆ padico_vaddr_marshall()
| padico_string_t padico_vaddr_marshall | ( | const struct padico_vaddr_s * | vaddr | ) |
Definition at line 46 of file topo-vaddr.c.
References padico_vaddr_s::addr, AF_PADICO, AF_PADICO_MAKE, AF_PADICO_PAYLOAD, done, i, padico_vaddr_s::proto, s, and vaddr.
Referenced by sfsplice_connect(), vlink_control_resolve(), vlink_selector_assembly_request(), and vlink_selector_process_request().
◆ padico_vaddr_new()
|
inlinestatic |
Definition at line 474 of file Topology.h.
References padico_vaddr_s::addr, padico_vaddr_s::addrlen, done, padico_vaddr_s::proto, and vaddr.
Referenced by sfsplice_connect(), vlink_fwd_connect_handler(), vlink_fwd_listen(), and vlink_selector_connect().
◆ padico_vaddr_unmarshall()
| padico_vaddr_t padico_vaddr_unmarshall | ( | const char * | s | ) |
Definition at line 93 of file topo-vaddr.c.
References padico_vaddr_s::addr, padico_vaddr_s::addrlen, AF_PADICO, AF_PADICO_MAGIC, AF_PADICO_PAYLOAD, done, i, NULL, port, padico_vaddr_s::proto, s, source, and vaddr.
Referenced by resolver_request_end_handler(), sfsplice_request_handler(), vaddr_end_handler(), and vlink_selector_assembly_request().
Variable Documentation
◆ padico_topo_binding_vect_t
| typdef struct padico_topo_binding_vect_s* padico_topo_binding_vect_t |
Definition at line 87 of file Topology.h.
Referenced by padico_nsbe_rule_resolve(), and padico_topo_host_getbindings().
◆ padico_topo_host_vect_t
| typdef struct padico_topo_host_vect_s* padico_topo_host_vect_t |
Definition at line 86 of file Topology.h.
Referenced by nsbe_dijkstra_init(), padico_group_topology(), and padico_topo_gethosts().
◆ padico_topo_network_vect_t
| typdef struct padico_topo_network_vect_s* padico_topo_network_vect_t |
Definition at line 85 of file Topology.h.
Referenced by nsbe_dijkstra_init(), padico_topo_host_getbyin6addr(), padico_topo_host_getbyinaddr(), and padico_topo_networks_getbyfamily().
◆ padico_topo_node_vect_t
| typdef struct padico_topo_node_vect_s* padico_topo_node_vect_t |
Definition at line 84 of file Topology.h.
Referenced by bench_common_init(), control_router_broadcast(), control_router_event_listener(), control_twostep_selector_event_listener(), css_event_listener(), na_control_event_listener(), nsbe_binding_select(), padico_control_gen_init_events(), padico_group_topology(), padico_topo_host_getnode(), remote_control_event_listener(), topo_node_start_handler(), and vlink_resolver_resolve_node().