Home
last modified time | relevance | path

Searched refs:match_tpl (Results 1 - 1 of 1) sorted by relevance

/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/
H A Dnetfirewall.h72 * @param match_tpl struct match_tuple
76 static __always_inline bool get_ct_tuple(struct match_tuple *match_tpl, struct ct_tuple *ct_tpl) in get_ct_tuple() argument
78 if (!match_tpl || !ct_tpl) { in get_ct_tuple()
82 ct_tpl->family = match_tpl->family; in get_ct_tuple()
83 ct_tpl->protocol = match_tpl->protocol; in get_ct_tuple()
84 ct_tpl->sport = match_tpl->sport; in get_ct_tuple()
85 ct_tpl->dport = match_tpl->dport; in get_ct_tuple()
87 if (match_tpl->family == AF_INET) { in get_ct_tuple()
88 ct_tpl->ipv4.saddr = match_tpl->ipv4.saddr; in get_ct_tuple()
89 ct_tpl->ipv4.daddr = match_tpl in get_ct_tuple()
[all...]

Completed in 1 milliseconds