| /src/sys/compat/netinet6/ |
| nd6.h | 95 u_long vltime; member in struct:in6_oprlist::__anon2416 111 u_int32_t vltime; member in struct:in6_prlist::__anon2417
|
| /src/tests/net/net/ |
| t_ipv6_lifetime.sh | 60 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' rump.ifconfig -L shmif [all...] |
| /src/sbin/ifconfig/ |
| af_inet6.c | 89 "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 ] "
|
| /src/external/bsd/dhcpcd/dist/src/ |
| ipv4.h | 100 uint32_t vltime; member in struct:ipv4_addr
|
| ipv4.c | 628 const struct in_addr *mask, const struct in_addr *bcast, uint32_t vltime, 672 ia->vltime = ia->pltime = DHCP_INFINITE_LIFETIME; 674 ia->vltime = vltime; 678 UNUSED(vltime);
|
| ipv6nd.c | 1248 uint32_t vltime, pltime; local 1273 vltime = ntohl(pi.nd_opt_pi_valid_time); 1275 if (pltime > vltime) { 1276 logmessage(loglevel, "%s: pltime > vltime", 1303 ia->prefix_vltime = vltime; 1337 * the vltime if it was greater than 2 hours 1352 if (vltime > MIN_EXTENDED_VLTIME || 1353 vltime > rmtime) 1354 ia->prefix_vltime = vltime; 1357 * leave vltime alone * [all...] |
| dhcp6.c | 112 uint32_t vltime; member in struct:dhcp6_ia_addr 121 uint32_t vltime; 2243 ia.vltime = ntohl(ia.vltime); 2245 if (ia.pltime > ia.vltime) { 2248 " > vltime %" PRIu32, 2249 ifp->name, ia.pltime, ia.vltime); 2278 if (a->prefix_vltime != ia.vltime) { 2280 a->prefix_vltime = ia.vltime; 2339 " > vltime %" PRIu32 [all...] |
| ipv6.c | 717 uint32_t pltime, vltime; local 740 /* Adjust plftime and vltime based on acquired time */ 742 vltime = ia->prefix_vltime; 766 logdebugx("%s: pltime infinity, vltime infinity", ifp->name); 768 logdebugx("%s: pltime infinity, vltime %" PRIu32 " seconds", 771 logdebugx("%s: pltime %" PRIu32 "seconds, vltime infinity", 774 logdebugx("%s: pltime %" PRIu32 " seconds, vltime %" PRIu32 780 /* Restore real pltime and vltime */ 782 ia->prefix_vltime = vltime; 795 /* Restore real pltime and vltime */ [all...] |
| /src/usr.sbin/rtadvd/ |
| config.c | 445 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...] |