[BACK]Return to tc_em_cmp.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / linux / tc_ematch

File: [Development] / linux-2.6-xfs / include / linux / tc_ematch / tc_em_cmp.h (download)

Revision 1.1, Tue Jun 21 15:50:10 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD

Merge up to 2.6.12
Merge of 2.6.x-xfs-melb:linux:22920a by kenmcd.

#ifndef __LINUX_TC_EM_CMP_H
#define __LINUX_TC_EM_CMP_H

#include <linux/pkt_cls.h>

struct tcf_em_cmp
{
	__u32		val;
	__u32		mask;
	__u16		off;
	__u8		align:4;
	__u8		flags:4;
	__u8		layer:4;
	__u8		opnd:4;
};

enum
{
	TCF_EM_ALIGN_U8  = 1,
	TCF_EM_ALIGN_U16 = 2,
	TCF_EM_ALIGN_U32 = 4
};

#define TCF_EM_CMP_TRANS	1

#endif