Split the synchronization code into modules
[lttv.git] / lttv / lttv / sync / event_processing_lttv_common.h
1 /* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2009 Benjamin Poirier <benjamin.poirier@polymtl.ca>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License Version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
16 * MA 02111-1307, USA.
17 */
18
19 #ifndef EVENT_PROCESSING_LTTV_COMMON_H
20 #define EVENT_PROCESSING_LTTV_COMMON_H
21
22 #include <glib.h>
23
24 #include <lttv/tracecontext.h>
25
26
27 GQuark
28 LTT_CHANNEL_NET,
29 LTT_CHANNEL_NETIF_STATE;
30
31 GQuark
32 LTT_EVENT_DEV_XMIT,
33 LTT_EVENT_DEV_RECEIVE,
34 LTT_EVENT_PKFREE_SKB,
35 LTT_EVENT_TCPV4_RCV,
36 LTT_EVENT_NETWORK_IPV4_INTERFACE;
37
38 GQuark
39 LTT_FIELD_SKB,
40 LTT_FIELD_PROTOCOL,
41 LTT_FIELD_NETWORK_PROTOCOL,
42 LTT_FIELD_TRANSPORT_PROTOCOL,
43 LTT_FIELD_SADDR,
44 LTT_FIELD_DADDR,
45 LTT_FIELD_TOT_LEN,
46 LTT_FIELD_IHL,
47 LTT_FIELD_SOURCE,
48 LTT_FIELD_DEST,
49 LTT_FIELD_SEQ,
50 LTT_FIELD_ACK_SEQ,
51 LTT_FIELD_DOFF,
52 LTT_FIELD_ACK,
53 LTT_FIELD_RST,
54 LTT_FIELD_SYN,
55 LTT_FIELD_FIN,
56 LTT_FIELD_NAME,
57 LTT_FIELD_ADDRESS,
58 LTT_FIELD_UP;
59
60
61 void createQuarks();
62 void registerHooks(GArray* hookListList, LttvTracesetContext* const
63 traceSetContext, unsigned int traceNb, LttvHook hookFunction, gpointer
64 hookData);
65 void unregisterHooks(GArray* hookListList, LttvTracesetContext* const
66 traceSetContext, unsigned int traceNb);
67
68 #endif
This page took 0.03016 seconds and 4 git commands to generate.