- Timestamp:
- 08/29/16 16:09:01 (4 years ago)
- 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
- Location:
- lib
- Files:
-
- 76 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 1 28 #define OPTIMISE 1 2 29 #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 1 28 #include <pcap.h> 2 29 #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 1 28 /* 2 29 * This file is not linked into libtrace in the normal way you would expect. -
lib/byteswap.c
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id: format_helper.c 1830 2013-05-14 05:17:57Z salcock $31 24 * 32 25 */ 33 34 26 #include "lt_bswap.h" 35 27 -
lib/checksum.c
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id$31 24 * 32 25 */ 26 27 33 28 #include "checksum.h" 34 29 -
lib/checksum.h
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id$31 24 * 32 25 */ 33 34 26 #ifndef LIBTRACE_CHECKSUM_H_ 35 27 #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 1 28 #include "libtrace.h" 2 29 #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 1 28 #include "libtrace.h" 2 29 #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 1 28 #include "libtrace.h" 2 29 #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 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id$31 24 * 32 25 */ 33 34 26 /** @file 35 27 * -
lib/daglegacy.h
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id$31 24 * 32 25 */ 33 34 26 #ifndef DAG_LEGACY_H 35 27 #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 */ 1 26 2 27 #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 */ 1 26 #ifndef LIBTRACE_BUCKET_H_ 2 27 #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 */ 1 26 #include "deque.h" 2 27 -
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 */ 1 26 #include <pthread.h> 2 27 #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 */ 1 26 #include "linked_list.h" 2 27 -
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 */ 1 26 #include "libtrace.h" 2 27 -
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 */ 1 26 #include "message_queue.h" 2 27 -
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 */ 1 26 #include <pthread.h> 2 27 #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 */ 1 26 #include "config.h" 2 27 #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 */ 1 26 #ifndef LIBTRACE_OBJECT_CACHE_H 2 27 #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 */ 1 26 /** 2 27 * 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 */ 1 26 #include <pthread.h> 2 27 #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 */ 1 26 #include "sliding_window.h" 2 27 -
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 */ 1 26 #include <stdint.h> 2 27 #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 */ 1 26 #include "vector.h" 2 27 -
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 */ 1 26 #include <pthread.h> 2 27 /* Need libtrace.h for DLLEXPORT defines */ -
lib/erftypes.h
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id$31 24 * 32 25 */ 33 34 26 #ifndef _ERFTYPES_H_ 35 27 #define _ERFTYPES_H_ -
lib/format_atmhdr.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #define _GNU_SOURCE 35 27 -
lib/format_bpf.c
ra984307 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #include "libtrace.h" 35 27 #include "libtrace_int.h" -
lib/format_dag24.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #define _GNU_SOURCE 35 27 -
lib/format_dag25.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #define _GNU_SOURCE 35 27 -
lib/format_dpdk.c
ra984307 ree6e802 1 2 1 /* 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. 10 4 * All rights reserved. 5 * 6 * This file is part of libtrace. 11 7 * 12 8 * This code has been developed by the University of Waikato WAND … … 14 10 * 15 11 * libtrace is free software; you can redistribute it and/or modify 16 * it under the terms of the GNU General Public License as published by17 * the Free Software Foundation; either version 2of the License, or12 * 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 18 14 * (at your option) any later version. 19 15 * … … 21 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 18 * 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 */ 34 26 * Kit capture format. 35 27 * -
lib/format_duck.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #include "config.h" 35 27 #include "libtrace.h" -
lib/format_erf.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 35 27 #define _GNU_SOURCE -
lib/format_erf.h
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id$31 24 * 32 25 */ 33 34 26 #ifndef FORMAT_ERF_H 35 27 #define FORMAT_ERF_H -
lib/format_helper.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #include "config.h" 35 27 #include <sys/types.h> -
lib/format_helper.h
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id$31 24 * 32 25 */ 33 34 26 #ifndef FORMAT_HELPER_H 35 27 #define FORMAT_HELPER_H -
lib/format_legacy.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #define _GNU_SOURCE 35 27 -
lib/format_linux_common.c
rd8b05b7 ree6e802 1 1 /* 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. 12 4 * All rights reserved. 5 * 6 * This file is part of libtrace. 13 7 * 14 8 * This code has been developed by the University of Waikato WAND … … 16 10 * 17 11 * libtrace is free software; you can redistribute it and/or modify 18 * it under the terms of the GNU General Public License as published by19 * the Free Software Foundation; either version 2of the License, or12 * 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 20 14 * (at your option) any later version. 21 15 * … … 23 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 18 * 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 * 32 24 * 33 25 */ -
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 1 28 /* Various definitions required for the linux format. They were moved here, 2 29 * because format_linux.c had a lot of header information before the actual -
lib/format_linux_int.c
r6d1c2c0 ree6e802 1 1 /* 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. 12 4 * All rights reserved. 13 5 * 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 15 9 * research group. For further information please see http://www.wand.net.nz/ 16 10 * 17 11 * libtrace is free software; you can redistribute it and/or modify 18 * it under the terms of the GNU General Public License as published by19 * the Free Software Foundation; either version 2of the License, or12 * 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 20 14 * (at your option) any later version. 21 15 * … … 23 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 18 * 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 * 32 24 * 33 25 */ -
lib/format_linux_ring.c
r000726a ree6e802 1 1 /* 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. 12 4 * All rights reserved. 5 * 6 * This file is part of libtrace. 13 7 * 14 8 * This code has been developed by the University of Waikato WAND … … 16 10 * 17 11 * libtrace is free software; you can redistribute it and/or modify 18 * it under the terms of the GNU General Public License as published by19 * the Free Software Foundation; either version 2of the License, or12 * 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 20 14 * (at your option) any later version. 21 15 * … … 23 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 18 * 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 * 32 24 * 33 25 */ -
lib/format_pcap.c
r2e91590 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #include "common.h" 35 27 #include "config.h" -
lib/format_pcapfile.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #include "common.h" 35 27 #include "config.h" -
lib/format_rt.c
ra984307 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 35 27 #define _GNU_SOURCE -
lib/format_tsh.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 35 27 #include "config.h" -
lib/gettimeofday.c
rda22687 ree6e802 1 1 /* 2 * Defines gettimeofday3 2 * 4 * Based on timeval.h by Wu Yongwei 3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand. 4 * All rights reserved. 5 5 * 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. 10 7 * 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, 12 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU14 * 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. 15 20 * 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 * 19 25 */ 20 #include "config.h"21 22 /* AFAIK windows doesn't run on any Big Endian machines... If it does23 * winlibtrace will break! - MattB24 */25 #ifdef _MSC_VER26 #pragma warning(disable:4996)27 #endif28 29 #ifndef WIN32_LEAN_AND_MEAN30 #define WIN32_LEAN_AND_MEAN31 #endif32 33 #include <winsock2.h>34 26 #include <time.h> 35 27 -
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 1 28 /** 2 29 * 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 1 27 /** 2 28 * toeplitz hashing - see microsoft rss code -
lib/libtrace_arphrd.h
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id$31 24 * 32 25 */ 33 34 26 #ifndef LIBTRACE_ARPHRD_H_ 35 27 #define LIBTRACE_ARPHRD_H_ -
lib/libtrace_int.h
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 */ 34 26 /** @file 35 27 * -
lib/libtrace_parallel.h
r389dd77 ree6e802 1 1 /* 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. 10 4 * All rights reserved. 5 * 6 * This file is part of libtrace. 11 7 * 12 8 * This code has been developed by the University of Waikato WAND … … 14 10 * 15 11 * libtrace is free software; you can redistribute it and/or modify 16 * it under the terms of the GNU General Public License as published by17 * the Free Software Foundation; either version 2of the License, or12 * 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 18 14 * (at your option) any later version. 19 15 * … … 21 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 18 * 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 32 27 33 28 /** @file -
lib/link_wireless.c
rd8b05b7 ree6e802 1 1 /* 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. 10 4 * All rights reserved. 11 5 * 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 13 9 * research group. For further information please see http://www.wand.net.nz/ 14 10 * 15 11 * libtrace is free software; you can redistribute it and/or modify 16 * it under the terms of the GNU General Public License as published by17 * the Free Software Foundation; either version 2of the License, or12 * 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 18 14 * (at your option) any later version. 19 15 * … … 21 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 18 * 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 32 27 33 28 #include "libtrace_int.h" -
lib/linktypes.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #include "config.h" 35 27 #include "libtrace.h" -
lib/lt_bswap.h
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id: libtrace_int.h 1848 2013-08-02 06:19:52Z rjs51 $31 24 * 32 25 */ 33 34 26 #include <arpa/inet.h> 35 27 #include <inttypes.h> -
lib/lt_inttypes.h
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id$31 24 * 32 25 */ 33 34 26 /** @file 35 27 * -
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 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id$31 24 * 32 25 */ 33 34 26 #ifdef HAVE_PCAP 35 27 #include "config.h" -
lib/pcap_next_ex.c
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id$31 24 * 32 25 */ 33 34 26 35 27 #ifdef HAVE_PCAP -
lib/pcap_open_dead.c
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id$31 24 * 32 25 */ 33 34 26 35 27 #ifdef HAVE_PCAP -
lib/protocols.h
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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. 25 20 * 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/>. 29 23 * 30 * $Id$31 24 * 32 25 */ 33 34 26 35 27 /** @file -
lib/protocols_application.c
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 5 5 * 6 * Authors: Perry Lorier 7 * 8 * All rights reserved. 6 * This file is part of libtrace. 9 7 * 10 8 * This code has been developed by the University of Waikato WAND … … 12 10 * 13 11 * libtrace is free software; you can redistribute it and/or modify 14 * it under the terms of the GNU General Public License as published by15 * the Free Software Foundation; either version 2of the License, or12 * 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 16 14 * (at your option) any later version. 17 15 * … … 19 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 18 * 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. 22 20 * 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 * 26 25 */ 26 27 27 #include <stdlib.h> 28 28 #include "libtrace.h" -
lib/protocols_l2.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #include "libtrace_int.h" 35 27 #include "libtrace.h" -
lib/protocols_l3.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 35 27 #include "libtrace_int.h" -
lib/protocols_ospf.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #include "libtrace_int.h" 35 27 #include "libtrace.h" -
lib/protocols_pktmeta.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #include "libtrace_int.h" 35 27 #include "libtrace.h" -
lib/protocols_transport.c
rd8b05b7 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 35 27 #include "libtrace_int.h" -
lib/pthread_spinlock.c
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 4 * Copyright (c) 2007-201 5 The University of Waikato, Hamilton,5 * New Zealand.3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand. 4 * All rights reserved. 6 5 * 7 * Authors: Richard Sanger 8 * 9 * All rights reserved. 6 * This file is part of libtrace. 10 7 * 11 8 * This code has been developed by the University of Waikato WAND … … 13 10 * 14 11 * libtrace is free software; you can redistribute it and/or modify 15 * it under the terms of the GNU General Public License as published by16 * the Free Software Foundation; either version 2of the License, or12 * 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 17 14 * (at your option) any later version. 18 15 * … … 20 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 18 * 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. 23 20 * 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/>. 27 23 * 28 * $Id$29 24 * 30 25 */ -
lib/pthread_spinlock.h
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 4 * Copyright (c) 2007-201 5 The University of Waikato, Hamilton,5 * New Zealand.3 * Copyright (c) 2007-2016 The University of Waikato, Hamilton, New Zealand. 4 * All rights reserved. 6 5 * 7 * Authors: Richard Sanger 8 * 9 * All rights reserved. 6 * This file is part of libtrace. 10 7 * 11 8 * This code has been developed by the University of Waikato WAND … … 13 10 * 14 11 * libtrace is free software; you can redistribute it and/or modify 15 * it under the terms of the GNU General Public License as published by16 * the Free Software Foundation; either version 2of the License, or12 * 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 17 14 * (at your option) any later version. 18 15 * … … 20 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 18 * 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. 23 20 * 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/>. 27 23 * 28 * $Id$29 24 * 30 25 */ 31 32 /** Apple does not implement pthread_spinlock_t so we'll do it for them */33 34 26 #ifndef LIBTRACE_PTHREAD_SPINLOCK_H 35 27 #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 1 1 /* 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. 11 4 * All rights reserved. 12 5 * 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 14 9 * research group. For further information please see http://www.wand.net.nz/ 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 * 31 24 * 32 25 */ 33 34 26 #ifndef _RT_PROTOCOL_H 35 27 #define _RT_PROTOCOL_H -
lib/strndup.c
rd8b05b7 ree6e802 1 1 /* 2 * This file is part of libtrace3 2 * 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. 9 4 * All rights reserved. 10 5 * 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 12 9 * research group. For further information please see http://www.wand.net.nz/ 13 10 * 14 11 * libtrace is free software; you can redistribute it and/or modify 15 * it under the terms of the GNU General Public License as published by16 * the Free Software Foundation; either version 2of the License, or12 * 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 17 14 * (at your option) any later version. 18 15 * … … 20 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 18 * 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. 23 20 * 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/>. 27 23 * 28 * $Id$29 24 * 30 25 */ 31 32 #include "config.h"33 34 26 #ifndef HAVE_STRNDUP 35 27 -
lib/trace.c
ra984307 ree6e802 1 1 /* 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. 11 4 * All rights reserved. 5 * 6 * This file is part of libtrace. 12 7 * 13 8 * This code has been developed by the University of Waikato WAND … … 15 10 * 16 11 * libtrace is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by18 * the Free Software Foundation; either version 2of the License, or12 * 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 19 14 * (at your option) any later version. 20 15 * … … 22 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 18 * 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 */ 34 26 35 27 #define _GNU_SOURCE -
lib/trace_parallel.c
rd8b05b7 ree6e802 1 1 /* 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. 7 4 * All rights reserved. 5 * 6 * This file is part of libtrace. 8 7 * 9 8 * This code has been developed by the University of Waikato WAND … … 11 10 * 12 11 * libtrace is free software; you can redistribute it and/or modify 13 * it under the terms of the GNU General Public License as published by14 * the Free Software Foundation; either version 2of the License, or12 * 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 15 14 * (at your option) any later version. 16 15 * … … 18 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 18 * 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 */ 30 26 31 27 #define _GNU_SOURCE
Note: See TracChangeset
for help on using the changeset viewer.