Home
last modified time | relevance | path

Searched refs:lease_struct (Results 1 – 1 of 1) sorted by relevance

/third_party/toybox/toys/pending/
Ddumpleases.c40 struct lease lease_struct; in dumpleases_main() local
52 while(sizeof(lease_struct) == in dumpleases_main()
53 (readall(fd, &lease_struct, sizeof(lease_struct)))) { in dumpleases_main()
54 for (i = 0; i < 6; i++) printf(":%02x"+ !i, lease_struct.lease_mac[i]); in dumpleases_main()
56 addr.s_addr = lease_struct.lease_nip; in dumpleases_main()
57 lease_struct.hostname[19] = '\0'; in dumpleases_main()
58 xprintf(" %-16s%-20s", inet_ntoa(addr), lease_struct.hostname ); in dumpleases_main()
59 exp = ntohl(lease_struct.expires) + written_time; in dumpleases_main()