|
The Assimilation Monitoring Project
|
Implements Seqno Frame class type. More...
#include <string.h>#include <projectcommon.h>#include <frameset.h>#include <seqnoframe.h>#include <frametypes.h>#include <generic_tlv_min.h>#include <tlvhelper.h>
Go to the source code of this file.
Macros | |
| #define | FIVESECONDS 5000000 |
Functions | |
| FSTATIC void | _seqnoframe_setreqid (SeqnoFrame *self, guint64 value) |
| Set the request id value associated with a SeqnoFrame. More... | |
| FSTATIC guint64 | _seqnoframe_getreqid (SeqnoFrame *self) |
| Get the request id associated with a SeqnoFrame. More... | |
| FSTATIC void | _seqnoframe_setqid (SeqnoFrame *self, guint16 value) |
| Set the Queue id value associated with a SeqnoFrame. More... | |
| FSTATIC guint16 | _seqnoframe_getqid (SeqnoFrame *self) |
| Get the queue id associated with a SeqnoFrame. More... | |
| FSTATIC void | _seqnoframe_updatedata (Frame *fself,gpointer tlvptr,gconstpointer pktend,FrameSet *fs) |
| Update packet data from the frame. More... | |
| FSTATIC gboolean | _seqnoframe_isvalid (const Frame *self,gconstpointer tlvptr,gconstpointer pktend) |
| Return TRUE if this sequence number is valid - if it's the right size. More... | |
| FSTATIC gboolean | _seqnoframe_equal (SeqnoFrame *self, SeqnoFrame *rhs) |
| Compare two SeqnoFrames for equality including the queue id. More... | |
| FSTATIC int | _seqnoframe_compare (SeqnoFrame *self, SeqnoFrame *rhs) |
| Compare two SeqnoFrames - ignoring the queue id. More... | |
| FSTATIC guint32 | _seqnoframe_getsessionid (SeqnoFrame *self) |
| Get the session id associated with a SeqnoFrame. More... | |
| FSTATIC void | _seqnoframe_initsessionid (void) |
| Initialize our session ID to something monotonically increasing. More... | |
| FSTATIC char * | _seqnoframe_toString (gconstpointer vself) |
| Frame * | seqnoframe_tlvconstructor (gconstpointer tlvstart, gconstpointer pktend) |
| Construct Frame (SeqnoFrame) object from marshalled packet data. More... | |
| SeqnoFrame * | seqnoframe_new (guint16 frametype, int objsize) |
| Construct new SeqnoFrame object. More... | |
| SeqnoFrame * | seqnoframe_new_init (guint16 frametype, guint64 reqid, guint16 qid) |
| Construct a fully-iniitialized SeqnoFrame object. More... | |
Implements Seqno Frame class type.
This Frame class subclass implements packet sequence numbering for reliable packet delivery.
This file is part of the Assimilation Project.
The Assimilation software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the Assimilation Project software. If not, see http://www.gnu.org/licenses/
Definition in file seqnoframe.c.
| #define FIVESECONDS 5000000 |
Referenced by _seqnoframe_initsessionid().