Lines Matching defs:ctx
73 static int tcp_load_headers(struct tcp_syncookie *ctx) in tcp_load_headers()
126 static int tcp_reload_headers(struct tcp_syncookie *ctx) in tcp_reload_headers()
161 static __sum16 tcp_v4_csum(struct tcp_syncookie *ctx, __wsum csum) in tcp_v4_csum()
167 static __sum16 tcp_v6_csum(struct tcp_syncookie *ctx, __wsum csum) in tcp_v6_csum()
173 static int tcp_validate_header(struct tcp_syncookie *ctx) in tcp_validate_header()
202 static __always_inline void *next(struct tcp_syncookie *ctx, __u32 sz) in next()
220 static int tcp_parse_option(__u32 index, struct tcp_syncookie *ctx) in tcp_parse_option()
284 static void tcp_parse_options(struct tcp_syncookie *ctx) in tcp_parse_options()
291 static int tcp_validate_sysctl(struct tcp_syncookie *ctx) in tcp_validate_sysctl()
314 static void tcp_prepare_cookie(struct tcp_syncookie *ctx) in tcp_prepare_cookie()
364 static void tcp_write_options(struct tcp_syncookie *ctx) in tcp_write_options()
399 static int tcp_handle_syn(struct tcp_syncookie *ctx) in tcp_handle_syn()
462 static int tcp_validate_cookie(struct tcp_syncookie *ctx) in tcp_validate_cookie()
505 static int tcp_handle_ack(struct tcp_syncookie *ctx) in tcp_handle_ack()
565 struct tcp_syncookie ctx = { in tcp_custom_syncookie() local