Home
last modified time | relevance | path

Searched refs:tcp_flags_mask (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/sfc/
Dtx_tso.c292 u8 tcp_flags_mask, tcp_flags; in tso_start_new_packet() local
296 tcp_flags_mask = 0x09; /* mask out FIN and PSH */ in tso_start_new_packet()
299 tcp_flags_mask = 0x00; in tso_start_new_packet()
307 tcp_flags = ((u8 *)tcp_hdr(skb))[TCP_FLAGS_OFFSET] & ~tcp_flags_mask; in tso_start_new_packet()
/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c236 u16 tcp_flags, tcp_flags_mask; in nfp_flower_compile_ip_ext() local
241 tcp_flags_mask = be16_to_cpu(match.mask->flags); in nfp_flower_compile_ip_ext()
245 if (tcp_flags_mask & TCPHDR_FIN) in nfp_flower_compile_ip_ext()
250 if (tcp_flags_mask & TCPHDR_SYN) in nfp_flower_compile_ip_ext()
255 if (tcp_flags_mask & TCPHDR_RST) in nfp_flower_compile_ip_ext()
260 if (tcp_flags_mask & TCPHDR_PSH) in nfp_flower_compile_ip_ext()
265 if (tcp_flags_mask & TCPHDR_URG) in nfp_flower_compile_ip_ext()