Searched refs:addr_version (Results 1 – 1 of 1) sorted by relevance
329 static sa_family_t addr_version = AF_INET; variable365 int fd = xsocket(addr_version, SOCK_RAW, IPPROTO_RAW); in get_interface()368 req.ifr_addr.sa_family = addr_version; in get_interface()375 if (addr_version == AF_INET6) { in get_interface()1285 if(addr_version == AF_INET6) { in get_lease()1632 addr_version = AF_INET6; in dhcpd_main()1655 (addr_version==AF_INET6) ? read_lease6file() : read_leasefile(); in dhcpd_main()1659 (addr_version==AF_INET6)? (void*)gconfig.server_nip6 : in dhcpd_main()1663 if (addr_version==AF_INET6) { in dhcpd_main()1697 (addr_version == AF_INET6)? write_lease6file() : write_leasefile(); in dhcpd_main()[all …]