Introduce new kernel config option and common structures as well as helpers to be used by TCP-AO code.
Showing the changes to include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -361,6 +361,8 @@ struct tcp_diag_md5sig { · 360 unmodified lines | |||
| 361 | __u8 tcpm_key[TCP_MD5SIG_MAXKEYLEN]; | 361 | __u8 tcpm_key[TCP_MD5SIG_MAXKEYLEN]; |
| 362 | }; | 362 | }; |
| 363 | 363 | ||
| 364 | #define TCP_AO_MAXKEYLEN 80 | ||
| 365 | |||
| 364 | /* setsockopt(fd, IPPROTO_TCP, TCP_ZEROCOPY_RECEIVE, ...) */ | 366 | /* setsockopt(fd, IPPROTO_TCP, TCP_ZEROCOPY_RECEIVE, ...) */ |
| 365 | 367 | ||
| 366 | #define TCP_RECEIVE_ZEROCOPY_FLAG_TLB_CLEAN_HINT 0x1 | 368 | #define TCP_RECEIVE_ZEROCOPY_FLAG_TLB_CLEAN_HINT 0x1 |