Commit graph

3 commits

Author SHA1 Message Date
Marten Seemann
a302d7ba4d
enable DPLPMTUD on macOS dual-stack sockets (#4723)
* enable DPLPMTUD on macOS dual-stack sockets

https://datatracker.ietf.org/doc/draft-seemann-tsvwg-udp-fragmentation/
contains details on how IP fragmentation is handled on different
platforms.

* only enable DF on macOS Sequoia (and newer) dual-stack sockets

* fix macOS version numbers

* fix comment in MTU integration test

* skip dual-stack test on old macOS versions
2024-12-01 14:50:49 +08:00
Marten Seemann
2bcfe5bc4b
check for WSAEMSGSIZE errors when receiving UDP packets on Windows (#3982)
* check for WSAEMSGSIZE errors when receiving UDP packets on Windows

* check EMSGSIZE error on macOS
2023-07-20 20:31:57 -07:00
Sukun
56cd866840
enable the DF bit on macOS (#3946)
* set DF bit on macOS

* simplify macOS version check

* link to chromium source for macOS 11 check
2023-07-19 12:01:03 -07:00