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

/netbsd-current/sys/compat/netinet6/
H A Dnd6.h95 u_long vltime; member in struct:in6_oprlist::__anon4
111 u_int32_t vltime; member in struct:in6_prlist::__anon5
/netbsd-current/tests/net/net/
H A Dt_ipv6_lifetime.sh60 atf_check -s exit:0 -o not-match:'vltime' rump.ifconfig -L shmif0
67 atf_check -s exit:0 -o match:'vltime infty' rump.ifconfig -L shmif0
76 rump.ifconfig shmif0 inet6 $ip vltime $time
80 pltime $time vltime $time
83 atf_check -s exit:0 -o match:'vltime' rump.ifconfig -L shmif0
89 # Setting both preferred and valid lifetimes (pltime > vltime)
91 shmif0 inet6 $ip pltime $(($time * 2)) vltime $time
93 # Setting both preferred and valid lifetimes (pltime < vltime)
95 pltime $time vltime $((time * 2))
98 atf_check -s exit:0 -o match:'vltime' rum
[all...]
/netbsd-current/sbin/ifconfig/
H A Daf_inet6.c89 "vltime", 0, NULL, "vltime", &command_root.pb_parser);
93 , {.k_word = "vltime", .k_nextparser = &parse_vltime.pi_parser}
170 int64_t vltime; local
172 if (!prop_dictionary_get_int64(env, "vltime", &vltime)) {
177 return setia6lifetime(env, vltime,
327 printf(" vltime ");
473 "\t[ pltime n ] [ vltime n ] "
/netbsd-current/external/bsd/dhcpcd/dist/src/
H A Dipv4.h92 uint32_t vltime; member in struct:ipv4_addr
H A Dipv4.c654 uint32_t vltime, uint32_t pltime)
697 ia->vltime = ia->pltime = DHCP_INFINITE_LIFETIME;
699 ia->vltime = vltime;
703 UNUSED(vltime);
652 ipv4_addaddr(struct interface *ifp, const struct in_addr *addr, const struct in_addr *mask, const struct in_addr *bcast, uint32_t vltime, uint32_t pltime) argument
H A Ddhcp6.c111 uint32_t vltime; member in struct:dhcp6_ia_addr
119 uint32_t vltime; member in struct:dhcp6_pd_addr
2199 ia.vltime = ntohl(ia.vltime);
2201 if (ia.pltime > ia.vltime) {
2204 " > vltime %"PRIu32,
2205 ifp->name, ia.pltime, ia.vltime);
2234 if (a->prefix_vltime != ia.vltime) {
2236 a->prefix_vltime = ia.vltime;
2276 pdp.vltime
[all...]
H A Dipv6nd.c1335 uint32_t vltime, pltime; local
1361 vltime = ntohl(pi.nd_opt_pi_valid_time);
1363 if (pltime > vltime) {
1364 logmessage(loglevel, "%s: pltime > vltime",
1391 ia->prefix_vltime = vltime;
1425 * the vltime if it was greater than 2 hours
1440 if (vltime > MIN_EXTENDED_VLTIME ||
1441 vltime > rmtime)
1442 ia->prefix_vltime = vltime;
1445 * leave vltime alon
[all...]
H A Dipv6.c666 uint32_t pltime, vltime; local
696 /* Adjust plftime and vltime based on acquired time */
698 vltime = ia->prefix_vltime;
744 logdebugx("%s: pltime infinity, vltime infinity",
747 logdebugx("%s: pltime infinity, vltime %"PRIu32" seconds",
750 logdebugx("%s: pltime %"PRIu32"seconds, vltime infinity",
753 logdebugx("%s: pltime %"PRIu32" seconds, vltime %"PRIu32
759 /* Restore real pltime and vltime */
761 ia->prefix_vltime = vltime;
776 /* Restore real pltime and vltime */
[all...]
/netbsd-current/usr.sbin/rtadvd/
H A Dconfig.c445 makeentry(entbuf, sizeof(entbuf), i, "vltime");
448 logit(LOG_ERR, "%s: vltime (%lld) for "
1117 uint32_t vltime, pltime; local
1133 vltime = 0;
1138 vltime = pfx->validlifetime;
1140 vltime = (pfx->vltimeexpire > now.tv_sec) ?
1152 if (vltime < pltime) {
1154 * this can happen if vltime is decrement but pltime
1157 pltime = vltime;
1159 ndopt_pi->nd_opt_pi_valid_time = htonl(vltime);
[all...]

Completed in 174 milliseconds