summaryrefslogtreecommitdiff
path: root/gssm/src/lib/rrm.h
blob: 52be6a5e0f6553f5f78771d9e93fd36fd06c678a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// $Id: rrm.h,v 1.1.1.1 2007-06-01 04:26:57 jl Exp $

#pragma once

typedef struct {
	unsigned char	b0:1,
			b1:1,
			len:6;
} l2_pseudo_length_s;

typedef union {
	unsigned char		v;
	l2_pseudo_length_s	b;
} l2_pseudo_length_t;


typedef struct {
	unsigned char		pd:4,
				si:4;
	unsigned char		mt;
	unsigned char		ie[0];
} l3_h_t;
personal git repositories of Harald Welte. Your mileage may vary