294 |
|
sg_set_error(SG_ERROR_UNSUPPORTED, "Cygwin"); |
295 |
|
return NULL; |
296 |
|
#endif |
297 |
+ |
#ifdef HPUX |
298 |
+ |
sg_set_error(SG_ERROR_UNSUPPORTED, "HP-UX"); |
299 |
+ |
return NULL; |
300 |
+ |
#endif |
301 |
|
|
302 |
|
*entries=interfaces; |
303 |
|
|
695 |
|
close(sock); |
696 |
|
fclose(f); |
697 |
|
#endif |
698 |
+ |
#ifdef CYGWIN |
699 |
+ |
sg_set_error(SG_ERROR_UNSUPPORTED, "Cygwin"); |
700 |
+ |
return NULL; |
701 |
+ |
#endif |
702 |
+ |
#ifdef HPUX |
703 |
+ |
sg_set_error(SG_ERROR_UNSUPPORTED, "HP-UX"); |
704 |
+ |
return NULL; |
705 |
+ |
#endif |
706 |
+ |
|
707 |
|
*entries = ifaces; |
708 |
|
return network_iface_stats; |
709 |
|
} |