Changeset ee6e802


Ignore:
Timestamp:
08/29/16 16:09:01 (4 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, master, ndag_format, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
8485d99
Parents:
756b8f9
Message:

Updated copyright blurb on all source files

In some cases, this meant adding copyright blurbs to files that
had never had them before.

Files:
157 edited

Legend:

Unmodified
Added
Removed
  • lib/bpf-jit/bpf-jit.cc

    re966aa8 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#define OPTIMISE 1
    229#define OUTPUT_COMPILED 0
  • lib/bpf-jit/bpf-jit.h

    rd48008d ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <pcap.h>
    229#include <pcap-bpf.h>
  • lib/bpf-jit/bpf-opcodes.c

    rd48008d ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128/*
    229 * This file is not linked into libtrace in the normal way you would expect.
  • lib/byteswap.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id: format_helper.c 1830 2013-05-14 05:17:57Z salcock $
    3124 *
    3225 */
    33 
    3426#include "lt_bswap.h"
    3527
  • lib/checksum.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id$
    3124 *
    3225 */
     26
     27
    3328#include "checksum.h"
    3429
  • lib/checksum.h

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id$
    3124 *
    3225 */
    33 
    3426#ifndef LIBTRACE_CHECKSUM_H_
    3527#define LIBTRACE_CHECKSUM_H_
  • lib/combiner_ordered.c

    r733c8b4 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include "libtrace.h"
    229#include "libtrace_int.h"
  • lib/combiner_sorted.c

    ra31e166 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include "libtrace.h"
    229#include "libtrace_int.h"
  • lib/combiner_unordered.c

    ra31e166 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include "libtrace.h"
    229#include "libtrace_int.h"
  • lib/common.h

    redb18ce ree6e802  
    1 #ifndef COMMON_H
    2 #define COMMON_H 1
    3 
    4 #include "config.h"
    5 
    6 #ifdef __cplusplus
    7 #  define BEGIN_C_DECLS extern "C" {
    8 #  define END_C_DECLS   }
    9 #else /* !__cplusplus */
    10 #  define BEGIN_C_DECLS
    11 #  define END_C_DECLS
    12 #endif /* __cplusplus */
    13 
    14 
    15 #endif /* COMMON_H */
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
  • lib/dagformat.h

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id$
    3124 *
    3225 */
    33 
    3426/** @file
    3527 *
  • lib/daglegacy.h

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id$
    3124 *
    3225 */
    33 
    3426#ifndef DAG_LEGACY_H
    3527#define DAG_LEGACY_H
  • lib/data-struct/buckets.c

    r21c0d70 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126
    227#include <stdlib.h>
  • lib/data-struct/buckets.h

    re63d80d ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#ifndef LIBTRACE_BUCKET_H_
    227#define LIBTRACE_BUCKET_H_
  • lib/data-struct/deque.c

    r6d1c2c0 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include "deque.h"
    227
  • lib/data-struct/deque.h

    rfac8c46 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <pthread.h>
    227#include "../libtrace.h"
  • lib/data-struct/linked_list.c

    r02cbc14 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include "linked_list.h"
    227
  • lib/data-struct/linked_list.h

    r02cbc14 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include "libtrace.h"
    227
  • lib/data-struct/message_queue.c

    ra49a9eb ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include "message_queue.h"
    227
  • lib/data-struct/message_queue.h

    rc63bcdf ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <pthread.h>
    227#include <limits.h>
  • lib/data-struct/object_cache.c

    rf45ff19 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include "config.h"
    227#include "object_cache.h"
  • lib/data-struct/object_cache.h

    r04bf7c5 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#ifndef LIBTRACE_OBJECT_CACHE_H
    227#define LIBTRACE_OBJECT_CACHE_H
  • lib/data-struct/ring_buffer.c

    r04bf7c5 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126/**
    227 * A ring or circular buffer, very useful
  • lib/data-struct/ring_buffer.h

    rc63bcdf ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <pthread.h>
    227#include <semaphore.h>
  • lib/data-struct/sliding_window.c

    r10553bf ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include "sliding_window.h"
    227
  • lib/data-struct/sliding_window.h

    r5ba34eb ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <stdint.h>
    227#include <stddef.h>
  • lib/data-struct/vector.c

    r2498008 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include "vector.h"
    227
  • lib/data-struct/vector.h

    r6a082f8 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <pthread.h>
    227/* Need libtrace.h for DLLEXPORT defines */
  • lib/erftypes.h

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id$
    3124 *
    3225 */
    33 
    3426#ifndef _ERFTYPES_H_
    3527#define _ERFTYPES_H_
  • lib/format_atmhdr.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#define _GNU_SOURCE
    3527
  • lib/format_bpf.c

    ra984307 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#include "libtrace.h"
    3527#include "libtrace_int.h"
  • lib/format_dag24.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#define _GNU_SOURCE
    3527
  • lib/format_dag25.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#define _GNU_SOURCE
    3527
  • lib/format_dpdk.c

    ra984307 ree6e802  
    1 
    21/*
    3  * This file is part of libtrace
    4  *
    5  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    6  * New Zealand.
    7  *
    8  * Author: Richard Sanger
    9  *
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    104 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
    117 *
    128 * This code has been developed by the University of Waikato WAND
     
    1410 *
    1511 * libtrace is free software; you can redistribute it and/or modify
    16  * it under the terms of the GNU General Public License as published by
    17  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1814 * (at your option) any later version.
    1915 *
     
    2117 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2218 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    23  * GNU General Public License for more details.
    24  *
    25  * You should have received a copy of the GNU General Public License
    26  * along with libtrace; if not, write to the Free Software
    27  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    28  *
    29  * $Id: format_dpdk.c 1805 2013-03-08 02:01:35Z salcock $
    30  *
    31  */
    32 
    33 /* This format module deals with using the Intel Data Plane Development
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    3426 * Kit capture format.
    3527 *
  • lib/format_duck.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#include "config.h"
    3527#include "libtrace.h"
  • lib/format_erf.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426
    3527#define _GNU_SOURCE
  • lib/format_erf.h

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id$
    3124 *
    3225 */
    33 
    3426#ifndef FORMAT_ERF_H
    3527#define FORMAT_ERF_H
  • lib/format_helper.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#include "config.h"
    3527#include <sys/types.h>
  • lib/format_helper.h

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id$
    3124 *
    3225 */
    33 
    3426#ifndef FORMAT_HELPER_H
    3527#define FORMAT_HELPER_H
  • lib/format_legacy.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#define _GNU_SOURCE
    3527
  • lib/format_linux_common.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *          Richard Sanger
    11  *
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    124 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
    137 *
    148 * This code has been developed by the University of Waikato WAND
     
    1610 *
    1711 * libtrace is free software; you can redistribute it and/or modify
    18  * it under the terms of the GNU General Public License as published by
    19  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    2014 * (at your option) any later version.
    2115 *
     
    2317 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2418 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    25  * GNU General Public License for more details.
    26  *
    27  * You should have received a copy of the GNU General Public License
    28  * along with libtrace; if not, write to the Free Software
    29  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    30  *
    31  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3224 *
    3325 */
  • lib/format_linux_common.h

    r6d1c2c0 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128/* Various definitions required for the linux format. They were moved here,
    229 * because format_linux.c had a lot of header information before the actual
  • lib/format_linux_int.c

    r6d1c2c0 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *          Richard Sanger
    11  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    124 * All rights reserved.
    135 *
    14  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    159 * research group. For further information please see http://www.wand.net.nz/
    1610 *
    1711 * libtrace is free software; you can redistribute it and/or modify
    18  * it under the terms of the GNU General Public License as published by
    19  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    2014 * (at your option) any later version.
    2115 *
     
    2317 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2418 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    25  * GNU General Public License for more details.
    26  *
    27  * You should have received a copy of the GNU General Public License
    28  * along with libtrace; if not, write to the Free Software
    29  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    30  *
    31  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3224 *
    3325 */
  • lib/format_linux_ring.c

    r000726a ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *          Richard Sanger
    11  *
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    124 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
    137 *
    148 * This code has been developed by the University of Waikato WAND
     
    1610 *
    1711 * libtrace is free software; you can redistribute it and/or modify
    18  * it under the terms of the GNU General Public License as published by
    19  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    2014 * (at your option) any later version.
    2115 *
     
    2317 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2418 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    25  * GNU General Public License for more details.
    26  *
    27  * You should have received a copy of the GNU General Public License
    28  * along with libtrace; if not, write to the Free Software
    29  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    30  *
    31  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3224 *
    3325 */
  • lib/format_pcap.c

    r2e91590 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#include "common.h"
    3527#include "config.h"
  • lib/format_pcapfile.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#include "common.h"
    3527#include "config.h"
  • lib/format_rt.c

    ra984307 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426
    3527#define _GNU_SOURCE
  • lib/format_tsh.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426
    3527#include "config.h"
  • lib/gettimeofday.c

    rda22687 ree6e802  
    11/*
    2  * Defines gettimeofday
    32 *
    4  * Based on timeval.h by Wu Yongwei
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
    55 *
    6  * This library is free software; you can redistribute it and/or
    7  * modify it under the terms of the GNU Lesser General Public
    8  * License as published by the Free Software Foundation; either
    9  * version 2.1 of the License, or (at your option) any later version.
     6 * This file is part of libtrace.
    107 *
    11  * This library is distributed in the hope that it will be useful,
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
    1217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    14  * Lesser General Public License for more details.
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
    1520 *
    16  * You should have received a copy of the GNU Lesser General Public
    17  * License along with this library; if not, write to the Free Software
    18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
    1925 */
    20 #include "config.h"
    21 
    22 /* AFAIK windows doesn't run on any Big Endian machines... If it does
    23  * winlibtrace will break! - MattB
    24  */
    25 #ifdef _MSC_VER
    26 #pragma warning(disable:4996)
    27 #endif
    28 
    29 #ifndef WIN32_LEAN_AND_MEAN
    30 #define WIN32_LEAN_AND_MEAN
    31 #endif
    32 
    33 #include <winsock2.h>
    3426#include <time.h>
    3527
  • lib/hash_toeplitz.c

    r59ef093 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128/**
    229 * A implementation of Microsofts RSS standard for hashing.
  • lib/hash_toeplitz.h

    r5ba34eb ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
    127/**
    228 * toeplitz hashing - see microsoft rss code
  • lib/libtrace_arphrd.h

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id$
    3124 *
    3225 */
    33 
    3426#ifndef LIBTRACE_ARPHRD_H_
    3527#define LIBTRACE_ARPHRD_H_
  • lib/libtrace_int.h

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
    31  *
    32  */
    33 
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    3426/** @file
    3527 *
  • lib/libtrace_parallel.h

    r389dd77 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Richard Sanger
    8  *          Shane Alcock
    9  *
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    104 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
    117 *
    128 * This code has been developed by the University of Waikato WAND
     
    1410 *
    1511 * libtrace is free software; you can redistribute it and/or modify
    16  * it under the terms of the GNU General Public License as published by
    17  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1814 * (at your option) any later version.
    1915 *
     
    2117 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2218 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    23  * GNU General Public License for more details.
    24  *
    25  * You should have received a copy of the GNU General Public License
    26  * along with libtrace; if not, write to the Free Software
    27  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    28  *
    29  * $Id$
    30  *
    31  */
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
    3227
    3328/** @file
  • lib/link_wireless.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Scott Raynel
    8  *          Perry Lorier
    9  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    104 * All rights reserved.
    115 *
    12  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    139 * research group. For further information please see http://www.wand.net.nz/
    1410 *
    1511 * libtrace is free software; you can redistribute it and/or modify
    16  * it under the terms of the GNU General Public License as published by
    17  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1814 * (at your option) any later version.
    1915 *
     
    2117 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2218 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    23  * GNU General Public License for more details.
    24  *
    25  * You should have received a copy of the GNU General Public License
    26  * along with libtrace; if not, write to the Free Software
    27  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    28  *
    29  * $Id$
    30  *
    31  */
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
    3227
    3328#include "libtrace_int.h"
  • lib/linktypes.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#include "config.h"
    3527#include "libtrace.h"
  • lib/lt_bswap.h

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id: libtrace_int.h 1848 2013-08-02 06:19:52Z rjs51 $
    3124 *
    3225 */
    33 
    3426#include <arpa/inet.h>
    3527#include <inttypes.h>
  • lib/lt_inttypes.h

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id$
    3124 *
    3225 */
    33 
    3426/** @file
    3527 *
  • lib/malloc.c

    re5c2bc4 ree6e802  
    1 #ifdef HAVE_CONFIG_H
    2 #  include <config.h>
    3 #endif
    4 #undef malloc
    5 
    6 #include <sys/types.h>
    7 #include <stdlib.h>
    8 
    9 void *malloc ();
    10 
    11 /* Allocate an N-byte block of memory from the heap.
    12  * If N is zero, allocate a 1-byte block */
    13 
    14 void *
    15 rpl_malloc(size_t n)
    16 {
    17         if (n == 0)
    18                 n = 1;
    19         return malloc(n);
    20 }
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
  • lib/pcap_dump_flush.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id$
    3124 *
    3225 */
    33 
    3426#ifdef HAVE_PCAP
    3527#include "config.h"
  • lib/pcap_next_ex.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id$
    3124 *
    3225 */
    33 
    3426
    3527#ifdef HAVE_PCAP
  • lib/pcap_open_dead.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id$
    3124 *
    3225 */
    33 
    3426
    3527#ifdef HAVE_PCAP
  • lib/protocols.h

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2520 *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2923 *
    30  * $Id$
    3124 *
    3225 */
    33 
    3426
    3527/** @file
  • lib/protocols_application.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton, New Zealand.
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
    55 *
    6  * Authors: Perry Lorier
    7  *
    8  * All rights reserved.
     6 * This file is part of libtrace.
    97 *
    108 * This code has been developed by the University of Waikato WAND
     
    1210 *
    1311 * libtrace is free software; you can redistribute it and/or modify
    14  * it under the terms of the GNU General Public License as published by
    15  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1614 * (at your option) any later version.
    1715 *
     
    1917 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    21  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2220 *
    23  * You should have received a copy of the GNU General Public License
    24  * along with libtrace; if not, write to the Free Software
    25  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
    2625 */
     26
    2727#include <stdlib.h>
    2828#include "libtrace.h"
  • lib/protocols_l2.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#include "libtrace_int.h"
    3527#include "libtrace.h"
  • lib/protocols_l3.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426
    3527#include "libtrace_int.h"
  • lib/protocols_ospf.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#include "libtrace_int.h"
    3527#include "libtrace.h"
  • lib/protocols_pktmeta.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#include "libtrace_int.h"
    3527#include "libtrace.h"
  • lib/protocols_transport.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426
    3527#include "libtrace_int.h"
  • lib/pthread_spinlock.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
    65 *
    7  * Authors: Richard Sanger
    8  *
    9  * All rights reserved.
     6 * This file is part of libtrace.
    107 *
    118 * This code has been developed by the University of Waikato WAND
     
    1310 *
    1411 * libtrace is free software; you can redistribute it and/or modify
    15  * it under the terms of the GNU General Public License as published by
    16  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1714 * (at your option) any later version.
    1815 *
     
    2017 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2118 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    22  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2320 *
    24  * You should have received a copy of the GNU General Public License
    25  * along with libtrace; if not, write to the Free Software
    26  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2723 *
    28  * $Id$
    2924 *
    3025 */
  • lib/pthread_spinlock.h

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
    65 *
    7  * Authors: Richard Sanger
    8  *
    9  * All rights reserved.
     6 * This file is part of libtrace.
    107 *
    118 * This code has been developed by the University of Waikato WAND
     
    1310 *
    1411 * libtrace is free software; you can redistribute it and/or modify
    15  * it under the terms of the GNU General Public License as published by
    16  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1714 * (at your option) any later version.
    1815 *
     
    2017 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2118 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    22  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2320 *
    24  * You should have received a copy of the GNU General Public License
    25  * along with libtrace; if not, write to the Free Software
    26  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2723 *
    28  * $Id$
    2924 *
    3025 */
    31 
    32 /** Apple does not implement pthread_spinlock_t so we'll do it for them */
    33 
    3426#ifndef LIBTRACE_PTHREAD_SPINLOCK_H
    3527#define LIBTRACE_PTHREAD_SPINLOCK_H
  • lib/realloc.c

    re5c2bc4 ree6e802  
    1 #ifdef HAVE_CONFIG_H
    2 #  include <config.h>
    3 #endif
    4 #undef realloc
    5 
    6 #include <sys/types.h>
    7 #include <stdlib.h>
    8 
    9 void *realloc ();
    10 
    11 
    12 /* If N is zero, allocate a 1-byte block */
    13 void *
    14 rpl_realloc(void *ptr,size_t n)
    15 {
    16        
    17         if (n == 0)
    18                 n = 1;
    19         if (ptr == 0)
    20                 return malloc(n);
    21         return realloc(ptr,n);
    22 }
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
  • lib/rt_protocol.h

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *         
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
    125 *
    13  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    149 * research group. For further information please see http://www.wand.net.nz/
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
    3124 *
    3225 */
    33 
    3426#ifndef _RT_PROTOCOL_H
    3527#define _RT_PROTOCOL_H
  • lib/strndup.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    32 *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Matthew Luckie
    8  *         
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    94 * All rights reserved.
    105 *
    11  * This code has been developed by the University of Waikato WAND
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
    129 * research group. For further information please see http://www.wand.net.nz/
    1310 *
    1411 * libtrace is free software; you can redistribute it and/or modify
    15  * it under the terms of the GNU General Public License as published by
    16  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1714 * (at your option) any later version.
    1815 *
     
    2017 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2118 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    22  * GNU General Public License for more details.
     19 * GNU Lesser General Public License for more details.
    2320 *
    24  * You should have received a copy of the GNU General Public License
    25  * along with libtrace; if not, write to the Free Software
    26  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2723 *
    28  * $Id$
    2924 *
    3025 */
    31 
    32 #include "config.h"
    33 
    3426#ifndef HAVE_STRNDUP
    3527
  • lib/trace.c

    ra984307 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
    7  * Authors: Daniel Lawson
    8  *          Perry Lorier
    9  *          Shane Alcock
    10  *
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    114 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
    127 *
    138 * This code has been developed by the University of Waikato WAND
     
    1510 *
    1611 * libtrace is free software; you can redistribute it and/or modify
    17  * it under the terms of the GNU General Public License as published by
    18  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1914 * (at your option) any later version.
    2015 *
     
    2217 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2318 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    24  * GNU General Public License for more details.
    25  *
    26  * You should have received a copy of the GNU General Public License
    27  * along with libtrace; if not, write to the Free Software
    28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    29  *
    30  * $Id$
    31  *
    32  */
    33 
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    3426
    3527#define _GNU_SOURCE
  • lib/trace_parallel.c

    rd8b05b7 ree6e802  
    11/*
    2  * This file is part of libtrace
    3  *
    4  * Copyright (c) 2007-2015 The University of Waikato, Hamilton,
    5  * New Zealand.
    6  *
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
    74 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
    87 *
    98 * This code has been developed by the University of Waikato WAND
     
    1110 *
    1211 * libtrace is free software; you can redistribute it and/or modify
    13  * it under the terms of the GNU General Public License as published by
    14  * the Free Software Foundation; either version 2 of the License, or
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1514 * (at your option) any later version.
    1615 *
     
    1817 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1918 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    20  * GNU General Public License for more details.
    21  *
    22  * You should have received a copy of the GNU General Public License
    23  * along with libtrace; if not, write to the Free Software
    24  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    25  *
    26  * $Id$
    27  *
    28  */
    29 
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    3026
    3127#define _GNU_SOURCE
  • libpacketdump/bitbuffer.c

    r0989e3e ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include "bitbuffer.h"
    227#include <inttypes.h>
  • libpacketdump/bitbuffer.h

    r0989e3e ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include "grammar.h"
    227#include <stdio.h>
  • libpacketdump/eth_0.c

    r6ebfd24 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <sys/socket.h>
  • libpacketdump/eth_2048.c

    r387d299 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <sys/socket.h>
  • libpacketdump/eth_2054.c

    rf7bcbfb ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126/* ARP */
    227#include <stdio.h>
  • libpacketdump/eth_33024.c

    rc7062df ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <stdio.h>
    227#include "libpacketdump.h"
  • libpacketdump/eth_34525.c

    r2ec8434 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <sys/socket.h>
  • libpacketdump/eth_34887.c

    rc7062df ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <stdio.h>
    227#include "libpacketdump.h"
  • libpacketdump/eth_34916.c

    ref07202 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126
    227#include "libtrace_int.h"
  • libpacketdump/eth_34958.c

    rc7062df ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <stdio.h>
    227#include "libpacketdump.h"
  • libpacketdump/grammar.h

    r11a7f9c ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#ifndef _PARSER_H
    227#define _PARSER_H
  • libpacketdump/ip_0.c

    r29b93a5 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <stdio.h>
    227#include <inttypes.h>
  • libpacketdump/ip_1.c

    r39c3ce7 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <stdio.h>
    227#include <inttypes.h>
  • libpacketdump/ip_132.c

    rc7062df ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <stdio.h>
    227#include <inttypes.h>
  • libpacketdump/ip_17.c

    r387d299 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <stdio.h>
    227#include <inttypes.h>
  • libpacketdump/ip_33.c

    r387d299 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126/* DCCP */
    227#include <stdio.h>
  • libpacketdump/ip_43.c

    r29b93a5 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <stdio.h>
    227#include <inttypes.h>
  • libpacketdump/ip_44.c

    r31413f1 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <netinet/in.h>
  • libpacketdump/ip_47.c

    rc7062df ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <netinet/in.h>
  • libpacketdump/ip_6.c

    r387d299 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <stdio.h>
    227#include <inttypes.h>
  • libpacketdump/ip_60.c

    r29b93a5 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <stdio.h>
    227#include <inttypes.h>
  • libpacketdump/ip_89.c

    r387d299 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <stdio.h>
    227#include <inttypes.h>
  • libpacketdump/libpacketdump.h

    r387d299 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#ifndef __LIBPACKETDUMP_H__
    227#define __LIBPACKETDUMP_H__
  • libpacketdump/link_0.c

    rc7062df ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <netinet/in.h>
  • libpacketdump/link_1.c

    rac7037b ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126/* Decoder for CHDLC frames */
    227
  • libpacketdump/link_10.c

    rc7062df ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <netinet/in.h>
  • libpacketdump/link_11.c

    rc7062df ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <netinet/in.h>
  • libpacketdump/link_15.c

    r2b0eae9 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126/*
    227 * libpacketdump decoder for Radiotap
  • libpacketdump/link_2.c

    rc7062df ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <netinet/in.h>
  • libpacketdump/link_4.c

    r8780774 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126/*
    227 * 802.11 libpacketdump decoder
  • libpacketdump/link_6.c

    r528eb6e ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126/*
    227 * Linux SLL Decoder
  • libpacketdump/link_9.c

    rac7037b ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126/* Decoder for PPP with HDLC frames */
    227
  • libpacketdump/ospf2_1.c

    r1453435 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <sys/socket.h>
  • libpacketdump/ospf2_1000.c

    re224862 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <sys/socket.h>
  • libpacketdump/ospf2_1001.c

    re224862 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <sys/socket.h>
  • libpacketdump/ospf2_1002.c

    re224862 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <sys/socket.h>
  • libpacketdump/ospf2_1003.c

    re224862 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <sys/socket.h>
  • libpacketdump/ospf2_1004.c

    re224862 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <sys/socket.h>
  • libpacketdump/ospf2_1005.c

    re224862 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <sys/socket.h>
  • libpacketdump/ospf2_4.c

    re224862 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <sys/socket.h>
  • libpacketdump/ospf2_5.c

    re224862 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
    126#include <sys/types.h>
    227#include <sys/socket.h>
  • tools/traceanon/Anon.cc

    rebb54a5 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include "config.h"
    229#include <stdlib.h>
  • tools/traceanon/Anon.h

    rebb54a5 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#ifndef WDCAP_ANON_H
    229#define WDCAP_ANON_H
  • tools/traceanon/traceanon.cc

    rc968cfc ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include "config.h"
    229#include "Anon.h"
  • tools/tracediff/tracediff.c

    rd7e8e67 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128/* Tool that compares two traces and outputs any packets that do not match
    229 * between the two
  • tools/traceends/traceends.cc

    rc0ccccd ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#define __STDC_FORMAT_MACROS
    229
  • tools/tracemerge/tracemerge.c

    r17f954f ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <libtrace.h>
    229#include <stdio.h>
  • tools/tracepktdump/tracepktdump.cc

    r2336744 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <libtrace.h>
    229#include <err.h>
  • tools/tracereplay/tracereplay.c

    r19526f3 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128
    229/*
  • tools/tracereport/contain.c

    ra8f2692 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128/* Updated: 2006-04-07 to deal with duplicate inserts */
    229#include <stdio.h>
  • tools/tracereport/contain.h

    rc3e6e47 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#ifndef _CONTAIN_
    229#define _CONTAIN_
  • tools/tracereport/dir_report.c

    r5478d3d ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <netdb.h>
    229#include <inttypes.h>
  • tools/tracereport/drops_report.c

    r5478d3d ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <inttypes.h>
    229#include <stdio.h>
  • tools/tracereport/ecn_report.c

    rdda3564 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <netdb.h>
    229#include <inttypes.h>
  • tools/tracereport/error_report.c

    rfbc4342 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <netdb.h>
    229#include <inttypes.h>
  • tools/tracereport/flow_report.c

    rddab7f9 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <netdb.h>
    229#include <inttypes.h>
  • tools/tracereport/misc_report.c

    r548c76b ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <inttypes.h>
    229#include <stdio.h>
  • tools/tracereport/nlp_report.c

    rfbc4342 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <netdb.h>
    229#include <inttypes.h>
  • tools/tracereport/output.c

    re3b0188 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#define _GNU_SOURCE
    229#include <stdio.h>
  • tools/tracereport/port_report.c

    r466aed6 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <netdb.h>
    229#include <inttypes.h>
  • tools/tracereport/protocol_report.c

    rf3576f5 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <netdb.h>
    229#include <inttypes.h>
  • tools/tracereport/report.h

    r4423dc7 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#ifndef REPORT_H
    229#define REPORT_H
  • tools/tracereport/synopt_report.c

    ra3041a4 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <netdb.h>
    229#include <inttypes.h>
  • tools/tracereport/tcpopt_report.c

    r466aed6 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public License
     22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     23 *
     24 *
     25 */
     26
     27
    128#include <netdb.h>
    229#include <inttypes.h>
  • tools/tracereport/tcpsegment_report.c

    rd99c759 ree6e802  
     1/*
     2 *
     3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand.
     4 * All rights reserved.
     5 *
     6 * This file is part of libtrace.
     7 *
     8 * This code has been developed by the University of Waikato WAND
     9 * research group. For further information please see http://www.wand.net.nz/
     10 *
     11 * libtrace is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU Lesser General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * libtrace is distributed in the hope that it will be useful,
     17