~ubuntu-branches/ubuntu/karmic/linux-ports/karmic

« back to all changes in this revision

Viewing changes to include/linux/netfilter/xt_string.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich, Luke Yelavich, Michael Casadevall, Tim Gardner, Upstream Kernel Changes
  • Date: 2009-05-06 18:18:55 UTC
  • Revision ID: james.westby@ubuntu.com-20090506181855-t00baeevpnvd9o7a
Tags: 2.6.30-1.1
[ Luke Yelavich ]
* initial release for karmic
* SAUCE: rebase-ports - adjust for the karmic ports kernel
* SAUCE: rebase-ports - also remove abi dirs/files on rebase
* Update configs after rebase against mainline Jaunty tree
* [Config] Disable CONFIG_BLK_DEV_UB and CONFIG_USB_LIBUSUAL as per
  mainline jaunty
* forward-port patch to drbd for powerpc compilation
* [Config] disable CONFIG_LENOVO_SL_LAPTOP for i386 due to FTBFS
* add .o files found in arch/powerpc/lib to all powerpc kernel header
  packages
* [Config] enable CONFIG_DRM_I915_KMS for i386 as per karmic mainline

[ Michael Casadevall ]

* Disable kgdb on sparc64
* [sparc] [Config] Disable GPIO LEDS
* [ia64] Rename -ia64-generic to -ia64 in line with other architectures
* Correct kernel image path for sparc builds
* [hppa] Fix HPPA config files to build modules for all udebian

Rebase on top of karmic mainline 2.6.30-1.1

[ Tim Gardner ]

* [Config] armel: disable staging drivers, fixes FTBS
* [Config] armel imx51: Disable CONFIG_MTD_NAND_MXC, fixes FTBS

[ Upstream Kernel Changes ]

* mpt2sas: Change reset_type enum to avoid namespace collision.
  Submitted upstream.

* Initial release after rebasing against v2.6.30-rc3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef _XT_STRING_H
2
2
#define _XT_STRING_H
3
3
 
 
4
#include <linux/types.h>
 
5
 
4
6
#define XT_STRING_MAX_PATTERN_SIZE 128
5
7
#define XT_STRING_MAX_ALGO_NAME_SIZE 16
6
8
 
11
13
 
12
14
struct xt_string_info
13
15
{
14
 
        u_int16_t from_offset;
15
 
        u_int16_t to_offset;
 
16
        __u16 from_offset;
 
17
        __u16 to_offset;
16
18
        char      algo[XT_STRING_MAX_ALGO_NAME_SIZE];
17
19
        char      pattern[XT_STRING_MAX_PATTERN_SIZE];
18
 
        u_int8_t  patlen;
 
20
        __u8  patlen;
19
21
        union {
20
22
                struct {
21
 
                        u_int8_t  invert;
 
23
                        __u8  invert;
22
24
                } v0;
23
25
 
24
26
                struct {
25
 
                        u_int8_t  flags;
 
27
                        __u8  flags;
26
28
                } v1;
27
29
        } u;
28
30