1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package io.netty.channel.uring;
17
18 import io.netty.channel.ChannelOption;
19 import io.netty.channel.unix.UnixChannelOption;
20
21 public final class IoUringChannelOption<T> extends UnixChannelOption<T> {
22
23 private IoUringChannelOption() { }
24
25 public static final ChannelOption<Boolean> TCP_CORK = valueOf(IoUringChannelOption.class, "TCP_CORK");
26 public static final ChannelOption<Long> TCP_NOTSENT_LOWAT =
27 valueOf(IoUringChannelOption.class, "TCP_NOTSENT_LOWAT");
28 public static final ChannelOption<Integer> TCP_KEEPIDLE = valueOf(IoUringChannelOption.class, "TCP_KEEPIDLE");
29 public static final ChannelOption<Integer> TCP_KEEPINTVL = valueOf(IoUringChannelOption.class, "TCP_KEEPINTVL");
30 public static final ChannelOption<Integer> TCP_KEEPCNT = valueOf(IoUringChannelOption.class, "TCP_KEEPCNT");
31 public static final ChannelOption<Integer> TCP_USER_TIMEOUT =
32 valueOf(IoUringChannelOption.class, "TCP_USER_TIMEOUT");
33 public static final ChannelOption<Boolean> IP_FREEBIND = valueOf("IP_FREEBIND");
34 public static final ChannelOption<Boolean> IP_TRANSPARENT = valueOf("IP_TRANSPARENT");
35
36
37
38 public static final ChannelOption<Integer> TCP_FASTOPEN = ChannelOption.TCP_FASTOPEN;
39
40 public static final ChannelOption<Integer> TCP_DEFER_ACCEPT =
41 ChannelOption.valueOf(IoUringChannelOption.class, "TCP_DEFER_ACCEPT");
42 public static final ChannelOption<Boolean> TCP_QUICKACK = valueOf(IoUringChannelOption.class, "TCP_QUICKACK");
43
44 public static final ChannelOption<Integer> MAX_DATAGRAM_PAYLOAD_SIZE = valueOf("MAX_DATAGRAM_PAYLOAD_SIZE");
45 }