blob: 2891210aa4ac26a534fa39148fda4d0f5fd99e72 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
/*******************************************************************************
* Copyright (c) 2013 École Polytechnique de Montréal
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Geneviève Bastien - Initial API and implementation
******************************************************************************/
package org.eclipse.linuxtools.internal.lttng2.kernel.core;
/**
* This file defines all the known event and field names used to trace socket
* connection for both the addons module method (
* {@link org.eclipse.linuxtools.lttng2.kernel.core.event.matching.TcpEventMatching}
* ) and the net_data_experimental branch (
* {@link org.eclipse.linuxtools.lttng2.kernel.core.event.matching.TcpLttngEventMatching}
* ).
*
* These events should be eventually mainlined and when this happens, this class
* won't be necessary anymore and they should be moved to {@link LttngStrings}
* class
*
*
* @author Geneviève Bastien
*/
@SuppressWarnings({ "javadoc", "nls" })
public interface TcpEventStrings {
/* Event names */
public static final String INET_CONNECT = "inet_connect";
public static final String INET_SOCK_CREATE = "inet_sock_create";
public static final String INET_SOCK_LOCAL_OUT = "inet_sock_local_out";
public static final String INET_SOCK_LOCAL_IN = "inet_sock_local_in";
public static final String INET_SOCK_CLONE = "inet_sock_clone";
public static final String INET_ACCEPT = "inet_accept";
public static final String INET_SOCK_DELETE = "inet_sock_delete";
public static final String NETIF_RECEIVE_SKB = "netif_receive_skb";
public static final String NET_DEV_QUEUE = "net_dev_queue";
/* Field names */
public static final String SEQ = "seq";
public static final String SK = "sk";
public static final String OSK = "osk";
public static final String NSK = "nsk";
public static final String SPORT = "sport";
public static final String DPORT = "dport";
public static final String SADDR = "saddr";
public static final String DADDR = "daddr";
public static final String ACKSEQ = "ack_seq";
public static final String CHECK = "check";
public static final String WINDOW = "window";
public static final String FLAGS = "flags";
public static final String TRANSPORT_FIELDS = "transport_fields";
public static final String TYPE_TCP = "thtype_tcp";
}
|