1. 27 Feb, 2017 1 commit
  2. 01 Dec, 2016 2 commits
  3. 25 Oct, 2016 1 commit
  4. 20 Sep, 2016 3 commits
  5. 16 May, 2016 4 commits
  6. 07 Nov, 2014 2 commits
  7. 31 Jul, 2013 1 commit
    • Alessandro Rubini's avatar
      general: rephrase copyright notices (no tech effect) · 23033d8a
      Alessandro Rubini authored
      This changes all "Name Surname for CERN" to "Copyright CERN, author
      Name Surname".  This is trivial and makes no change, with a few
      expections:
      
      - all trivial Makefiles that had "for CERN" lines have now no
      attributions, as they are trivial anyways.
      
      - a few unrepresented files have not the copyright notice (especially
      ptpdump, that I wrote in 2012).
      
      - a few "for CERN" remain in subprojects, where I didn't touch anyrhing
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      23033d8a
  8. 08 Mar, 2013 2 commits
    • Alessandro Rubini's avatar
      kill ppi->record_update · fd2b09a0
      Alessandro Rubini authored
      The code, when receiving announce, was setting a flag in order to run
      bmc at the next iteration, when that happened, the frame just received
      was discarded in favour for the programmed state update.
      
      This commits remove some fields and one helper function, so the new
      announce is immediately processed and no frame is lost.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      fd2b09a0
    • Alessandro Rubini's avatar
      kill portState: nobody is using it · 692af7f3
      Alessandro Rubini authored
      the portState field is probably a relic of ptpd, then the state
      machine was a single switch() statement.  Many places were still
      setting it, but nobody was ever reading the field.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      692af7f3
  9. 05 Mar, 2013 1 commit
  10. 04 Mar, 2013 1 commit
    • Alessandro Rubini's avatar
      general: net: rename some fields, fix alignment · 06ef4b9b
      Alessandro Rubini authored
      This changes some things to make code more readable (I really didn't
      know what the tmp_header was: now it is the "received_ptp_header".
      The commit simplifies allocation, because the tx and rx buffers are
      now part of ppi itself.
      
      We now have tx_ptp and tx_frame, both pointing within tx_buffer (and
      the same for rx). The pointers are the protocol side (aligned) and the
      argument passed to send/recv (which may be not be 4-aligned).
      
      At this point nothing changes, i.e. both gnu-linux flavours work and
      bare-i386 is not able to received.
      06ef4b9b
  11. 02 Mar, 2013 2 commits
    • Alessandro Rubini's avatar
      timeout: move restart_annrec() to ppsi.h · 415e530e
      Alessandro Rubini authored
      The function st_com_restart_annrec_timer is now just a one-liner, and
      it really is just a timeout operation.
      
      So call it pp_timeout_restart_annrec instead, and have it inline in
      ppsi.h, removing it from common-fun.c
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      415e530e
    • Alessandro Rubini's avatar
      kill timer: implement timeout · 4b07d444
      Alessandro Rubini authored
      The timer implementatin was incredibly complex.  Now there is no such
      thing as a timer in ptp. We only have timeouts.
      
      A timeout is a point in time. We calculate; we can be earlier; we
      can be later. The only thing which is arch-specific is calculating.
      
      This replaces every "timer" operation with the equivalent "timeout"
      one. All stuff is renamed to avoid confusion between "time" and
      "timer".
      
      Unfortunately, the resulting program as of this commit is not working.
      the pdelay_request timeout happens continuously, I'm sure I've exposed
      a latent bug, which I'm now going to fix.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      4b07d444
  12. 28 Feb, 2013 1 commit
    • Alessandro Rubini's avatar
      massive: remove pdelay material. · e90716f7
      Alessandro Rubini authored
      pdelay (peer delay) is a configuration option for a PTP domain. IT is
      a huge mass of code, which we never actually used and is most likely
      buggy.
      
      This commits remove all related code, and configures our PTP engine as
      end-to-end.  I doubt this commit can be reverted in the future, but at
      least it leaves traces about what was there and is not there any more.
      
      Something about pdelay is still there: the message names, one field in
      a structure and one configuration variable, to ease recovery in the
      future.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      e90716f7
  13. 06 Jan, 2013 1 commit
  14. 12 Jul, 2012 1 commit
  15. 28 Mar, 2012 1 commit
    • Alessandro Rubini's avatar
      Rename PPTP to PPSi · 600a052f
      Alessandro Rubini authored
      This is a major patch, because header files are renamed, and
      the header directory with them. Still, no functional change is there.
      600a052f
  16. 09 Mar, 2012 1 commit
  17. 22 Jan, 2012 1 commit
    • Aurelio Colosimo's avatar
      no_incoming_msg label introduce to skip switch when plen=0 · 1b3c07b2
      Aurelio Colosimo authored
      This patch is due to the fact that the code did not correctly handle
      the situation of "no incoming message". Since messageType 0 is a SYNC
      message type, in those cases an empty message was tried to be handled as a SYNC
      message, and led to FAULTY state. This patch seemed to me the least
      invasive with respect to the current code.
      1b3c07b2
  18. 17 Jan, 2012 2 commits
  19. 16 Jan, 2012 1 commit
    • Aurelio Colosimo's avatar
      msg sending implemented · 33821404
      Aurelio Colosimo authored
      msg_issue_xxx functions declared, implemented and used
      See that pp_get_tstamp now returns a TimeInternal struct.
      Actually timestamp struct might be defined outside of ieee_1588_types.h
      file, since it is not defined in the spec. For the moment, I leave
      it there, but in the future it must be redefined for our purposes (and
      in standard_c_notation)
      33821404
  20. 10 Jan, 2012 2 commits
  21. 09 Jan, 2012 4 commits
  22. 30 Dec, 2011 2 commits
  23. 29 Dec, 2011 1 commit
  24. 28 Dec, 2011 2 commits