[kronosnet/kronosnet] 119115: [tx] local sockets are only sending data packets

Fabio M. Di Nitto noreply at github.com
Thu Oct 8 14:33:47 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/kronosnet/kronosnet
  Commit: 119115d6c98976ec504424cea905ca3f9d0729bc
      https://github.com/kronosnet/kronosnet/commit/119115d6c98976ec504424cea905ca3f9d0729bc
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/threads_tx.c

  Log Message:
  -----------
  [tx] local sockets are only sending data packets

drop unnecessary cases around packets that don´t exist

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: b798cda3aa7c5839d4ba3fff6ad680105fdcf32f
      https://github.com/kronosnet/kronosnet/commit/b798cda3aa7c5839d4ba3fff6ad680105fdcf32f
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/threads_tx.c

  Log Message:
  -----------
  [tx] fill in header data closer to where they are currently used

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 8bca8648ec7d0d04f200a9e141f3ff7463eab388
      https://github.com/kronosnet/kronosnet/commit/8bca8648ec7d0d04f200a9e141f3ff7463eab388
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/threads_heartbeat.c
    M libknet/threads_heartbeat.h
    M libknet/threads_rx.c

  Log Message:
  -----------
  [rx/heartbeat] move ping / pong processing to heartbeat.[c|h]

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: c2520f61a4333a255dd4828089b534b0778df3d5
      https://github.com/kronosnet/kronosnet/commit/c2520f61a4333a255dd4828089b534b0778df3d5
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/threads_pmtud.c
    M libknet/threads_pmtud.h
    M libknet/threads_rx.c

  Log Message:
  -----------
  [rx/heartbeat] move pmtu / pmtu_reply to pmtud.[c|h]

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 0cd8d828ade5af085c856bd55b6e245e9bc86b43
      https://github.com/kronosnet/kronosnet/commit/0cd8d828ade5af085c856bd55b6e245e9bc86b43
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/threads_heartbeat.c

  Log Message:
  -----------
  [heartbeat] move all packet data filling in the same chuck of code

and re-org code in the file a bit (no functional changes)

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: c425e1cc3c4078ba19fe98f6d5f743818f91ab10
      https://github.com/kronosnet/kronosnet/commit/c425e1cc3c4078ba19fe98f6d5f743818f91ab10
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/handle.c
    M libknet/internals.h
    M libknet/onwire.h
    M libknet/threads_heartbeat.c
    M libknet/threads_pmtud.c
    M libknet/threads_rx.c
    M libknet/threads_tx.c

  Log Message:
  -----------
  [onwire] fill in packets with dynamic information

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: f7848e542ed431508840ad320d89d1b8ea6230dc
      https://github.com/kronosnet/kronosnet/commit/f7848e542ed431508840ad320d89d1b8ea6230dc
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/threads_rx.c

  Log Message:
  -----------
  [rx] make it easier to understand ping/pong link detection

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: da67516d9c4baeb20b459da707cfd36b4a497401
      https://github.com/kronosnet/kronosnet/commit/da67516d9c4baeb20b459da707cfd36b4a497401
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/threads_rx.c

  Log Message:
  -----------
  [rx] move data rx handling in its own function

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: c16bc3f5f6085e2ac4e9b39e8afdc83f626cd993
      https://github.com/kronosnet/kronosnet/commit/c16bc3f5f6085e2ac4e9b39e8afdc83f626cd993
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/onwire.h

  Log Message:
  -----------
  [onwire] cleanup and re-arrange onwire.h with extra docs

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 037a37e9f2217375768b2a59cd9259c846a0d1b6
      https://github.com/kronosnet/kronosnet/commit/037a37e9f2217375768b2a59cd9259c846a0d1b6
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/threads_heartbeat.c
    M libknet/threads_pmtud.c

  Log Message:
  -----------
  [heartbeat/pmtud] cleanup label and log subsystem

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 0a47a674387091a247659f159992f4ce4f6f7304
      https://github.com/kronosnet/kronosnet/commit/0a47a674387091a247659f159992f4ce4f6f7304
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/handle.c

  Log Message:
  -----------
  [handle] make sure to always allocate enough buffer no matter the ping size

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 90bb1387dfd6efee1cb3a6df6a0c52a1a8230a05
      https://github.com/kronosnet/kronosnet/commit/90bb1387dfd6efee1cb3a6df6a0c52a1a8230a05
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/Makefile.am
    M libknet/onwire.h
    A libknet/onwire_v1.c
    A libknet/onwire_v1.h
    M libknet/tests/pckt_test.c
    M libknet/threads_heartbeat.c
    M libknet/threads_rx.c

  Log Message:
  -----------
  [heartbeat] version ping/pong packets and start moving code to onwire_vX.(c|h)

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 8f57ee8d80b9146077d6a4e358f5c682c5b87cc5
      https://github.com/kronosnet/kronosnet/commit/8f57ee8d80b9146077d6a4e358f5c682c5b87cc5
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/onwire.h
    M libknet/onwire_v1.c
    M libknet/onwire_v1.h
    M libknet/tests/pckt_test.c
    M libknet/threads_pmtud.c

  Log Message:
  -----------
  [pmtud] version PMTUd packets and move code to onwire_vX.(c|h)

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 2a3370433200f3ce3d965a14bf0dd6fa5f3a55e4
      https://github.com/kronosnet/kronosnet/commit/2a3370433200f3ce3d965a14bf0dd6fa5f3a55e4
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M libknet/threads_heartbeat.c
    M libknet/threads_pmtud.c

  Log Message:
  -----------
  [cleanup] add missing break in switch code

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: 39094de888f1c0ab1441d92a98ea17597e9770e7
      https://github.com/kronosnet/kronosnet/commit/39094de888f1c0ab1441d92a98ea17597e9770e7
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-09-22 (Tue, 22 Sep 2020)

  Changed paths:
    M libknet/onwire.h
    M libknet/onwire_v1.c
    M libknet/onwire_v1.h
    M libknet/tests/pckt_test.c
    M libknet/threads_rx.c
    M libknet/threads_tx.c

  Log Message:
  -----------
  [tx|rx] move all onwire version code to onwire_v*.(c|h)

and do a major cleanup of the code on the way by splitting
code into more manageable functions.

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: f7d5e403654b3ce9eb7d740224e8b56fc3ed91b1
      https://github.com/kronosnet/kronosnet/commit/f7d5e403654b3ce9eb7d740224e8b56fc3ed91b1
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-10-07 (Wed, 07 Oct 2020)

  Changed paths:
    M libknet/handle.c
    M libknet/host.c
    M libknet/host.h
    M libknet/internals.h
    M libknet/libknet.h
    M libknet/onwire.c
    M libknet/onwire_v1.c
    M libknet/tests/Makefile.am
    M libknet/tests/api-check.mk
    A libknet/tests/api_knet_handle_enable_onwire_ver_notify.c
    A libknet/tests/api_knet_handle_get_onwire_ver.c
    A libknet/tests/api_knet_handle_set_onwire_ver.c
    A libknet/tests/fun_onwire_upgrade.c
    M libknet/tests/test-common.c
    M libknet/tests/test-common.h
    M libknet/threads_heartbeat.c
    M libknet/threads_pmtud.c
    M libknet/threads_rx.c
    M libknet/threads_tx.c
    M man/Makefile.am

  Log Message:
  -----------
  [onwire] add ability to perform automatic and manual onwire upgrades

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>


  Commit: f95420bd816a0fad30b0fb409f703cd1811415b9
      https://github.com/kronosnet/kronosnet/commit/f95420bd816a0fad30b0fb409f703cd1811415b9
  Author: Fabio M. Di Nitto <fdinitto at redhat.com>
  Date:   2020-10-08 (Thu, 08 Oct 2020)

  Changed paths:
    M libknet/Makefile.am
    M libknet/handle.c
    M libknet/host.c
    M libknet/host.h
    M libknet/internals.h
    M libknet/libknet.h
    M libknet/onwire.c
    M libknet/onwire.h
    A libknet/onwire_v1.c
    A libknet/onwire_v1.h
    M libknet/tests/Makefile.am
    M libknet/tests/api-check.mk
    A libknet/tests/api_knet_handle_enable_onwire_ver_notify.c
    A libknet/tests/api_knet_handle_get_onwire_ver.c
    A libknet/tests/api_knet_handle_set_onwire_ver.c
    A libknet/tests/fun_onwire_upgrade.c
    M libknet/tests/pckt_test.c
    M libknet/tests/test-common.c
    M libknet/tests/test-common.h
    M libknet/threads_heartbeat.c
    M libknet/threads_heartbeat.h
    M libknet/threads_pmtud.c
    M libknet/threads_pmtud.h
    M libknet/threads_rx.c
    M libknet/threads_tx.c
    M man/Makefile.am

  Log Message:
  -----------
  Merge pull request #326 from kronosnet/onwire-upgrade

Onwire upgrade


Compare: https://github.com/kronosnet/kronosnet/compare/9f56dbc7ce76...f95420bd816a


More information about the Commits mailing list