diff options
author | Andrii Melnychenko <a.melnychenko@vyos.io> | 2025-06-09 15:00:35 +0200 |
---|---|---|
committer | Andrii Melnychenko <a.melnychenko@vyos.io> | 2025-06-09 15:05:15 +0200 |
commit | 2b6b833a792734f29cd340359ee0d698eff46419 (patch) | |
tree | 305f80e87c121c46f49a382bd2a21617618fdd87 /accel-pppd/include/ap_session.h | |
parent | ce7d56b27ea0a0be4d89eb4739c95790a4fc724c (diff) | |
download | accel-ppp-ng-VPP_POC.tar.gz accel-ppp-ng-VPP_POC.zip |
PoC: VPP added async VPP client.VPP_POC
Also, fixed a few crashes related to file descriptor closing.
Added a few options for auditing accel - vpp behaviour.
Signed-off-by: Andrii Melnychenko <a.melnychenko@vyos.io>
Diffstat (limited to 'accel-pppd/include/ap_session.h')
-rw-r--r-- | accel-pppd/include/ap_session.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; }; |