1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-15 07:24:00 +03:00
systemd/src/libsystemd-dhcp
Tom Gundersen 55dab2ed83 sd-dhcp-client: respect TP_STATUS_CSUMNOTREADY
If an UDP packet has not passed through a hardware device, its checksum may not
have been computed. This is exposed through the TP_STATUS_CSUMNOTREADY sockopt.

When using raw sockets, skip checksum validation when TP_STATUS_CSUMNOTREADY
is set.

This is necessary for dhcp to work directly over a veth tunnel, e.g. as done
in systemd-nspawn.
2014-02-24 03:28:19 +01:00
..
dhcp-internal.h sd-dhcp-client: respect TP_STATUS_CSUMNOTREADY 2014-02-24 03:28:19 +01:00
dhcp-lease.c sd-dhcp-client: split sd_dhcp_lease from sd_dhcp_client 2014-02-07 15:48:35 +01:00
dhcp-lease.h sd-dhcp-client: split sd_dhcp_lease from sd_dhcp_client 2014-02-07 15:48:35 +01:00
dhcp-network.c sd-dhcp-client: respect TP_STATUS_CSUMNOTREADY 2014-02-24 03:28:19 +01:00
dhcp-option.c libsystemd-dhcp: revert merge into libsystemd 2014-01-21 00:04:53 +01:00
dhcp-packet.c sd-dhcp-client: respect TP_STATUS_CSUMNOTREADY 2014-02-24 03:28:19 +01:00
dhcp-protocol.h sd-dhcp: minimum options size is part of the protocol 2014-02-15 12:14:45 +01:00
Makefile libsystemd-dhcp: revert merge into libsystemd 2014-01-21 00:04:53 +01:00
sd-dhcp-client.c sd-dhcp-client: respect TP_STATUS_CSUMNOTREADY 2014-02-24 03:28:19 +01:00
test-dhcp-client.c test: always use assert_se in tests 2014-02-22 21:24:36 +01:00
test-dhcp-option.c test: always use assert_se in tests 2014-02-22 21:24:36 +01:00