TRAP_INFO Structure

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
TRAP_INFO Structure
C
typedef struct {
  BYTE Size;
  struct {
    BYTE communityLen;
    char community[TRAP_COMMUNITY_MAX_LEN];
    IP_ADDR IPAddress;
    struct {
      unsigned int bEnabled : 1;
    } Flags;
  } table[TRAP_TABLE_SIZE];
} TRAP_INFO;
Description

This is type TRAP_INFO.

Members
Members 
Description 
BYTE communityLen; 
Community name length 
char community[TRAP_COMMUNITY_MAX_LEN]; 
Community name array 
IP_ADDR IPAddress; 
IP address to which trap to be sent 
unsigned int bEnabled : 1; 
Trap enabled flag 
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.