![]() |
yumapro
25.10-1
YumaPro SDK
|
Special UDP-Notif Collector Control Block Used to manage the DGRAM connection where the publishers are not known in advance. More...
#include <ses.h>
Data Fields | |
uint32 | curmsg_addrlen |
UDP-Notif read function stores the actual sockaddr length. | |
xmlChar | curmsg_addr [SES_SOCKADDR_BUFFLEN] |
UDP-Notif needs to capture the IP address and port of the UDP packet sender since this can be different for each packet. More... | |
dlq_hdr_t | pubcbQ |
UDP-Notif needs a special Queue of publisher control blocks since multiple source addresses can be sending to the same collector. More... | |
ses_setup_fn_t | setup_fn |
The session control block setup by udpnotif_init is the collector session listening to the collector socket. More... | |
void * | cookie |
parameter to send to callback function | |
const xmlChar * | curmsg_print_addr |
back-pointer to the pubcb->print_addr that matches the curmsg_addr field | |
Special UDP-Notif Collector Control Block Used to manage the DGRAM connection where the publishers are not known in advance.
xmlChar curmsg_addr[SES_SOCKADDR_BUFFLEN] |
UDP-Notif needs to capture the IP address and port of the UDP packet sender since this can be different for each packet.
struct sockaddr_in curmsg_addr;
dlq_hdr_t pubcbQ |
UDP-Notif needs a special Queue of publisher control blocks since multiple source addresses can be sending to the same collector.
This queue of internal structs in udpnotif is cleaned with udpnotif_clean_scb TEMP : STORE IN QUEUE :: WILL CHANGE TO AVL TREE
ses_setup_fn_t setup_fn |
The session control block setup by udpnotif_init is the collector session listening to the collector socket.
Each time a message is received the session setup callback is invoked so the correct YANG modules can be in place to process the incoming message