From 2b6b833a792734f29cd340359ee0d698eff46419 Mon Sep 17 00:00:00 2001 From: Andrii Melnychenko Date: Mon, 9 Jun 2025 15:00:35 +0200 Subject: PoC: VPP added async VPP client. Also, fixed a few crashes related to file descriptor closing. Added a few options for auditing accel - vpp behaviour. Signed-off-by: Andrii Melnychenko --- accel-pppd/include/ap_session.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'accel-pppd/include/ap_session.h') diff --git a/accel-pppd/include/ap_session.h b/accel-pppd/include/ap_session.h index c032c3f..61da292 100644 --- a/accel-pppd/include/ap_session.h +++ b/accel-pppd/include/ap_session.h @@ -58,7 +58,6 @@ struct ap_ctrl { void (*started)(struct ap_session*); void (*finished)(struct ap_session *); int (*terminate)(struct ap_session *, int hard); - int (*non_dev_ppp_fixup)(struct ap_session*); }; struct ap_private @@ -122,6 +121,9 @@ struct ap_session uint64_t acct_tx_bytes_i; int acct_start; + int (*non_dev_ppp_fixup)(struct ap_session*); + int non_dev_ppp_fixup_status; /* 0 nondone, 1 processing, 2 done */ + void *non_dev_ppp_fixup_priv; uint32_t vpp_sw_if_index; }; -- cgit v1.2.3