History

net/tcp: Add TCP-AO config and structures

Introduce new kernel config option and common structures as well as helpers to be used by TCP-AO code.

Dmitry Safonov committed 3 years ago

Commit c845f5f1 parent 8c73b265 files · +114 −8Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/linux/tcp.h+2−0
@@ -361,6 +361,8 @@ struct tcp_diag_md5sig { · 360 unmodified lines
361361 __u8 tcpm_key[TCP_MD5SIG_MAXKEYLEN];
362362 };
363363
364+#define TCP_AO_MAXKEYLEN 80
365+
364366 /* setsockopt(fd, IPPROTO_TCP, TCP_ZEROCOPY_RECEIVE, ...) */
365367
366368 #define TCP_RECEIVE_ZEROCOPY_FLAG_TLB_CLEAN_HINT 0x1

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t