Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

If UDRs are expected as reply back to the collector from the APL agent, extend the internal format to contain the built-in UDP format.

external my_ext {
  // field definitions
  int type : static_size(1);
  ascii Anum : static_size(8);
  ascii Bnum : terminated_by(0xA);
};


internal UDP_Int : 
   extends_class( "com.digitalroute.udp.agent.UDPPacketUDR" ) {
};


in_map UDP_InMap :
    external( my_ext ),
    internal( UDP_Int ),
    target_internal( my_UDP_TI ) {
    automatic;
};


decoder myDecoder : in_map( UDP_InMap );
  • No labels