em_nbyte.c (f43dc23d5ea91fca257be02138a255f02d98e806) | em_nbyte.c (cc7ec456f82da7f89a5b376e613b3ac4311b3e9a) |
---|---|
1/* 2 * net/sched/em_nbyte.c N-Byte 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 * --- 4 unchanged lines hidden (view full) --- 13#include <linux/module.h> 14#include <linux/types.h> 15#include <linux/kernel.h> 16#include <linux/string.h> 17#include <linux/skbuff.h> 18#include <linux/tc_ematch/tc_em_nbyte.h> 19#include <net/pkt_cls.h> 20 | 1/* 2 * net/sched/em_nbyte.c N-Byte 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 * --- 4 unchanged lines hidden (view full) --- 13#include <linux/module.h> 14#include <linux/types.h> 15#include <linux/kernel.h> 16#include <linux/string.h> 17#include <linux/skbuff.h> 18#include <linux/tc_ematch/tc_em_nbyte.h> 19#include <net/pkt_cls.h> 20 |
21struct nbyte_data 22{ | 21struct nbyte_data { |
23 struct tcf_em_nbyte hdr; 24 char pattern[0]; 25}; 26 27static int em_nbyte_change(struct tcf_proto *tp, void *data, int data_len, 28 struct tcf_ematch *em) 29{ 30 struct tcf_em_nbyte *nbyte = data; --- 51 unchanged lines hidden --- | 22 struct tcf_em_nbyte hdr; 23 char pattern[0]; 24}; 25 26static int em_nbyte_change(struct tcf_proto *tp, void *data, int data_len, 27 struct tcf_ematch *em) 28{ 29 struct tcf_em_nbyte *nbyte = data; --- 51 unchanged lines hidden --- |