Could someone please help me? I have the following C struct.
typedef struct
_FIREWALL_RULE_ INFO
{
ULONG Precedence;
BOOL bEnabled;
BOOL bLoggingEnabled ;
BOOL bAllowFragments ;
BOOL bAllowInbound; /* only used
if 'SohoFirewallMo del' is enabled */
BOOL bAllowOutbound; /* only used
if 'SohoFirewallMo del' is enabled */
ULONG SessionTimeout; /* override
the session timeout value, in minutes */
ULONG Action;
BOOL bAnyService;
char
ServiceName[BOND_SERVICE_NA ME_SIZE ];
BOOL bSrcAllIpAddrs;
BOND_ADDRESS_PO OL SrcIpAddrPool;
BOOL bDstAllIpAddrs;
BOND_ADDRESS_PO OL DstIpAddrPool;
BOOL bBwmEnabled;
ULONG BwmType;
ULONG GuaBandwidthInK bps;
ULONG MaxBandwidthInK bps;
ULONG Priority;
BOND_ADDRESS_GR OUP SrcIpAddrGroup; /* this field
is for internal use only */
BOND_ADDRESS_GR OUP DstIpAddrGroup; /* this field
is for internal use only */
}
FIREWALL_RULE_I NFO, *PFIREWALL_RULE _INFO;
I get the following compile time error message, while compiling a
function that clones a FIREWALL_RULE_I NFO struct.
request for member `MaxBandwidthIn Kbps' in something not a structure
or union
Could someone please point out what I might be doing wrong? Thanks in
advance for your help.