diff options
author | guy <guy> | 2006-12-21 19:44:06 +0000 |
---|---|---|
committer | guy <guy> | 2006-12-21 19:44:06 +0000 |
commit | 7589e0abc35ad50e7db4ee90e5d510937d221003 (patch) | |
tree | 80a48067902f53a6d97f2fca526ca7dcadd97ab4 /gencode.h | |
parent | 7bf28e7fd2f3e98e6b32260e8d7b608263ec720b (diff) |
From Florent Drouin: add support for filtering on MTP2 frame types.
Diffstat (limited to 'gencode.h')
-rw-r--r-- | gencode.h | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -18,7 +18,7 @@ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * @(#) $Header: /tcpdump/master/libpcap/gencode.h,v 1.66 2005-09-05 09:07:00 guy Exp $ (LBL) + * @(#) $Header: /tcpdump/master/libpcap/gencode.h,v 1.67 2006-12-21 19:44:06 guy Exp $ (LBL) */ /* @@ -173,11 +173,16 @@ end-to-end circuits, ILMI circuits or connection signalling circuit. */ -/*MTP3 field types */ -#define M_SIO 1 -#define M_OPC 2 -#define M_DPC 3 -#define M_SLS 4 +/* MTP2 types */ +#define M_FISU 22 /* FISU */ +#define M_LSU 23 /* LSU */ +#define M_MSU 24 /* MSU */ + +/* MTP3 field types */ +#define M_SIO 1 +#define M_OPC 2 +#define M_DPC 3 +#define M_SLS 4 struct slist; @@ -296,6 +301,7 @@ struct block *gen_atmfield_code(int atmfield, bpf_int32 jvalue, bpf_u_int32 jtyp struct block *gen_atmtype_abbrev(int type); struct block *gen_atmmulti_abbrev(int type); +struct block *gen_mtp2type_abbrev(int type); struct block *gen_mtp3field_code(int mtp3field, bpf_u_int32 jvalue, bpf_u_int32 jtype, int reverse); struct block *gen_pf_ifname(const char *); |