Home
last modified time | relevance | path

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

/packages/modules/Connectivity/bpf_progs/
Doffload.c365 const struct stream_bool stream, const struct updatetime_bool updatetime, in do_forward4_bottom() argument
542 if (updatetime.updatetime) v->last_used = bpf_ktime_get_boot_ns(); in do_forward4_bottom()
559 const struct updatetime_bool updatetime, in do_forward4() argument
620 if (!updatetime.updatetime && ip->protocol != IPPROTO_TCP) TC_PUNT(NON_TCP); in do_forward4()
624 if (updatetime.updatetime && (ip->protocol != IPPROTO_TCP) && (ip->protocol != IPPROTO_UDP)) in do_forward4()
629 const bool is_tcp = !updatetime.updatetime || (ip->protocol == IPPROTO_TCP); in do_forward4()
650 rawip, stream, updatetime, /* is_tcp */ true, kver); in do_forward4()
653 rawip, stream, updatetime, /* is_tcp */ false, kver); in do_forward4()
Doffload@mainline.c365 const struct stream_bool stream, const struct updatetime_bool updatetime, in do_forward4_bottom() argument
542 if (updatetime.updatetime) v->last_used = bpf_ktime_get_boot_ns(); in do_forward4_bottom()
559 const struct updatetime_bool updatetime, in do_forward4() argument
620 if (!updatetime.updatetime && ip->protocol != IPPROTO_TCP) TC_PUNT(NON_TCP); in do_forward4()
624 if (updatetime.updatetime && (ip->protocol != IPPROTO_TCP) && (ip->protocol != IPPROTO_UDP)) in do_forward4()
629 const bool is_tcp = !updatetime.updatetime || (ip->protocol == IPPROTO_TCP); in do_forward4()
650 rawip, stream, updatetime, /* is_tcp */ true, kver); in do_forward4()
653 rawip, stream, updatetime, /* is_tcp */ false, kver); in do_forward4()
Dbpf_net_helpers.h103 struct updatetime_bool { bool updatetime; }; member
104 #define NO_UPDATETIME ((struct updatetime_bool){ .updatetime = false })
105 #define UPDATETIME ((struct updatetime_bool){ .updatetime = true })