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