em_text.c (f43dc23d5ea91fca257be02138a255f02d98e806) | em_text.c (cc7ec456f82da7f89a5b376e613b3ac4311b3e9a) |
---|---|
1/* 2 * net/sched/em_text.c Textsearch ematch 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 7 * 2 of the License, or (at your option) any later version. 8 * --- 5 unchanged lines hidden (view full) --- 14#include <linux/types.h> 15#include <linux/kernel.h> 16#include <linux/string.h> 17#include <linux/skbuff.h> 18#include <linux/textsearch.h> 19#include <linux/tc_ematch/tc_em_text.h> 20#include <net/pkt_cls.h> 21 | 1/* 2 * net/sched/em_text.c Textsearch ematch 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 7 * 2 of the License, or (at your option) any later version. 8 * --- 5 unchanged lines hidden (view full) --- 14#include <linux/types.h> 15#include <linux/kernel.h> 16#include <linux/string.h> 17#include <linux/skbuff.h> 18#include <linux/textsearch.h> 19#include <linux/tc_ematch/tc_em_text.h> 20#include <net/pkt_cls.h> 21 |
22struct text_match 23{ | 22struct text_match { |
24 u16 from_offset; 25 u16 to_offset; 26 u8 from_layer; 27 u8 to_layer; 28 struct ts_config *config; 29}; 30 31#define EM_TEXT_PRIV(m) ((struct text_match *) (m)->data) --- 128 unchanged lines hidden --- | 23 u16 from_offset; 24 u16 to_offset; 25 u8 from_layer; 26 u8 to_layer; 27 struct ts_config *config; 28}; 29 30#define EM_TEXT_PRIV(m) ((struct text_match *) (m)->data) --- 128 unchanged lines hidden --- |