projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a broadcast matching module
[lttv.git]
/
lttv
/
lttv
/
sync
/
data_structures.h
diff --git
a/lttv/lttv/sync/data_structures.h
b/lttv/lttv/sync/data_structures.h
index 765967ffda75d2e018906fc6b9cd5d3d638c55dd..62a776a8847ba3f5fc8b81c368493ccbb147918f 100644
(file)
--- a/
lttv/lttv/sync/data_structures.h
+++ b/
lttv/lttv/sync/data_structures.h
@@
-25,6
+25,20
@@
#include <ltt/ltt.h>
#include <ltt/ltt.h>
+
+enum Direction
+{
+ OUT,
+ IN,
+};
+
+enum EventType
+{
+ TCP,
+ UDP,
+ TYPE_COUNT, // This must be the last field
+};
+
// Stage 1 to 2: These structures are passed from processing to matching modules
// TCP events
typedef struct
// Stage 1 to 2: These structures are passed from processing to matching modules
// TCP events
typedef struct
@@
-43,19
+57,6
@@
typedef struct
uint8_t ack, rst, syn, fin;
} SegmentKey;
uint8_t ack, rst, syn, fin;
} SegmentKey;
-enum Direction
-{
- OUT,
- IN,
-};
-
-enum EventType
-{
- TCP,
- UDP,
- TYPE_COUNT,
-};
-
typedef struct
{
enum Direction direction;
typedef struct
{
enum Direction direction;
@@
-134,6
+135,11
@@
void gdnConnectionKeyDestroy(gpointer data);
guint ghfSegmentKeyHash(gconstpointer key);
gboolean gefSegmentKeyEqual(gconstpointer a, gconstpointer b);
guint ghfSegmentKeyHash(gconstpointer key);
gboolean gefSegmentKeyEqual(gconstpointer a, gconstpointer b);
+// DatagramKey-related functions
+guint ghfDatagramKeyHash(gconstpointer key);
+gboolean gefDatagramKeyEqual(gconstpointer a, gconstpointer b);
+void gdnDestroyDatagramKey(gpointer data);
+
// Event-related functions
void gdnDestroyEvent(gpointer data);
void destroyEvent(Event* const event);
// Event-related functions
void gdnDestroyEvent(gpointer data);
void destroyEvent(Event* const event);
This page took
0.023688 seconds
and
4
git commands to generate.