Ethaddr.h 1.5 KB

1234567891011121314151617181920212223242526
  1. /*****************************************************************
  2. ** **
  3. ** (C)Copyright 2006-2009,American Megatrends Inc. **
  4. ** **
  5. ** All Rights Reserved. **
  6. ** **
  7. ** 5555 Oakbrook Pkwy Suite 200, Norcross, **
  8. ** **
  9. ** Georgia - 30093, USA. Phone-(770)-246-8600. **
  10. ** **
  11. *****************************************************************/
  12. /************************************************************/
  13. /* GetEthIndex function which return the Eth depends on given channel*/
  14. /************************************************************/
  15. extern int SplitEthIfcnames(char *Ifcnames, int BMCInst,int *count);
  16. extern INT8U GetEthIndex(INT8U Channel, int BMCInst);
  17. extern INT8U GetLANChannel(INT8U EthIndex,int BMCInst);
  18. extern INT8U GetIfcName(INT8U EthIndex,INT8S *IfcName,int BMCInst);
  19. extern int GetChannelByAddr(char * IPAddr,int BMCInst);
  20. extern int GetChannelByIPv6Addr(char * IPAddr,int BMCInst);
  21. extern INT8U IsLANChannel(INT8U Channel, int BMCInst) ;
  22. extern int InitDNSConfiguration(int BMCInst);
  23. extern int GetLinkStatus(INT8U Channel, int BMCInst);