ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/util.h
(Generate patch)

Comparing gvpe/src/util.h (file contents):
Revision 1.21 by pcg, Sat Dec 1 23:35:31 2007 UTC vs.
Revision 1.22 by pcg, Sun Dec 2 00:09:36 2007 UTC

60 60
61extern void id2mac (unsigned int id, void *m); 61extern void id2mac (unsigned int id, void *m);
62 62
63#define mac2id(p) ((p)[0] & 0x01 ? 0 : ((p)[4] << 8) | (p)[5]) 63#define mac2id(p) ((p)[0] & 0x01 ? 0 : ((p)[4] << 8) | (p)[5])
64 64
65struct sliding_window { 65struct sliding_window
66{
66 u32 v[(WINDOWSIZE + 31) / 32]; 67 u32 v[(WINDOWSIZE + 31) / 32];
67 u32 seq; 68 u32 seq;
68 69
69 void reset (u32 seqno) 70 void reset (u32 seqno)
70 { 71 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines