Searched refs:lifetime (Results 1 - 9 of 9) sorted by relevance

/seL4-camkes-master/projects/picotcp/modules/
H A Dpico_6lowpan_ll.c117 static int32_t ctx_insert(struct pico_ip6 addr, uint8_t id, uint8_t size, pico_time lifetime, uint8_t flags, struct pico_device *dev) argument
121 new->lifetime = lifetime;
138 void ctx_update(struct pico_ip6 addr, uint8_t id, uint8_t size, pico_time lifetime, uint8_t flags, struct pico_device *dev) argument
142 if (!lifetime) {
149 entry->lifetime = lifetime;
153 (void)ctx_insert(addr, id, size, lifetime, flags, dev);
158 * are reconfirmed before their lifetime expires */
170 key->lifetime
[all...]
H A Dpico_6lowpan_ll.h38 pico_time lifetime; member in struct:iphc_ctx
56 void ctx_update(struct pico_ip6 addr, uint8_t id, uint8_t size, pico_time lifetime, uint8_t flags, struct pico_device *dev);
H A Dpico_icmp6.h110 /* Address registration lifetime */
184 uint16_t lifetime; variable
246 uint32_t lifetime; variable
264 uint16_t lifetime; variable
281 uint16_t lifetime; variable
292 uint16_t lifetime; variable
H A Dpico_aodv.c189 uint32_t lifetime; local
197 lifetime = AODV_ACTIVE_ROUTE_TIMEOUT - (uint32_t)(now - node->last_seen);
198 return lifetime;
228 reply.lifetime = long_be(AODV_MY_ROUTE_TIMEOUT);
232 reply.lifetime = long_be(aodv_lifetime(node));
592 uint32_t lifetime = aodv_lifetime(node); local
593 if (lifetime == 0)
H A Dpico_aodv.h73 uint32_t lifetime; variable
H A Dpico_ipv6_nd.c974 /* Add a new 6LoWPAN neighbor with lifetime from ARO */
980 new->expire = PICO_TIME_MS() + (pico_time)(ONE_MINUTE * aro->lifetime);
981 dbg("ARO Lifetime: %d minutes\n", aro->lifetime);
1057 if (!aro->lifetime) {
1066 n->expire = PICO_TIME_MS() + (pico_time)(ONE_MINUTE * aro->lifetime);
1211 /* c) If the preferred lifetime is greater than the valid lifetime,
1233 /* Refresh lifetime of a prefix */
1305 ctx_update(prefix, co->id, co->clen, co->lifetime, co->c, f->dev);
H A Dpico_icmp6.c417 aro->lifetime = 0;
419 aro->lifetime = short_be(PICO_6LP_ND_DEFAULT_LIFETIME);
/seL4-camkes-master/projects/lwip/src/include/lwip/prot/
H A Dnd6.h260 PACK_STRUCT_FIELD(u32_t lifetime);
/seL4-camkes-master/projects/lwip/src/core/ipv6/
H A Dnd6.c154 * expiration rules, and thus disappear once its valid lifetime expires. */
214 /* Update the valid lifetime, as per RFC 4862 Sec. 5.5.3 point (e).
215 * The valid lifetime will never drop to zero as a result of this. */
222 LWIP_ASSERT("bad valid lifetime", !netif_ip6_addr_isstatic(netif, i));
223 /* Update the preferred lifetime. No bounds checks are needed here. In
238 * against a valid lifetime of zero, because again, we use that as a special
777 if (htonl(rdnss_opt->lifetime) > 0) {
1094 LWIP_ASSERT("bad valid lifetime", life != IP6_ADDR_LIFE_STATIC);
1097 /* The address is still here. Update the preferred lifetime too. */
1101 * deal correctly with advertised preferred-lifetime reduction
[all...]

Completed in 124 milliseconds