diff options
author | Cronet Mainline Eng <cronet-mainline-eng+copybara@google.com> | 2024-01-02 11:58:25 +0000 |
---|---|---|
committer | Mohannad Farrag <aymanm@google.com> | 2024-01-02 12:02:18 +0000 |
commit | a593a16fd9fcd0dd4906673341bc921abb285b97 (patch) | |
tree | 6bca400c3096478188c12c7bf183d8652e8c8591 /net/socket/udp_socket_posix.h | |
parent | ec3a8e8db24bb3ce4b078106b358ca1c4389c14f (diff) | |
download | cronet-a593a16fd9fcd0dd4906673341bc921abb285b97.tar.gz |
Import Cronet version 121.0.6103.2
FolderOrigin-RevId: /tmp/copybara-origin/src
Change-Id: I690becfaba7ad4293eba08b4f9d1aa7f953fce20
Diffstat (limited to 'net/socket/udp_socket_posix.h')
-rw-r--r-- | net/socket/udp_socket_posix.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/socket/udp_socket_posix.h b/net/socket/udp_socket_posix.h index a0cb1e2f5..08a9fc757 100644 --- a/net/socket/udp_socket_posix.h +++ b/net/socket/udp_socket_posix.h @@ -173,6 +173,10 @@ class NET_EXPORT UDPSocketPosix { // return ERR_IO_PENDING. int SetDoNotFragment(); + // Requests that packets received by this socket have the ECN bit set. Returns + // a network error code if there was a problem. + int SetRecvEcn(); + // If |confirm| is true, then the MSG_CONFIRM flag will be passed to // subsequent writes if it's supported by the platform. void SetMsgConfirm(bool confirm); |