Lines Matching refs:entry
127 for entry in router_table:
128 if entry.rloc16 == r1_rloc:
130 elif entry.rloc16 == r2_rloc:
132 verify(entry.is_link_established())
133 verify(entry.ext_address == r2_ext_addr)
134 elif entry.rloc16 == r3_rloc:
136 verify(entry.is_link_established())
137 verify(entry.ext_address == r3_ext_addr)
138 elif entry.rloc16 == r4_rloc:
140 verify(not entry.is_link_established())
141 verify(entry.next_hop == r3_id)
152 for entry in router_table:
153 if entry.rloc16 == r1_rloc:
155 verify(entry.is_link_established())
156 verify(entry.ext_address == r1_ext_addr)
157 elif entry.rloc16 == r2_rloc:
159 verify(entry.is_link_established())
160 verify(entry.ext_address == r2_ext_addr)
161 elif entry.rloc16 == r3_rloc:
163 elif entry.rloc16 == r4_rloc:
165 verify(entry.is_link_established())
166 verify(entry.ext_address == r4_ext_addr)
177 for entry in router_table:
178 if entry.rloc16 == r1_rloc:
180 verify(not entry.is_link_established())
181 verify(entry.next_hop == r3_id)
182 elif entry.rloc16 == r2_rloc:
184 verify(not entry.is_link_established())
185 verify(entry.next_hop == r3_id)
186 elif entry.rloc16 == r3_rloc:
188 verify(entry.is_link_established())
189 verify(entry.ext_address == r3_ext_addr)
190 elif entry.rloc16 == r4_rloc: