Return not supported if no necessary socket option
In order to support tcp keepalive offload, some socket options are necessary. If one of them isn't supported in kernel, just return ERROR_HARDWARE_UNSUPPORTED to the caller. e.g. TCP_REPAIR starts from kernel 3.5 TCP_REPAIR_QUEUE starts from kernel 3.5 TCP_QUEUE_SEQ starts from kernel 3.5 TCP_REPAIR_WINDOW starts from kernel version 4.8 Bug: 124453402 Test: -boot, flash, atest FrameworksNetTests -start tcp keepalive offload in kernel 4.4 and 4.9 device. Change-Id: I6f87e5be2f2ca7aae1293820c164d0bc7b664eb6
Loading
Please register or sign in to comment