1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00
systemd-stable/src/libsystemd-network
Zbigniew Jędrzejewski-Szmek 8ff4585ffa sd-dhcp-client: merge client_send_release() into sd_dhcp_client_send_release()
The public function and the implementation were split into two for
no particular reason.

We would assert() on the internal state of the client. This should not be done
in a function that is directly called from a public function. (I.e., we should
not crash if the public function is called at the wrong time.)
assert() is changed to assert_return().

And before anyone asks: I put the assert_returns() *above* the internal
variables on purpose. This makes it easier to see that the assert_returns()
are about the state that is passed in, and if they are not satisfied, the
function returns immediately. The compiler doesn't care either way, so
the ordering that is clearest to the reader should be chosen.
2019-10-02 14:01:42 +02:00
..
arp-util.c tree-wide: drop netinet/ether.h from socket-util.h and sd-netlink.h 2019-07-24 18:23:08 +09:00
arp-util.h arp-util: use net/ethernet.h instead of netinet/if_ether.h 2019-04-13 17:51:59 +09:00
dhcp6-internal.h tree-wide: use PROJECT_FILE instead of __FILE__ 2019-07-04 10:36:00 +02:00
dhcp6-lease-internal.h dhcp6-client: Store lease timeouts T1 and T1 in client struct 2018-09-19 13:45:18 -06:00
dhcp6-network.c tree-wide: introduce setsockopt_int() helper and make use of it everywhere 2018-10-18 19:50:29 +02:00
dhcp6-option.c util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
dhcp6-protocol.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
dhcp-identifier.c libsystemd-network: rename net_get_name() to net_get_name_persistent() 2019-06-17 13:43:18 +02:00
dhcp-identifier.h dhcp6: don't enforce DUID content for sd_dhcp6_client_set_duid() 2018-12-20 13:40:39 +01:00
dhcp-internal.h dhcp4: make IPServiceType configurable 2019-09-26 11:39:46 +09:00
dhcp-lease-internal.h network: DHCP server Add support to transmit SIP server 2019-09-20 21:22:23 +09:00
dhcp-network.c dhcp4: make IPServiceType configurable 2019-09-26 11:39:46 +09:00
dhcp-option.c network: DHCP server Add support to transmit SIP server 2019-09-20 21:22:23 +09:00
dhcp-packet.c dhcp4: make IPServiceType configurable 2019-09-26 11:39:46 +09:00
dhcp-protocol.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
dhcp-server-internal.h network: DHCP server Add support to transmit SIP server 2019-09-20 21:22:23 +09:00
icmp6-util.c tree-wide: port various users over to socket_bind_to_ifindex() 2019-03-18 12:02:32 +01:00
icmp6-util.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
lldp-internal.h tree-wide: use PROJECT_FILE instead of __FILE__ 2019-07-04 10:36:00 +02:00
lldp-neighbor.c util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
lldp-neighbor.h lldp: rename lldp_neighbor_id_hash_ops and set value destructor 2018-12-02 12:18:54 +01:00
lldp-network.c util: drop missing.h from util.h 2018-12-04 10:00:34 +01:00
lldp-network.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
meson.build Drop my copyright headers 2018-06-14 13:03:20 +02:00
ndisc-internal.h tree-wide: use PROJECT_FILE instead of __FILE__ 2019-07-04 10:36:00 +02:00
ndisc-router.c util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
ndisc-router.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
network-internal.c Revert "shared/conf-parser,networkd: EXTRACT_UNQUOTE|EXTRACT_RETAIN_ESCAPE → EXTRACT_UNQUOTE" 2019-08-19 09:54:06 +02:00
network-internal.h network,udev: add Property= setting in [Match] section 2019-07-01 01:24:42 +09:00
radv-internal.h network: Add support to advertie ipv6 route 2019-09-17 12:09:59 +02:00
sd-dhcp6-client.c dhcp6: use unaligned_read_be32() 2019-09-20 08:04:15 +00:00
sd-dhcp6-lease.c dhcp: replace strerror() with %m 2019-07-05 02:43:56 +09:00
sd-dhcp-client.c sd-dhcp-client: merge client_send_release() into sd_dhcp_client_send_release() 2019-10-02 14:01:42 +02:00
sd-dhcp-lease.c dhcp: Log SIP server information correctly 2019-09-20 15:13:00 +02:00
sd-dhcp-server.c dhcp4: make IPServiceType configurable 2019-09-26 11:39:46 +09:00
sd-ipv4acd.c tree-wide: drop netinet/ether.h from socket-util.h and sd-netlink.h 2019-07-24 18:23:08 +09:00
sd-ipv4ll.c tree-wide: use PROJECT_FILE instead of __FILE__ 2019-07-04 10:36:00 +02:00
sd-lldp.c util: split out sorting related calls to new sort-util.[ch] 2019-03-13 12:16:43 +01:00
sd-ndisc.c ndisc: make first solicit delayed randomly 2019-09-16 05:37:04 +09:00
sd-radv.c sd-radv: if lifetime < SD_RADV_DEFAULT_MAX_TIMEOUT_USEC, adjust timeout (#13491) 2019-09-20 13:52:29 +00:00
test-acd.c tests: use a helper function to parse environment and open logging 2018-09-14 09:29:57 +02:00
test-dhcp6-client.c tree-wide: drop netinet/ether.h from socket-util.h and sd-netlink.h 2019-07-24 18:23:08 +09:00
test-dhcp-client.c dhcp4: make IPServiceType configurable 2019-09-26 11:39:46 +09:00
test-dhcp-option.c util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
test-dhcp-server.c tests: use a helper function to parse environment and open logging 2018-09-14 09:29:57 +02:00
test-ipv4ll-manual.c tests: use a helper function to parse environment and open logging 2018-09-14 09:29:57 +02:00
test-ipv4ll.c tree-wide: drop netinet/ether.h from socket-util.h and sd-netlink.h 2019-07-24 18:23:08 +09:00
test-lldp.c tests: use the test helpers in more places 2019-03-04 14:15:38 +01:00
test-ndisc-ra.c codespell: fix spelling errors 2019-04-29 16:47:18 +02:00
test-ndisc-rs.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
test-sd-dhcp-lease.c network: Implement DHCP Option 119 (Domain Search List) (#5932) 2017-05-13 10:19:32 -04:00