/netbsd-current/sys/compat/netinet6/ |
H A D | nd6.h | 96 u_long pltime; member in struct:in6_oprlist::__anon4 112 u_int32_t pltime; member in struct:in6_prlist::__anon5
|
/netbsd-current/tests/net/net/ |
H A D | t_ipv6_lifetime.sh | 59 atf_check -s exit:0 -o not-match:'pltime' rump.ifconfig -L shmif0 64 atf_check -s exit:0 rump.ifconfig shmif0 inet6 $ip pltime $time 66 atf_check -s exit:0 -o match:'pltime' rump.ifconfig -L shmif0 80 pltime $time vltime $time 82 atf_check -s exit:0 -o match:'pltime' 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)) 97 atf_check -s exit:0 -o match:'pltime' rum [all...] |
/netbsd-current/sbin/ifconfig/ |
H A D | af_inet6.c | 86 "pltime", 0, NULL, "pltime", &command_root.pb_parser); 92 {.k_word = "pltime", .k_nextparser = &parse_pltime.pi_parser} 155 int64_t pltime; local 157 if (!prop_dictionary_get_int64(env, "pltime", &pltime)) { 162 return setia6lifetime(env, pltime, 319 printf(" pltime "); 473 "\t[ pltime n ] [ vltime n ] "
|
/netbsd-current/external/bsd/dhcpcd/dist/src/ |
H A D | ipv4.h | 93 uint32_t pltime; member in struct:ipv4_addr
|
H A D | ipv4.c | 654 uint32_t vltime, uint32_t pltime) 697 ia->vltime = ia->pltime = DHCP_INFINITE_LIFETIME; 700 ia->pltime = pltime; 704 UNUSED(pltime); 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 D | dhcp6.c | 110 uint32_t pltime; member in struct:dhcp6_ia_addr 118 uint32_t pltime; member in struct:dhcp6_pd_addr 2198 ia.pltime = ntohl(ia.pltime); 2201 if (ia.pltime > ia.vltime) { 2203 logerr("%s: IA Address pltime %"PRIu32 2205 ifp->name, ia.pltime, ia.vltime); 2233 a->prefix_pltime = ia.pltime; 2275 pdp.pltime = ntohl(pdp.pltime); [all...] |
H A D | ipv6nd.c | 1335 uint32_t vltime, pltime; local 1362 pltime = ntohl(pi.nd_opt_pi_preferred_time); 1363 if (pltime > vltime) { 1364 logmessage(loglevel, "%s: pltime > vltime", 1392 ia->prefix_pltime = pltime; 1428 ia->prefix_pltime = pltime; 1450 /* Ensure pltime still fits */ 1451 if (pltime < ia->prefix_vltime) 1452 ia->prefix_pltime = pltime;
|
H A D | ipv6.c | 666 uint32_t pltime, vltime; local 697 pltime = ia->prefix_pltime; 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 */ 760 ia->prefix_pltime = pltime; 776 /* Restore real pltime and vltime */ 777 ia->prefix_pltime = pltime; [all...] |
/netbsd-current/usr.sbin/rtadvd/ |
H A D | config.c | 464 makeentry(entbuf, sizeof(entbuf), i, "pltime"); 468 "%s: pltime (%lld) for %s/%d on %s " 1117 uint32_t vltime, pltime; local 1144 pltime = 0; 1147 pltime = pfx->preflifetime; 1149 pltime = (pfx->pltimeexpire > now.tv_sec) ? 1152 if (vltime < pltime) { 1154 * this can happen if vltime is decrement but pltime 1157 pltime = vltime; 1160 ndopt_pi->nd_opt_pi_preferred_time = htonl(pltime); [all...] |
/netbsd-current/tests/net/if/ |
H A D | t_ifconfig.sh | 124 pltime 100 126 atf_check -s exit:0 -o match:'pltime' rump.ifconfig -L shmif0 149 atf_check -s exit:0 -o match:'pltime' rump.ifconfig -a -L 313 # pltime 314 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00::3 pltime 3
|