Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/
H A Dnetfirewall_ct.h138 bool is_tcp = (tuple->protocol == IPPROTO_TCP); in ct_create_entry() local
143 seen_flags.value |= is_tcp ? TCP_FLAG_SYN : 0; in ct_create_entry()
144 ct_update_timeout(&entry, is_tcp, dir, seen_flags); in ct_create_entry()
163 bool is_tcp = is_l4_protocol(skb, l3_nhoff, IPPROTO_TCP); in ct_lookup_entry() local
165 if (is_tcp) { in ct_lookup_entry()
172 ct_update_timeout(entry, is_tcp, dir, seen_flags); in ct_lookup_entry()
181 ct_update_timeout(entry, is_tcp, dir, seen_flags); in ct_lookup_entry()