NET: sungem, use spin_trylock_irqsave
[deliverable/linux.git] / include / linux / tc_act / tc_pedit.h
CommitLineData
1da177e4
LT
1#ifndef __LINUX_TC_PED_H
2#define __LINUX_TC_PED_H
3
5dbbf3bc 4#include <linux/types.h>
1da177e4
LT
5#include <linux/pkt_cls.h>
6
7#define TCA_ACT_PEDIT 7
8
9enum
10{
11 TCA_PEDIT_UNSPEC,
12 TCA_PEDIT_TM,
13 TCA_PEDIT_PARMS,
14 __TCA_PEDIT_MAX
15};
16#define TCA_PEDIT_MAX (__TCA_PEDIT_MAX - 1)
17
18struct tc_pedit_key
19{
20 __u32 mask; /* AND */
21 __u32 val; /*XOR */
22 __u32 off; /*offset */
23 __u32 at;
24 __u32 offmask;
25 __u32 shift;
26};
27
28struct tc_pedit_sel
29{
30 tc_gen;
31 unsigned char nkeys;
32 unsigned char flags;
33 struct tc_pedit_key keys[0];
34};
35#define tc_pedit tc_pedit_sel
36
37#endif
This page took 0.715869 seconds and 5 git commands to generate.