Home
last modified time | relevance | path

Searched refs:Link (Results 1 – 25 of 198) sorted by relevance

12345678

/systemd-251/src/udev/net/
Dlink-config-gperf.gperf39 Link.Description, config_parse_string, 0, …
40 Link.MACAddressPolicy, config_parse_mac_address_policy, 0, …
41 Link.MACAddress, config_parse_hw_addr, 0, …
42 Link.NamePolicy, config_parse_name_policy, 0, …
43 Link.Name, config_parse_ifname, 0, …
44 Link.AlternativeName, config_parse_ifnames, IFNAME_VALID_ALTE…
45 Link.AlternativeNamesPolicy, config_parse_alternative_names_policy, 0, …
46 Link.Alias, config_parse_ifalias, 0, …
47 Link.TransmitQueues, config_parse_rx_tx_queues, 0, …
48 Link.ReceiveQueues, config_parse_rx_tx_queues, 0, …
[all …]
/systemd-251/src/resolve/
Dresolved-link.h13 typedef struct Link Link; typedef
25 Link *link;
41 struct Link { struct
85 int link_new(Manager *m, Link **ret, int ifindex); argument
86 Link *link_free(Link *l);
87 int link_process_rtnl(Link *l, sd_netlink_message *m);
88 int link_update(Link *l);
89 bool link_relevant(Link *l, int family, bool local_multicast);
90 LinkAddress* link_find_address(Link *l, int family, const union in_addr_union *in_addr);
91 void link_add_rrs(Link *l, bool force_remove);
[all …]
Dresolved-link-bus.c23 static BUS_DEFINE_PROPERTY_GET(property_get_dnssec_supported, "b", Link, link_dnssec_supported);
24 static BUS_DEFINE_PROPERTY_GET2(property_get_dnssec_mode, "s", Link, link_get_dnssec_mode, dnssec_m…
35 Link *l = userdata; in property_get_dns_over_tls_mode()
53 Link *l = userdata; in property_get_dns_internal()
145 Link *l = userdata; in property_get_domains()
173 Link *l = userdata; in property_get_default_route()
198 Link *l = userdata; in property_get_scopes_mask()
222 Link *l = userdata; in property_get_ntas()
242 static int verify_unmanaged_link(Link *l, sd_bus_error *error) { in verify_unmanaged_link()
257 Link *l = userdata; in bus_link_method_set_dns_servers_internal()
[all …]
/systemd-251/src/network/
Dnetworkd-link.h47 typedef struct Link { struct
194 } Link; argument
196 typedef int (*link_netlink_message_handler_t)(sd_netlink*, sd_netlink_message*, Link*);
198 bool link_is_ready_to_configure(Link *link, bool allow_unmanaged);
200 void link_ntp_settings_clear(Link *link);
201 void link_dns_settings_clear(Link *link);
202 Link *link_unref(Link *link);
203 Link *link_ref(Link *link);
204 DEFINE_TRIVIAL_CLEANUP_FUNC(Link*, link_unref);
205 DEFINE_TRIVIAL_DESTRUCTOR(link_netlink_destroy_callback, Link, link_unref);
[all …]
Dnetworkd-setlink.h7 typedef struct Link Link; typedef
9 int link_request_to_set_addrgen_mode(Link *link);
10 int link_request_to_set_bond(Link *link);
11 int link_request_to_set_bridge(Link *link);
12 int link_request_to_set_bridge_vlan(Link *link);
13 int link_request_to_set_can(Link *link);
14 int link_request_to_set_flags(Link *link);
15 int link_request_to_set_group(Link *link);
16 int link_request_to_set_mac(Link *link, bool allow_retry);
17 int link_request_to_set_ipoib(Link *link);
[all …]
Dnetworkd-dhcp-prefix-delegation.h11 typedef struct Link Link; typedef
13 bool link_dhcp_pd_is_enabled(Link *link);
14 bool dhcp_pd_is_uplink(Link *link, Link *target, bool accept_auto);
15 int dhcp_pd_find_uplink(Link *link, Link **ret);
18 int dhcp_pd_remove(Link *link, bool only_marked);
19 int dhcp_request_prefix_delegation(Link *link);
20 int dhcp4_pd_prefix_acquired(Link *uplink);
21 int dhcp6_pd_prefix_acquired(Link *uplink);
22 void dhcp_pd_prefix_lost(Link *uplink);
23 void dhcp4_pd_prefix_lost(Link *uplink);
Dnetworkd-address.h25 Link *link,
29 Link *link;
77 int address_get(Link *link, const Address *in, Address **ret);
78 int address_configure_handler_internal(sd_netlink *rtnl, sd_netlink_message *m, Link *link, const c…
82 void address_set_broadcast(Address *a, Link *link);
86 int link_drop_managed_addresses(Link *link);
87 int link_drop_foreign_addresses(Link *link);
88 int link_drop_ipv6ll_addresses(Link *link);
89 void link_foreignize_addresses(Link *link);
90 bool link_address_is_dynamic(const Link *link, const Address *address);
[all …]
Dnetworkd-setlink.c18 static int get_link_default_handler(sd_netlink *rtnl, sd_netlink_message *m, Link *link) { in get_link_default_handler()
22 static int get_link_master_handler(sd_netlink *rtnl, sd_netlink_message *m, Link *link) { in get_link_master_handler()
28 static int get_link_update_flag_handler(sd_netlink *rtnl, sd_netlink_message *m, Link *link) { in get_link_update_flag_handler()
41 Link *link, in set_link_handler_internal()
79 …drgen_mode_handler(sd_netlink *rtnl, sd_netlink_message *m, Request *req, Link *link, void *userda… in link_set_addrgen_mode_handler()
95 static int link_set_bond_handler(sd_netlink *rtnl, sd_netlink_message *m, Request *req, Link *link,… in link_set_bond_handler()
99 static int link_set_bridge_handler(sd_netlink *rtnl, sd_netlink_message *m, Request *req, Link *lin… in link_set_bridge_handler()
103 static int link_set_bridge_vlan_handler(sd_netlink *rtnl, sd_netlink_message *m, Request *req, Link in link_set_bridge_vlan_handler()
107 static int link_set_can_handler(sd_netlink *rtnl, sd_netlink_message *m, Request *req, Link *link, … in link_set_can_handler()
111 static int link_set_flags_handler(sd_netlink *rtnl, sd_netlink_message *m, Request *req, Link *link… in link_set_flags_handler()
[all …]
Dnetworkd-dhcp6.h15 typedef struct Link Link; typedef
17 bool link_dhcp6_with_address_enabled(Link *link);
18 int dhcp6_check_ready(Link *link);
19 int dhcp6_update_mac(Link *link);
20 int dhcp6_start(Link *link);
21 int dhcp6_start_on_ra(Link *link, bool information_request);
23 int link_request_dhcp6_client(Link *link);
25 int link_serialize_dhcp6_client(Link *link, FILE *f);
Dnetworkd-link.c71 bool link_ipv4ll_enabled(Link *link) { in link_ipv4ll_enabled()
107 bool link_ipv6_enabled(Link *link) { in link_ipv6_enabled()
129 bool link_is_ready_to_configure(Link *link, bool allow_unmanaged) { in link_is_ready_to_configure()
159 void link_ntp_settings_clear(Link *link) { in link_ntp_settings_clear()
163 void link_dns_settings_clear(Link *link) { in link_dns_settings_clear()
182 static void link_free_engines(Link *link) { in link_free_engines()
203 static Link *link_free(Link *link) { in link_free()
246 DEFINE_TRIVIAL_REF_UNREF_FUNC(Link, link, link_free);
248 int link_get_by_index(Manager *m, int ifindex, Link **ret) { in link_get_by_index()
249 Link *link; in link_get_by_index()
[all …]
Dnetworkd-dhcp-prefix-delegation.c24 bool link_dhcp_pd_is_enabled(Link *link) { in link_dhcp_pd_is_enabled()
33 bool dhcp_pd_is_uplink(Link *link, Link *target, bool accept_auto) { in dhcp_pd_is_uplink()
74 static void link_remove_dhcp_pd_subnet_prefix(Link *link, const struct in6_addr *prefix) { in link_remove_dhcp_pd_subnet_prefix()
88 static int link_add_dhcp_pd_subnet_prefix(Link *link, const struct in6_addr *prefix) { in link_add_dhcp_pd_subnet_prefix()
108 static int link_get_by_dhcp_pd_subnet_prefix(Manager *manager, const struct in6_addr *prefix, Link in link_get_by_dhcp_pd_subnet_prefix()
109 Link *link; in link_get_by_dhcp_pd_subnet_prefix()
123 static int dhcp_pd_get_assigned_subnet_prefix(Link *link, const struct in6_addr *pd_prefix, uint8_t… in dhcp_pd_get_assigned_subnet_prefix()
168 int dhcp_pd_remove(Link *link, bool only_marked) { in dhcp_pd_remove()
230 static int dhcp_pd_check_ready(Link *link);
245 static int dhcp_pd_check_ready(Link *link) { in dhcp_pd_check_ready()
[all …]
Dnetworkd-dhcp-common.h20 typedef struct Link Link; typedef
53 uint32_t link_get_dhcp4_route_table(Link *link);
54 uint32_t link_get_ipv6_accept_ra_route_table(Link *link);
56 bool link_dhcp_enabled(Link *link, int family);
57 static inline bool link_dhcp4_enabled(Link *link) { in link_dhcp4_enabled()
60 static inline bool link_dhcp6_enabled(Link *link) { in link_dhcp6_enabled()
66 const DUID *link_get_duid(Link *link, int family);
67 static inline const DUID *link_get_dhcp4_duid(Link *link) { in link_get_dhcp4_duid()
70 static inline const DUID *link_get_dhcp6_duid(Link *link) { in link_get_dhcp6_duid()
74 int dhcp_configure_duid(Link *link, const DUID *duid);
Dnetworkd-route.h22 Link *link,
26 Link *link;
85 int route_configure_handler_internal(sd_netlink *rtnl, sd_netlink_message *m, Link *link, const cha…
88 int route_get(Manager *manager, Link *link, const Route *in, Route **ret);
90 int link_drop_managed_routes(Link *link);
91 int link_drop_foreign_routes(Link *link);
92 void link_foreignize_routes(Link *link);
94 void route_cancel_request(Route *route, Link *link);
96 Link *link,
102 int link_request_static_routes(Link *link, bool only_ipv4);
[all …]
Dnetworkd-ipv6ll.h13 typedef struct Link Link; typedef
24 bool link_ipv6ll_enabled(Link *link);
25 bool link_may_have_ipv6ll(Link *link);
27 IPv6LinkLocalAddressGenMode link_get_ipv6ll_addrgen_mode(Link *link);
29 int link_update_ipv6ll_addrgen_mode(Link *link, sd_netlink_message *message);
31 int link_set_ipv6ll_stable_secret(Link *link);
32 int link_set_ipv6ll_addrgen_mode(Link *link, IPv6LinkLocalAddressGenMode mode);
Dnetworkd-sysctl.c14 static int link_update_ipv6_sysctl(Link *link) { in link_update_ipv6_sysctl()
26 static int link_set_proxy_arp(Link *link) { in link_set_proxy_arp()
41 static bool link_ip_forward_enabled(Link *link, int family) { in link_ip_forward_enabled()
57 static int link_set_ipv4_forward(Link *link) { in link_set_ipv4_forward()
73 static int link_set_ipv6_forward(Link *link) { in link_set_ipv6_forward()
91 static int link_set_ipv6_privacy_extensions(Link *link) { in link_set_ipv6_privacy_extensions()
110 static int link_set_ipv6_accept_ra(Link *link) { in link_set_ipv6_accept_ra()
126 static int link_set_ipv6_dad_transmits(Link *link) { in link_set_ipv6_dad_transmits()
145 static int link_set_ipv6_hop_limit(Link *link) { in link_set_ipv6_hop_limit()
164 static int link_set_ipv6_proxy_ndp(Link *link) { in link_set_ipv6_proxy_ndp()
[all …]
Dnetworkd-dhcp4.h6 typedef struct Link Link; typedef
22 int dhcp4_update_mac(Link *link);
23 int dhcp4_start(Link *link);
24 int dhcp4_lease_lost(Link *link);
25 int dhcp4_check_ready(Link *link);
27 int link_request_dhcp4_client(Link *link);
Dnetworkd-ndisc.h7 typedef struct Link Link; typedef
42 bool link_ipv6_accept_ra_enabled(Link *link);
46 int ndisc_start(Link *link);
47 void ndisc_vacuum(Link *link);
48 void ndisc_flush(Link *link);
50 int link_request_ndisc(Link *link);
Dnetworkd-neighbor.h13 typedef struct Link Link; typedef
19 Link *link;
33 int link_drop_managed_neighbors(Link *link);
34 int link_drop_foreign_neighbors(Link *link);
35 void link_foreignize_neighbors(Link *link);
37 int link_request_static_neighbors(Link *link);
Dnetworkd-radv.h17 typedef struct Link Link; typedef
62 int link_request_radv_addresses(Link *link);
64 bool link_radv_enabled(Link *link);
65 int radv_start(Link *link);
66 int radv_update_mac(Link *link);
67 int radv_add_prefix(Link *link, const struct in6_addr *prefix, uint8_t prefix_len,
70 int link_request_radv(Link *link);
Dnetworkd-link-bus.c39 Link *link = userdata; in property_get_bit_rates()
71 static int verify_managed_link(Link *l, sd_bus_error *error) { in verify_managed_link()
82 Link *l = userdata; in bus_link_method_set_ntp_servers()
125 Link *l = userdata; in bus_link_method_set_dns_servers_internal()
183 Link *l = userdata; in bus_link_method_set_domains()
262 Link *l = userdata; in bus_link_method_set_default_route()
298 Link *l = userdata; in bus_link_method_set_llmnr()
344 Link *l = userdata; in bus_link_method_set_mdns()
390 Link *l = userdata; in bus_link_method_set_dns_over_tls()
436 Link *l = userdata; in bus_link_method_set_dnssec()
[all …]
Dnetworkd-nexthop.h16 typedef struct Link Link; typedef
23 Link *link;
43 int link_drop_managed_nexthops(Link *link);
44 int link_drop_foreign_nexthops(Link *link);
45 void link_foreignize_nexthops(Link *link);
47 int link_request_static_nexthops(Link *link, bool only_ipv4);
Dnetworkd-queue.h10 typedef struct Link Link; typedef
15 typedef int (*request_process_func_t)(Request *req, Link *link, void *userdata);
16 typedef int (*request_netlink_handler_t)(sd_netlink *nl, sd_netlink_message *m, Request *req, Link
59 Link *link; /* can be NULL */
97 Link *link,
109 Link *link, in link_queue_request()
123 int (*_p)(Request*, Link*, typeof(userdata)) = (process); \
124 …int (*_n)(sd_netlink*, sd_netlink_message*, Request*, Link*, typeof(userdata)) = (netlink_handler)…
Dnetworkd-ipv4acd.h5 typedef struct Link Link; typedef
8 int ipv4acd_update_mac(Link *link);
9 int ipv4acd_start(Link *link);
10 int ipv4acd_stop(Link *link);
11 int ipv4acd_set_ifname(Link *link);
Dnetworkd-state-file.h4 typedef struct Link Link; typedef
7 void link_dirty(Link *link);
8 void link_clean(Link *link);
9 int link_save(Link *link);
10 int link_save_and_clean(Link *link);
/systemd-251/src/network/wait-online/
Dlink.h9 typedef struct Link Link; typedef
12 struct Link { struct
28 int link_new(Manager *m, Link **ret, int ifindex, const char *ifname); argument
29 Link *link_free(Link *l);
30 int link_update_rtnl(Link *l, sd_netlink_message *m);
31 int link_update_monitor(Link *l);
33 DEFINE_TRIVIAL_CLEANUP_FUNC(Link*, link_free);

12345678