Yu Watanabe
|
34d7f2c99e
|
network: merge link_set_bridge_vlan() and br_vlan_configure()
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
256c75fd1f
|
network: move DUID related functions
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
086b8853d1
|
network: move link_radv_enabled()
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
5ae0fb7fb7
|
network: move link_dhcp4_server_enabled()
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
062c020fb6
|
network: move link_ipv6_accept_ra_enabled()
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
6f7a17ff0c
|
network: unify link_ipv{4,6}_forward_enabled()
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
67c311abd3
|
network: unify link_dhcp{4,6}_enabled()
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
ac49887e8c
|
network: move link_get_xxx_route_table()
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
bfbf150ee6
|
network: manage address pools by OrderedSet
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
3fe721c674
|
network: drop unused argument
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
ed76f58521
|
network: move functions related to address pool
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
093e35334d
|
network: header cleanup
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
67a58eb378
|
network: make several functions static
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
aa651e88de
|
network: manage addresses from pool by Set
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
9cd9fc8f44
|
network: drop list of static addresses
[Address] sections are managed by both LIST and Hashmap. Let's drop the
list and manage them by OrderedHashmap.
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
7818f8589a
|
network: make address_free() return NULL
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
2488e4d934
|
network: introduce link_stop_ipv4_dad()
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
b87d6a8284
|
network: move link_configure_ipv4_dad()
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
da4d3a612d
|
network: introduce link_deserialize_addresses()
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
3b31e2b718
|
network: introduce link_serialize_addresses()
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
32400c2ff0
|
network: introduce network_verify_addresses()
|
2020-10-07 02:50:50 +09:00 |
|
Yu Watanabe
|
9a0ad16b26
|
network: update log messages
And drop unnecessary log for in_addr_to_string(), as its result is used
only for the consequent logs.
|
2020-10-07 02:49:17 +09:00 |
|
Yu Watanabe
|
e1fc2c4371
|
network: move manager_rtnl_process_address()
|
2020-10-07 02:44:43 +09:00 |
|
Yu Watanabe
|
d7fbb9f50c
|
network: introduce link_drop_addresses()
|
2020-10-07 02:44:43 +09:00 |
|
Yu Watanabe
|
f8f2f880d4
|
network: introduce link_drop_foreign_addresses()
|
2020-10-07 02:44:43 +09:00 |
|
Yu Watanabe
|
682c65b04c
|
network: introduce link_set_addresses()
|
2020-10-07 02:44:43 +09:00 |
|
Yu Watanabe
|
e2263711ba
|
network: cleanup networkd-route.h
|
2020-10-07 02:44:43 +09:00 |
|
Yu Watanabe
|
2a54a0446b
|
network: drop list of static routes
[Route] sections are managed by both LIST and Hashmap. Let's drop the
list.
|
2020-10-07 02:44:43 +09:00 |
|
Yu Watanabe
|
833f3663a0
|
network: introduce hashmap_find_free_section_line()
|
2020-10-07 02:44:43 +09:00 |
|
Yu Watanabe
|
74154c2e28
|
network: make several functions static
|
2020-10-07 02:44:43 +09:00 |
|
Yu Watanabe
|
d9940a3f8a
|
network: introduce network_verify_routes()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
565194127a
|
network: introduce link_serialize_routes()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
731ff05b32
|
network: introduce link_deserialize_routes()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
62f0ea5fae
|
network: introduce link_drop_routes()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
779804dd60
|
network: introduce link_drop_foreign_routes()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
169948e9d2
|
network: make route_free() return NULL
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
4468f01b67
|
network: move manager_rtnl_process_route()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
141318f777
|
network: move link_request_set_routes()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
be023c670b
|
network: make network_get_ipv6_dns() always set return value on success
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
a8d4a21091
|
network: fix indentation
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
b5ce40472c
|
network: cleanup networkd-radv.h
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
1a7deb2fcf
|
network: introduce network_verify_prefix() and network_verify_route_prefix()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
d30081c24e
|
network: also check route prefixes are configured
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
ecb0e85ea9
|
network: drop redundant list of prefixes and route prefixes
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
064dfb05f0
|
network: make prefix_free() and route_prefix_free() return NULL
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
87851e0feb
|
network: warn if IPv6ProxyNDPAddress= is set and IPv6ProxyNDP= is disabled
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
fd773a11d8
|
network: propagate errors in ipv6_proxy_ndp_set()
And ignore IPv6ProxyNDPAddress= settings if proxy_ndp is zero.
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
5823a48993
|
network: drop networkd-ipv6-proxy-ndp.h from networkd-network.h
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
c16b58217a
|
network: rename ipv6_proxy_ndp_addresses_configure() -> link_set_ipv6_proxy_ndp_addresses()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
d349f5026e
|
network: drop struct IPv6ProxyNDPAddress
Its only important value is in6_addr. So, let's just use struct in6_addr
and drop IPv6ProxyNDPAddress.
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
a8c82f90e7
|
network: move functions
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
dbf6319691
|
network: cleanup networkd-mdb.h
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
ee4522ce86
|
network: introduce network_verify_mdb_entries()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
03c9738e1d
|
network: drop list of bridge MDB entries
[BridgeMDB] sections are managed by LIST and Hashmap, and they contins
the completely same information. Let's drop the list.
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
8c06da1cd1
|
network: move mdb_entry_free() and friends
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
ee446d57b8
|
network: cleanup networkd-fdb.h
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
75ffb011b0
|
network: drop unused fdb_ntf_flags_to_string()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
e6ad630d77
|
network: introduce network_verify_fdb_entries()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
5bb4542b0c
|
network: move link_set_bridge_fdb()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
62ed9442bf
|
network: drop list of bridge FDB entries
[BridgeFDB] sections are managed by both LIST and Hashmap, and they
contains the completely same information. Let's drop the list.
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
df3a18f87f
|
network: make fdb_entry_free() return NULL
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
fb486c9082
|
network: cleanup networkd-address-label.h
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
fe2bc17ca7
|
network: introduce link_set_address_labels()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
ab316813ea
|
network: introduce network_verify_address_labels()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
cae418a306
|
network: make address_label_free() return NULL
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
d6a2a0f9a7
|
network: drop list of static address labels
[IPv6AddressLabel] sections are managed by both LIST and Hashmap.
Let's drop list, as they store the completely same information.
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
64753f354d
|
network: make neighbor_free() return NULL
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
78ada14f25
|
network: introduce network_verify_neighbors()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
5904833659
|
network: introduce neighbor_drop_{,foreign_}neighbors()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
1939ebeb89
|
network: cleanup headers in networkd-neighbor.[ch]
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
9be0b3abc2
|
network: drop unused arguments
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
0d6e933eac
|
network: make several functions static
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
19f8cffce1
|
network: make neighbor_{add,get}() takes Neighbor object
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
b0ba6938df
|
network: drop list of static neighbors
[Neighbor] sections are managed by both LIST and Hashmap.
Let's drop list, as they store the completely same information.
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
eab052d2b3
|
network: move manager_rtnl_process_neighbor() to networkd-neighbor.c
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
58f1fe9af9
|
network: move link_request_set_neighbors() to networkd-neighbor.c
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
fceee7cc7e
|
network: move functions
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
0992f9fb0e
|
network: introduce network_verify_nexthops()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
f96f4ebc85
|
network: use netlink_message_read_in_addr_union()
|
2020-10-07 02:44:42 +09:00 |
|
Yu Watanabe
|
f29b6b371e
|
sd-netlink: introduce netlink_message_read_in_addr_union()
|
2020-10-07 02:44:36 +09:00 |
|
Yu Watanabe
|
47a277f18b
|
network: use log_link_xxx() at more places
|
2020-10-07 02:39:51 +09:00 |
|
Yu Watanabe
|
8c11221879
|
network: drop NextHop::oif and always use link ifindex
|
2020-10-07 02:39:51 +09:00 |
|
Yu Watanabe
|
cf5a228f7b
|
network: slightly shorten nexthop_compare_func()
|
2020-10-07 02:39:51 +09:00 |
|
Yu Watanabe
|
75156ccbdc
|
network: cleanup headers included in networkd-nexthop.h
|
2020-10-07 02:39:51 +09:00 |
|
Yu Watanabe
|
b82663ddee
|
network: drop list of static nexthops
[NextHop] sections are managed by both LIST and Hashmap.
Let's drop list, as they store the completely same information.
|
2020-10-07 02:39:51 +09:00 |
|
Yu Watanabe
|
8d7b137a82
|
network: drop unused nexthop_remove() and nexthop_equal()
|
2020-10-07 02:39:51 +09:00 |
|
Yu Watanabe
|
4736035aaa
|
network: make several functions static
|
2020-10-07 02:39:51 +09:00 |
|
Yu Watanabe
|
454c87b5d5
|
network: move manager_rtnl_process_nexthop() to networkd-nexthop.c
|
2020-10-07 02:39:51 +09:00 |
|
Yu Watanabe
|
c133770a6b
|
network: move link_request_set_nexthop() to networkd-nexthop.c
|
2020-10-07 02:39:51 +09:00 |
|
Yu Watanabe
|
446aaaf35f
|
network: introduce helper function to enumerate information using netlink
|
2020-10-07 02:39:13 +09:00 |
|
Yu Watanabe
|
d08ed5a1fd
|
network: specify all known attributes when removing routing policy rules
Otherwise, routing_policy_rule_remove() may removes unintended rule.
|
2020-10-07 02:36:29 +09:00 |
|
Yu Watanabe
|
5a82104bf3
|
network: add missing "else"
|
2020-10-07 02:36:29 +09:00 |
|
Yu Watanabe
|
6f3337277f
|
network: drop unused element
|
2020-10-07 02:36:29 +09:00 |
|
Yu Watanabe
|
50a3682f1e
|
network: introduce network_verify_routing_policy_rules()
|
2020-10-07 02:36:29 +09:00 |
|
Yu Watanabe
|
f1828a222a
|
network: make routing_policy_rule_new() static
|
2020-10-07 02:36:29 +09:00 |
|
Yu Watanabe
|
51a0dc4a15
|
network: move manager_rtnl_process_rule() to networkd-routing-policy-rule.[ch]
|
2020-10-07 02:36:29 +09:00 |
|
Yu Watanabe
|
8dfed23d92
|
network: use typesafe macro netlink_add_match()
|
2020-10-07 02:36:29 +09:00 |
|
Yu Watanabe
|
3d65f7c863
|
sd-netlink: fix typo and make netlink_add_match() take description
|
2020-10-07 02:36:29 +09:00 |
|
Yu Watanabe
|
0d7d377b80
|
network: move log_message_warning_errno() to networkd-util.h
|
2020-10-07 02:36:29 +09:00 |
|
Yu Watanabe
|
ca183bf8fd
|
network: drop list of static routing policy rules
[RoutingPolicyRule] sections are managed by both LIST and Hashmap.
Let's drop list.
|
2020-10-07 02:36:29 +09:00 |
|