Firewall.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*****************************************************************
  2. *****************************************************************
  3. *** **
  4. *** (C)Copyright 2005-2006, American Megatrends Inc. **
  5. *** **
  6. *** All Rights Reserved. **
  7. *** **
  8. *** 6145-F, Northbelt Parkway, Norcross, **
  9. *** **
  10. *** Georgia - 30071, USA. Phone-(770)-246-8600. **
  11. *** **
  12. *****************************************************************
  13. ******************************************************************
  14. *
  15. * Firewall.h
  16. * IPMI firmware firewall commands
  17. *
  18. * Author: Ravinder Reddy <bakkar@ami.com>
  19. * Basavaraj Astekar <basavaraja@ami.com>
  20. *
  21. ******************************************************************/
  22. #ifndef FIREWALL_H
  23. #define FIREWALL_H
  24. #include "Types.h"
  25. #pragma pack(1)
  26. typedef struct{
  27. INT8U IANA[3];
  28. }PACKED IANA_T;
  29. #pragma pack()
  30. /*** Function Prototypes ***/
  31. /**
  32. * @defgroup apcf5 Firmware Firewall Commands
  33. * @ingroup apcf
  34. * IPMI IPM Device Command Handlers. Invoked by the message handler
  35. * (IPMI 2.0 feature)
  36. * @{
  37. **/
  38. extern int GetNetFnSup (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);
  39. extern int GetCmdSup (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);
  40. extern int GetSubFnSup (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);
  41. extern int GetConfigCmds (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);
  42. extern int GetConfigSubFns (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);
  43. extern int SetCmdEnables (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);
  44. extern int GetCmdEnables (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);
  45. extern int SetSubFnEnables (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);
  46. extern int GetSubFnEnables (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);
  47. extern int GetOEMNetFnIANASupport (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);
  48. /** @} */
  49. #endif /* FIREWALL_H */