~ubuntu-branches/ubuntu/oneiric/collectd/oneiric

« back to all changes in this revision

Viewing changes to src/libiptc/ipt_kernel_headers.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Harl
  • Date: 2008-06-17 10:35:51 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080617103551-9d0ym3zejc7agtt3
Tags: 4.4.1-1
* New upstream release.
  - Fixed another issue of the sensors plugin affecting some chip types
    (Closes: #468143).
  - Fixed creation of "vserver" graphs in collection.cgi (Closes: #475120).
  - Fixed a segfault when using libperl 5.10.
  - collectd now ships libiptc itself.
  New plugins:
  - Ascent server statistics: ascent
  - IPMI sensors information: ipmi
  - PowerDNS name server statistics: powerdns
  - incremental parsing of logfiles: tail
  - TeamSpeak2 server statistics: teamspeak2
  - detailed virtual memory statistics: vmem
* Disable "tcpconns" plugin by default (Closes: #478759).
* Reenabled iptables plugin on all architectures (Closes: #473435).
  - Added the plugin to collectd.conf.
  - Added /usr/share/doc/collectd/examples/iptables/.
  - Added build dependency on linux-libc-dev (>= 2.6.25-4) - that version is
    required because of #479899.
* New debconf template translations:
  - gl.po, thanks to Jacobo Tarrio (Closes: #482667).
* Added a work around for #474087 (broken openipmi .pc files) by forcing the
  inclusion of the ipmi plugin and manually specifying the dependencies.
* Updated standards-version to 3.8.0 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * This file was imported from the iptables sources.
 
3
 * Copyright (C) 1999-2008 Netfilter Core Team
 
4
 *
 
5
 * This program is free software; you can redistribute it and/or modify it
 
6
 * under the terms of the GNU General Public License as published by the
 
7
 * Free Software Foundation; only version 2 of the License is applicable.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful, but
 
10
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
 * General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License along
 
15
 * with this program; if not, write to the Free Software Foundation, Inc.,
 
16
 * 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
17
 */
 
18
 
 
19
/* This is the userspace/kernel interface for Generic IP Chains,
 
20
   required for libc6. */
 
21
#ifndef _FWCHAINS_KERNEL_HEADERS_H
 
22
#define _FWCHAINS_KERNEL_HEADERS_H
 
23
 
 
24
#include <limits.h>
 
25
 
 
26
#if defined(__GLIBC__) && __GLIBC__ == 2
 
27
#include <netinet/ip.h>
 
28
#include <netinet/in.h>
 
29
#include <netinet/ip_icmp.h>
 
30
#include <netinet/tcp.h>
 
31
#include <netinet/udp.h>
 
32
#include <net/if.h>
 
33
#include <sys/types.h>
 
34
#else /* libc5 */
 
35
#include <sys/socket.h>
 
36
#include <linux/ip.h>
 
37
#include <linux/in.h>
 
38
#include <linux/if.h>
 
39
#include <linux/icmp.h>
 
40
#include <linux/tcp.h>
 
41
#include <linux/udp.h>
 
42
#include <linux/types.h>
 
43
#include <linux/in6.h>
 
44
#endif
 
45
#endif