Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-18 | [netstack] Move SO_PASSCRED option to SocketOptions. | Ayush Ranjan | |
This change also makes the following fixes: - Make SocketOptions use atomic operations instead of having to acquire/drop locks upon each get/set option. - Make documentation more consistent. - Remove tcpip.SocketOptions from socketOpsCommon because it already exists in transport.Endpoint. - Refactors get/set socket options tests to be easily extendable. PiperOrigin-RevId: 343103780 | |||
2020-11-12 | Refactor SOL_SOCKET options | Nayana Bidari | |
Store all the socket level options in a struct and call {Get/Set}SockOpt on this struct. This will avoid implementing socket level options on all endpoints. This CL contains implementing one socket level option for tcp and udp endpoints. PiperOrigin-RevId: 342203981 |