diff options
author | Eric Wild <ewild@sysmocom.de> | 2019-07-09 13:48:06 +0200 |
---|---|---|
committer | laforge <laforge@gnumonks.org> | 2019-07-21 19:27:40 +0000 |
commit | 51b610095d95c525e6882a6361eb4abfc8c6c789 (patch) | |
tree | 6cd44f7b3ac4f2747ca20c63c960e7525bd6ac40 /src/trau_frame.c | |
parent | b4a7db0f3675fe2a13d0486cb19a3438fb03e730 (diff) |
extend the ipa keepalive fsm
The new and improved fsm supports multipe use cases:
1) plain old ipa server/client operation
2) ipa client/server operation with custom send callback (i.e. to bypass
the tx queue)
3) all of the above + custom timeout callback
4) fully generic operation that will pass opaque data to the callbacks
The current code will always kill the fsm and deallocate it upon
timeout, so the timeout callback will now return a value: 1 means the
fsm will be automatically terminated, 0 means no action, which allows
manually stopping/starting the fsm to reuse it.
Change-Id: Ie453fdee8bfd7fc1a3f1ed67ef0331f0abb1d59b
Diffstat (limited to 'src/trau_frame.c')
0 files changed, 0 insertions, 0 deletions