Revision 4324025f proto/babel/babel.h

View differences:

proto/babel/babel.h
116 116
  u16 tx_length;			/* TX packet length limit (including headers), 0 for MTU */
117 117
  int tx_tos;
118 118
  int tx_priority;
119

  
120
  ip_addr next_hop_ip4;
121
  ip_addr next_hop_ip6;
119 122
};
120 123

  
121 124
struct babel_proto {
122 125
  struct proto p;
123 126
  timer *timer;
124
  struct fib rtable;
127
  struct fib ip4_rtable;
128
  struct fib ip6_rtable;
129

  
130
  struct channel *ip4_channel;
131
  struct channel *ip6_channel;
132

  
125 133
  list interfaces;			/* Interfaces we really know about (struct babel_iface) */
126 134
  u64 router_id;
127 135
  u16 update_seqno;			/* To be increased on request */
......
151 159
  char *ifname;
152 160
  sock *sk;
153 161
  ip_addr addr;
162
  ip_addr next_hop_ip4;
163
  ip_addr next_hop_ip6;
154 164
  int tx_length;
155 165
  list neigh_list;			/* List of neighbors seen on this iface (struct babel_neighbor) */
156 166
  list msg_queue;

Also available in: Unified diff