Revision 1a61882d proto/ospf/ospf.h

View differences:

proto/ospf/ospf.h
248 248

  
249 249
struct vebb
250 250
{
251
#ifdef _BIG_ENDIAN
252
  u8 padding:5;
253
  u8 v:1;
254
  u8 e:1;
255
  u8 b:1;
256
#else
251 257
  u8 b:1;
252 258
  u8 e:1;
253 259
  u8 v:1;
254 260
  u8 padding:5;
261
#endif
255 262
};
256 263

  
257 264
union veb
......
263 270
struct ospf_lsa_rt
264 271
{
265 272
  union veb veb;
266
#define LSA_RT_V 5
267
#define LSA_RT_E 6
268
#define LSA_RT_B 7
269 273
  u8 padding;
270 274
  u16 links;
271 275
};
......
432 436
  int stub;
433 437
  int trcap;			/* Transit capability? */
434 438
  struct proto_ospf *po;
435
  struct fib infib;		/* FIB for intra-area routes */
436 439
  unsigned tick;
437 440
};
438 441

  
......
445 448
  list iface_list;		/* Interfaces we really use */
446 449
  list area_list;
447 450
  int areano;			/* Number of area I belong to */
448
  struct fib efib;		/* FIB for external routes */
451
  struct fib rtf[2];		/* Routing tables */
449 452
  int rfc1583;			/* RFC1583 compatibility */
450 453
  int ebit;			/* Did I originate any ext lsa? */
451 454
};

Also available in: Unified diff