Searched refs:tcp_flags_mask (Results 1 – 3 of 3) sorted by relevance
253 u16 tcp_flags_mask; in vcap_tc_flower_handler_tcp_usage() local260 tcp_flags_mask = be16_to_cpu(mt.mask->flags); in vcap_tc_flower_handler_tcp_usage()262 if (tcp_flags_mask & TCPHDR_FIN) { in vcap_tc_flower_handler_tcp_usage()271 if (tcp_flags_mask & TCPHDR_SYN) { in vcap_tc_flower_handler_tcp_usage()280 if (tcp_flags_mask & TCPHDR_RST) { in vcap_tc_flower_handler_tcp_usage()289 if (tcp_flags_mask & TCPHDR_PSH) { in vcap_tc_flower_handler_tcp_usage()298 if (tcp_flags_mask & TCPHDR_ACK) { in vcap_tc_flower_handler_tcp_usage()307 if (tcp_flags_mask & TCPHDR_URG) { in vcap_tc_flower_handler_tcp_usage()
292 u8 tcp_flags_mask, tcp_flags; in tso_start_new_packet() local296 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()
236 u16 tcp_flags, tcp_flags_mask; in nfp_flower_compile_ip_ext() local241 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()