Lines Matching defs:config
519 struct ifconf config;
526 if (ioctl(fd, SIOCGRTSIZE, &config, sizeof(config)) != 0) {
529 if (config.ifc_value < 1) {
532 if ((buffer = malloc(config.ifc_value)) == NULL) {
535 config.ifc_len = config.ifc_value;
536 config.ifc_buf = buffer;
537 if (ioctl(fd, SIOCGRTTABLE, &config, sizeof(config)) != 0) {
541 (uint8_t *)interface < (uint8_t *)buffer + config.ifc_len; ) {