Lines Matching refs:new
26 int new; member
39 { .opt = SO_SNDBUF, .new = 8123, .expected = 8123 * 2, },
40 { .opt = SO_RCVBUF, .new = 8123, .expected = 8123 * 2, },
42 { .opt = SO_PRIORITY, .new = 0xeb9f, .expected = 0xeb9f, },
44 { .opt = SO_RCVLOWAT, .new = 8123, .expected = 8123, },
45 { .opt = SO_MARK, .new = 0xeb9f, .expected = 0xeb9f, },
46 { .opt = SO_MAX_PACING_RATE, .new = 0xeb9f, .expected = 0xeb9f, },
53 { .opt = TCP_KEEPIDLE, .new = 123, .expected = 123, .restore = 321, },
54 { .opt = TCP_KEEPINTVL, .new = 123, .expected = 123, .restore = 321, },
55 { .opt = TCP_KEEPCNT, .new = 123, .expected = 123, .restore = 124, },
56 { .opt = TCP_SYNCNT, .new = 123, .expected = 123, .restore = 124, },
57 { .opt = TCP_WINDOW_CLAMP, .new = 8123, .expected = 8123, .restore = 8124, },
60 { .opt = TCP_USER_TIMEOUT, .new = 123400, .expected = 123400, },
61 { .opt = TCP_NOTSENT_LOWAT, .new = 1314, .expected = 1314, },
62 { .opt = TCP_BPF_SOCK_OPS_CB_FLAGS, .new = BPF_SOCK_OPS_ALL_CB_FLAGS,
64 { .opt = TCP_BPF_DELACK_MAX, .new = 30000, .expected = 30000, },
65 { .opt = TCP_BPF_RTO_MIN, .new = 30000, .expected = 30000, },
66 { .opt = TCP_RTO_MAX_MS, .new = 2000, .expected = 2000, },
71 { .opt = IP_TOS, .new = 0xe1, .expected = 0xe1, .tcp_expected = 0xe0, },
76 { .opt = IPV6_TCLASS, .new = 0xe1, .expected = 0xe1, .tcp_expected = 0xe0, },
98 int old, tmp, new, opt = t->opt; in bpf_test_sockopt_flip() local
111 new = !old; in bpf_test_sockopt_flip()
112 if (bpf_setsockopt(ctx, level, opt, &new, sizeof(new))) in bpf_test_sockopt_flip()
115 tmp != new) in bpf_test_sockopt_flip()
128 int old, tmp, new, expected, opt; in bpf_test_sockopt_int() local
131 new = t->new; in bpf_test_sockopt_int()
138 old == new) in bpf_test_sockopt_int()
141 if (bpf_setsockopt(ctx, level, opt, &new, sizeof(new))) in bpf_test_sockopt_int()