Searched refs:tcp_header (Results 1 – 1 of 1) sorted by relevance
257 static __always_inline bool tscookie_init(struct tcphdr *tcp_header, in tscookie_init() argument262 .ptr = (__u8 *)(tcp_header + 1), in tscookie_init()263 .end = (__u8 *)tcp_header + tcp_len, in tscookie_init()281 if (tcp_header->ece && tcp_header->cwr) in tscookie_init()492 static __always_inline void tcp_gen_synack(struct tcphdr *tcp_header, in tcp_gen_synack() argument498 tcp_flag_word(tcp_header) = TCP_FLAG_SYN | TCP_FLAG_ACK; in tcp_gen_synack()500 tcp_flag_word(tcp_header) |= TCP_FLAG_ECE; in tcp_gen_synack()501 tcp_header->doff = 5; /* doff is part of tcp_flag_word. */ in tcp_gen_synack()502 swap(tcp_header->source, tcp_header->dest); in tcp_gen_synack()503 tcp_header->ack_seq = bpf_htonl(bpf_ntohl(tcp_header->seq) + 1); in tcp_gen_synack()[all …]