Commit Graph

40 Commits

Author SHA1 Message Date
Michael Davidsaver a012b9ffe0 testStrEq() better diff 2023-03-28 15:21:39 -07:00
Michael Davidsaver d692d7da2c loc_bad_alloc 2023-03-28 15:21:34 -07:00
Michael Davidsaver 4ced2d8837 print char types as integers 2023-02-13 07:44:44 -08:00
Michael Davidsaver 1aad37c230 minor 2023-02-13 07:42:54 -08:00
Michael Davidsaver 25e7285c11 SigInt use worker thread
Remove restrictions on operations which can be preformed.
2022-11-27 08:20:13 -08:00
Michael Davidsaver df4289b4e6 IPv6+mcast support 2022-04-05 07:57:16 -07:00
Michael Davidsaver 923c423055 epicsThreadOnce() wrapper
Ensure exceptions are propagated
2022-04-05 07:57:16 -07:00
Michael Davidsaver f67f27e96b Portable capture of destination interface and IP address
Use recvmsg() and control messages IP_PKTINFO (Linux, OSX, Windows)
or IP_ORIGDSTADDR and IP_RECVIF (RTEMS w/ libbsd) to find the
index of the logical interface through which a UDP packet was received,
and the destination address from the IPv4 header.

Also, clear IP_MULTICAST_ALL on Linux to disable non-compliant legacy brokenness
and receive only those multicasts we are interested in.
2022-04-05 07:57:16 -07:00
Basil Aljamal fe6974025a Add missing <limits> header 2022-03-25 07:42:29 -07:00
Michael Davidsaver c7376522e8 deduplicate instance counter names 2021-07-16 12:20:51 -07:00
Michael Davidsaver 69ed03e508 client: fix bcast addr id 2021-06-27 10:17:14 -07:00
Michael Davidsaver 1e08b6faf0 instance counter for # of live workers 2021-06-27 10:17:13 -07:00
Michael Davidsaver c4d2cd4a10 client: reorg context Pvt 2021-06-27 10:17:13 -07:00
Michael Davidsaver dbed32309e add osdGetRoles() 2021-06-27 10:17:13 -07:00
Michael Davidsaver da004bc54b configurable timeout (with $EPICS_PVA_CONN_TMO) 2021-06-08 09:45:49 -07:00
Michael Davidsaver bd7ba0db62 simplify GUID printing 2021-06-08 09:45:48 -07:00
Michael Davidsaver a064677e36 detect UDP RX buffer overflows
On Linux, use SO_RXQ_OVFL to snoop on the OS dropped packet
counter for our socket buffer.  Does not detect drops on
ingress, or internal to, to OS IP stack.
2021-01-28 07:44:32 -08:00
Michael Davidsaver 9481dcd880 avoid including event2 headers from our public headers 2020-12-27 11:49:32 -08:00
Michael Davidsaver 3fe3a65c18 export cnt_*
Apparently clang sometimes emits relocations
in .debug sections referencing these otherwise
hidden symbols.
2020-08-10 12:09:55 -07:00
Michael Davidsaver 9328d193af indented std::ostream w/ xalloc() 2020-07-26 20:46:12 -07:00
Michael Davidsaver 7a9d5cb6ab WIN32: SetErrorMode(0) 2020-06-16 16:39:00 -07:00
Michael Davidsaver 46bcf877c9 replace epicsParse*() with std::sto*() 2020-04-16 22:01:38 -07:00
Michael Davidsaver 6ffcf60a3c 3.14 compat 2020-04-13 18:06:40 -07:00
Michael Davidsaver a6c1565793 Add "live" counter for client Context 2020-04-07 12:05:30 -07:00
Michael Davidsaver 7a2ab35439 check instance counters in cleanup_for_valgrind() 2020-04-07 12:05:29 -07:00
Michael Davidsaver e2513db4d9 MSVC need osiSockAttach() 2020-03-31 13:07:50 -07:00
Michael Davidsaver 36dc71a158 MSVC missing includes 2020-03-31 13:07:50 -07:00
Michael Davidsaver edadc31f96 add instanceSnapshot() 2020-03-24 18:38:10 -07:00
Michael Davidsaver 410dccbe02 demote SockAddr from public API 2020-03-09 19:47:43 -07:00
Michael Davidsaver 8eae991006 g++ >=4.9 required
4.8 doesn't parse R"" literals
2019-12-23 19:24:15 -08:00
Michael Davidsaver 50963f0a3e reorg to separate type handling 2019-12-11 09:11:52 -08:00
Michael Davidsaver 2ba0150bd9 disambiguate
having pvxs::detail and pvxs::impl::detail causes confusion
2019-12-10 18:15:48 -08:00
Michael Davidsaver a6ff69eb42 gcc 4.8 compat 2019-12-10 18:15:48 -08:00
Michael Davidsaver 801d295c1f start PVD 2019-12-10 17:56:40 -08:00
Michael Davidsaver 083bad3e28 redo namespaces 2019-11-19 16:08:03 -08:00
Michael Davidsaver 495eeaa4ac rework rwlock 2019-11-19 16:07:51 -08:00
Michael Davidsaver 073edee87b minor 2019-11-19 16:06:43 -08:00
Michael Davidsaver bab82affb8 redo packet build/parse
now with evbuffer
2019-11-19 16:06:43 -08:00
Michael Davidsaver 06e780872b progress 2019-11-19 16:06:43 -08:00
Michael Davidsaver 2497350fcd more shuffling 2019-10-24 13:27:54 -07:00