summaryrefslogtreecommitdiff
path: root/src/core/switch-root.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-02-24 01:09:21 +0100
committerTom Gundersen <teg@jklm.no>2014-02-24 03:28:19 +0100
commit55dab2ed837c17236b7df12decaffbc4388d1dff (patch)
tree44b39f61128131327baf3311277d4694311b7446 /src/core/switch-root.h
parent872c2ab3e2887c1c2b6c9815a201683e246e56fc (diff)
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.
Diffstat (limited to 'src/core/switch-root.h')
0 files changed, 0 insertions, 0 deletions