aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc')
-rw-r--r--www/chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/www/chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc b/www/chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc
index 0db11de524dd..d82d3084ce8b 100644
--- a/www/chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc
+++ b/www/chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc
@@ -1,6 +1,6 @@
---- third_party/webrtc/rtc_base/physical_socket_server.cc.orig 2023-04-28 17:01:32 UTC
+--- third_party/webrtc/rtc_base/physical_socket_server.cc.orig 2023-12-10 06:10:27 UTC
+++ third_party/webrtc/rtc_base/physical_socket_server.cc
-@@ -56,7 +56,7 @@
+@@ -53,7 +53,7 @@
#include "rtc_base/time_utils.h"
#include "system_wrappers/include/field_trial.h"
@@ -9,7 +9,7 @@
#include <linux/sockios.h>
#endif
-@@ -75,7 +75,7 @@ typedef void* SockOptArg;
+@@ -73,7 +73,7 @@ typedef void* SockOptArg;
#endif // WEBRTC_POSIX
@@ -18,7 +18,7 @@
int64_t GetSocketRecvTimestamp(int socket) {
struct timeval tv_ioctl;
-@@ -310,7 +310,7 @@ int PhysicalSocket::GetOption(Option opt, int* value)
+@@ -307,7 +307,7 @@ int PhysicalSocket::GetOption(Option opt, int* value)
return -1;
}
if (opt == OPT_DONTFRAGMENT) {
@@ -27,7 +27,7 @@
*value = (*value != IP_PMTUDISC_DONT) ? 1 : 0;
#endif
} else if (opt == OPT_DSCP) {
-@@ -328,7 +328,7 @@ int PhysicalSocket::SetOption(Option opt, int value) {
+@@ -325,7 +325,7 @@ int PhysicalSocket::SetOption(Option opt, int value) {
if (TranslateOption(opt, &slevel, &sopt) == -1)
return -1;
if (opt == OPT_DONTFRAGMENT) {
@@ -36,7 +36,7 @@
value = (value) ? IP_PMTUDISC_DO : IP_PMTUDISC_DONT;
#endif
} else if (opt == OPT_DSCP) {
-@@ -356,7 +356,7 @@ int PhysicalSocket::SetOption(Option opt, int value) {
+@@ -353,7 +353,7 @@ int PhysicalSocket::SetOption(Option opt, int value) {
int PhysicalSocket::Send(const void* pv, size_t cb) {
int sent = DoSend(
s_, reinterpret_cast<const char*>(pv), static_cast<int>(cb),
@@ -45,7 +45,7 @@
// Suppress SIGPIPE. Without this, attempting to send on a socket whose
// other end is closed will result in a SIGPIPE signal being raised to
// our process, which by default will terminate the process, which we
-@@ -385,7 +385,7 @@ int PhysicalSocket::SendTo(const void* buffer,
+@@ -382,7 +382,7 @@ int PhysicalSocket::SendTo(const void* buffer,
size_t len = addr.ToSockAddrStorage(&saddr);
int sent =
DoSendTo(s_, static_cast<const char*>(buffer), static_cast<int>(length),
@@ -54,7 +54,7 @@
// Suppress SIGPIPE. See above for explanation.
MSG_NOSIGNAL,
#else
-@@ -643,7 +643,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
+@@ -641,7 +641,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
*slevel = IPPROTO_IP;
*sopt = IP_DONTFRAGMENT;
break;