1. 23 Mar, 2021 3 commits
  2. 03 Feb, 2021 2 commits
  3. 28 Apr, 2019 1 commit
  4. 17 Aug, 2018 1 commit
  5. 14 Aug, 2018 1 commit
  6. 09 Apr, 2018 1 commit
  7. 06 Apr, 2018 1 commit
    • Harald Welte's avatar
      Add "getMsgLen" function similar to IPL4asp_PT · bacd73db
      Harald Welte authored
      
      
      When a SOCK_STREAM socket is used for a message-based protocol, we
      must make sure to properly de-segment the messages at their boundary.
      
      In order to do so, we introduce a call-back function which the user
      can provide in order to assist the UD_PT_PROVIDER in finding the
      length of the messages processed.
      
      TODO: Documentation is not updated yet
      Signed-off-by: Harald Welte's avatarHarald Welte <laforge@gnumonks.org>
      bacd73db
  8. 27 Mar, 2018 1 commit
    • Harald Welte's avatar
      Fix compiler warning about initialization order · 019ef1af
      Harald Welte authored
      In commit 06923f0f
      
       I introduced
      a compiler warning:
      
      g++  -c -DLINUX -DMAKEDEPEND_RUN -I/usr/include -I/usr/include/titan -Wall -fPIC   -o UD_PT.o UD_PT.cc
      In file included from UD_PortType.hh:21:0,
                       from UD_PT.cc:19:
      UD_PT.hh: In constructor ‘UD__PortType::UD__PT_PROVIDER::UD__PT_PROVIDER(const char*)’:
      UD_PT.hh:120:7: warning: ‘UD__PortType::UD__PT_PROVIDER::target_fd’ will be initialized after [-Wreorder]
         int target_fd;
             ^~~~~~~~~
      UD_PT.hh:102:7: warning:   ‘int UD__PortType::UD__PT_PROVIDER::sock_type’ [-Wreorder]
         int sock_type;
             ^~~~~~~~~
      UD_PT.cc:41:1: warning:   when initialized here [-Wreorder]
       UD__PT_PROVIDER::UD__PT_PROVIDER(const char *par_port_name)
       ^~~~~~~~~~~~~~~
      
      This patch resolves/removes the warning by changing the initialization
      order.
      Signed-off-by: Harald Welte's avatarHarald Welte <laforge@gnumonks.org>
      019ef1af
  9. 22 Jan, 2018 2 commits
  10. 01 Aug, 2015 1 commit
  11. 31 Jul, 2015 1 commit