Removeudpcache (#65)

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* solved eiger 1-10g issue

* some fixes for remove udp cache to work

* bug fix virtual

* removed special handling of rx_udpip
This commit is contained in:
Dhanya Thattil
2019-09-30 14:46:25 +02:00
committed by GitHub
parent 6e6fcec698
commit ca054626e6
33 changed files with 1759 additions and 1379 deletions

View File

@@ -503,15 +503,15 @@ class slsReceiverImplementation : private virtual slsDetectorDefs {
/**
* Set Ethernet Interface to listen to
* @param c ethernet inerface eg. eth0 (max of 1000 characters)
* @param c ethernet inerface eg. eth0
*/
void setEthernetInterface(const char *c);
void setEthernetInterface(const std::string &c);
/**
* Set second Ethernet Interface to listen to (jungfrau specific)
* @param c second ethernet inerface eg. eth0 (max of 1000 characters)
* @param c second ethernet inerface eg. eth0
*/
void setEthernetInterface2(const char *c);
void setEthernetInterface2(const std::string &c);
/**
* Set number of UDP Interfaces (jungfrau specific)
@@ -933,7 +933,7 @@ class slsReceiverImplementation : private virtual slsDetectorDefs {
/** Number of UDP Interfaces */
int numUDPInterfaces;
/** Ethernet Interface */
char eth[MAX_NUMBER_OF_LISTENING_THREADS][MAX_STR_LENGTH];
std::vector <std::string> eth;
/** Server UDP Port Number*/
uint32_t udpPortNum[MAX_NUMBER_OF_LISTENING_THREADS];
/** udp socket buffer size */