RTEMS / Packages / Network Services

Go to Issues or Merge Requests


Issues

18 - Backport TTCP header install fix

Id

18

State

closed

Type

ISSUE

Author

Kinsey Moore

Closed by

Chris Johns

Created

2025-08-26T18:47:49.542Z

Closed

2025-10-03T00:12:48.980Z

Updated

2025-10-03T00:12:48.984Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/issues/18

Merges

0

Summary

The header for the TTCP library was never installed properly. Back port the fix from main.

Steps to reproduce

Pre-set options

Author: Kinsey Moore

2025-08-26T18:47:49.695Z

added rtems#10 as parent epic

Author: Kinsey Moore

2025-08-26T18:47:49.783Z

set status to To do

Author: Kinsey Moore

2025-08-26T18:49:18.929Z

mentioned in merge request !32

Author: Chris Johns

2025-09-19T23:58:25.408Z

mentioned in commit 3381863ccf9f90f801fb16ad524a7fcff1301467

Author: Chris Johns

2025-10-03T00:12:49.010Z

set status to Done

17 - Add ntpd sys var query and sync status calls

Id

17

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2025-05-22T22:41:16.901Z

Closed

2025-10-02T23:39:19.950Z

Updated

2025-10-02T23:39:19.955Z

Milestone

6.2

Labels

pkg::ntp

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/issues/17

Merges

0

Add ntpd sys var query and sync status calls to return the system level state of NTP. This call accesses the state directly and avoids the overhead or performing an ntpq query on the 127.0.0.1 address.

Provide calls to initialize the files for a client pool configuration. This is the most common RTEMS use case.

Author: Chris Johns

2025-05-22T22:41:17.003Z

assigned to @chris

Author: Chris Johns

2025-05-23T00:54:33.789Z

mentioned in merge request !29

Author: Kinsey Moore

2025-05-23T01:03:22.984Z

Author: Chris Johns

2025-10-02T23:39:19.978Z

set status to Done

15 - ntp: Backport ieeefp.h fix for coldfire to 6 branch

Id

15

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Kinsey Moore

Created

2025-03-19T17:22:04.634Z

Closed

2025-07-30T18:31:16.745Z

Updated

2025-07-30T18:31:16.810Z

Milestone

6.2

Labels

pkg::network-services

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/issues/15

Merges

0

Summary

This issue exists in 6 and the fix needs to be backported.

Steps to reproduce

Pre-set options

Author: Kinsey Moore

2025-03-19T17:22:04.918Z

assigned to @opticron

Author: Kinsey Moore

2025-03-19T17:22:05.425Z

Author: Kinsey Moore

2025-03-19T17:24:18.529Z

mentioned in merge request !24

Author: Jeremy Lorelli

2025-04-08T00:24:07.242Z

mentioned in merge request !25

Author: Kinsey Moore

2025-07-30T18:31:16.790Z

set status to Done

13 - Backport MR21 to 6 branch

Id

13

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Kinsey Moore

Created

2025-03-06T20:26:40.170Z

Closed

2025-03-07T04:15:46.850Z

Updated

2025-03-07T04:15:46.863Z

Milestone

6.2

Labels

pkg::network-services

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/issues/13

Merges

0

The following discussion from !21 should be addressed:

  • [] @opticron started a discussion:

    This needs to be backported to 6 branch.

Author: Kinsey Moore

2025-03-06T20:26:40.355Z

assigned to @opticron

Author: Kinsey Moore

2025-03-06T20:26:40.754Z

Author: Kinsey Moore

2025-03-06T20:32:14.024Z

mentioned in merge request !22

11 - Backport NTP bug fixes to 6 branch

Id

11

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Kinsey Moore

Created

2025-02-25T15:56:42.985Z

Closed

2025-03-02T01:46:05.997Z

Updated

2025-03-02T01:46:06.032Z

Milestone

6.2

Labels

network, pkg::network-services

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/issues/11

Merges

0

The following discussion from !18 should be addressed:

  • [] @opticron started a discussion:

    This needs to be backported to 6 branch as well.

Author: Kinsey Moore

2025-02-25T15:56:43.186Z

assigned to @opticron

Author: Kinsey Moore

2025-02-25T15:56:43.466Z

Author: Kinsey Moore

2025-02-25T16:04:00.728Z

mentioned in merge request !19

Merge Requests

32 - netservices.py: Ensure that ttcp.h is installed

Id

32

State

merged

Merged by

Chris Johns

Merged at

2025-09-19T23:58:23.921Z

Assignee(s)

Kinsey Moore

Created

2025-08-26T18:49:13.199Z

Updated

2025-09-19T23:58:26.071Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/32

Commit

3381863ccf9f90f801fb16ad524a7fcff1301467

Summary

netservices.py: Ensure that ttcp.h is installed

This header was missing from the install.

Closes #18

Author: Kinsey Moore

2025-08-26T18:49:13.350Z

assigned to @opticron

Author: Chris Johns

2025-09-19T23:58:00.649Z

@opticron would nuttcp work on lwIP?

Author: Kinsey Moore

2025-09-19T23:58:00.649Z

I would assume so, but I haven’t tested it. If it doesn’t work, rtems-lwip needs to be fixed up for it to operate properly.

Author: Chris Johns

2025-09-19T23:58:00.668Z

resolved all threads

Author: Chris Johns

2025-09-19T23:58:18.881Z

approved this merge request

29 - bsd/ntpd: Add ntpd sys var query and sync status calls

Id

29

State

merged

Merged by

Kinsey Moore

Merged at

2025-05-23T01:03:36.311Z

Assignee(s)

Chris Johns

Created

2025-05-23T00:54:24.204Z

Updated

2025-05-23T01:03:38.282Z

Milestone

6.2

Labels

pkg::network-services

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/29

Commit

6182e638dae87017c9a2a9f97e393747de92b7e2

Add ntpd sys var query and sync status calls

  • Provide calls to get the NTP status without using ntpq. The data returned is the same.

  • Add a command ntpsv to print the status without using ntpq.

Update #17

Author: Chris Johns

2025-05-23T00:54:24.438Z

assigned to @chris

Author: Kinsey Moore

2025-05-23T01:03:30.195Z

approved this merge request

27 - legacy: Add missing include

Id

27

State

merged

Merged by

Joel Sherrill

Merged at

2025-05-08T22:50:33.575Z

Assignee(s)

Kinsey Moore

Created

2025-05-08T12:53:22.099Z

Updated

2025-05-08T23:31:34.608Z

Milestone

6.2

Labels

network::legacy

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/27

Commit

6214c7e283122c49a3c09c32e5e4011b24aa11ee

Summary

legacy: Add missing include

GCC was warning about implicit declaration of strcmp

Author: Kinsey Moore

2025-05-08T12:53:22.350Z

assigned to @opticron

Author: Joel Sherrill

2025-05-08T22:50:28.430Z

approved this merge request

24 - ntp: Avoid including broken (on Coldfire) ieeefp.h header

Id

24

State

merged

Merged by

Joel Sherrill

Merged at

2025-05-08T23:08:09.528Z

Assignee(s)

Kinsey Moore

Created

2025-03-19T17:24:00.778Z

Updated

2025-05-08T23:08:11.969Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/24

Commit

13f7dc2b3879b1dd5a83010894e2fb9974ac52cd

Summary

ntp: Avoid including broken (on Coldfire) ieeefp.h header

The LDBL_EQ_DBL define in newlib.h is determined at GCC/newlib configure time and is shared between all 68k targets. The default 68k target for GCC supports long double (12 bytes), while the Coldfire ISA does not. This results in LDBL_EQ_DBL being undefined for Coldfire targets, even though double and long double are indeed equal. ieeefp.h has sanity checks that fail if LDBL_EQ_DBL is not defined when sizeof(long double) == sizeof(double).

A workaround is to avoid including this header. In this case, it doesn’t seem to be a necessary include anyway.

Closes #15

Author: Kinsey Moore

2025-03-19T17:24:01.177Z

assigned to @opticron

Author: Gedare Bloom

2025-05-08T23:06:23.395Z

This disables it for all targets. I’d like to get input from @chris

Author: Chris Johns

2025-05-08T23:06:23.395Z

I think we should to aim to have 3rd party code operate as close as possible to upstream. @jjl77 can the guard please be made conditional on m68k ?

Author: Jeremy Lorelli

2025-05-08T23:06:23.395Z

I’ve made the guard include __m68k__ in !25. Not sure if you also want me to apply an additional change to main, since !23 was merged there with this change.

Author: Kinsey Moore

2025-05-08T23:06:23.395Z

I have pulled that patch into this MR.

Author: Jeremy Lorelli

2025-04-08T00:24:07.391Z

mentioned in merge request !25

Author: Kinsey Moore

2025-05-08T12:59:05.252Z

added 1 commit

  • 784f2a43 - ntp: Avoid including broken (on Coldfire) ieeefp.h header

Compare with previous version

Author: Joel Sherrill

2025-05-08T23:06:23.412Z

resolved all threads

Author: Joel Sherrill

2025-05-08T23:07:34.710Z

approved this merge request

Author: Joel Sherrill

2025-05-08T23:07:47.259Z

added 2 commits

  • 6214c7e2 - 1 commit from branch rtems/pkg:6

  • 13f7dc2b - ntp: Avoid including broken (on Coldfire) ieeefp.h header

Compare with previous version

22 - 6/ntp: Fix a hang with sleeping workers and bad behavior with reverse time jumps

Id

22

State

merged

Merged by

Chris Johns

Merged at

2025-03-07T00:28:11.062Z

Assignee(s)

Kinsey Moore

Created

2025-03-06T20:32:04.428Z

Updated

2025-03-07T00:28:12.362Z

Milestone

6.2

Labels

pkg::network-services

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/22

Commit

561098489278a1088e41eec04288a9e5540b5cc6

Summary

This fixes a pair of issues with NTP, one causing a hang and one causing the NTP client to ignore the server until the previous time rolls back over.

Updates #13

Author: Kinsey Moore

2025-03-06T20:32:04.742Z

assigned to @opticron

Author: Kinsey Moore

2025-03-06T20:32:53.742Z

changed title from ntp: {-Ensure workers eventually process all request-}s to {+6/+}ntp: {+Fix a hang with sleeping workers and bad behavior with reverse time jump+}s

Author: Kinsey Moore

2025-03-06T20:32:53.773Z

changed the description

Author: Chris Johns

2025-03-07T00:28:05.378Z

approved this merge request

19 - bsd/ntp: Fix inifinite loop and crash

Id

19

State

merged

Merged by

Chris Johns

Merged at

2025-02-25T22:22:19.843Z

Assignee(s)

Kinsey Moore

Created

2025-02-25T16:03:53.357Z

Updated

2025-02-25T22:22:20.910Z

Milestone

6.2

Labels

libbsd, pkg::network-services

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/19

Commit

a7a9fe9199586c878a5a3d9bf84273e8c6c3cded

Summary

This is the backport MR for 6 branch for the NTP hang and crash fixes.

Closes #11

Author: Kinsey Moore

2025-02-25T16:03:53.556Z

assigned to @opticron

Author: Kinsey Moore

2025-02-25T16:35:04.782Z

changed title from bsd/ntp: {-Remove loop that can hang indefinitely-} to bsd/ntp: {+Fix inifinite loop and crash+}

Author: Chris Johns

2025-02-25T22:22:14.665Z

approved this merge request

25 - ntp: Avoid including broken (on Coldfire) ieeefp.h header (closed)

Id

25

State

closed

Closed by

Chris Johns

Created

2025-04-08T00:23:58.242Z

Closed

2025-04-18T22:25:07.783Z

Updated

2025-09-19T02:40:11.945Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/25

Commit

fce45f3caa2cf74ffa68a55562336625d07ec847

Summary

ntp: Avoid including broken (on Coldfire) ieeefp.h header

The LDBL_EQ_DBL define in newlib.h is determined at GCC/newlib configure time and is shared between all 68k targets. The default 68k target for GCC supports long double (12 bytes), while the Coldfire ISA does not. This results in LDBL_EQ_DBL being undefined for Coldfire targets, even though double and long double are indeed equal. ieeefp.h has sanity checks that fail if LDBL_EQ_DBL is not defined when sizeof(long double) == sizeof(double).

A workaround is to avoid including this header. In this case, it doesn’t seem to be a necessary include anyway.

Closes #15

Supersedes !24

Applied changes per @chris’s comment.

Author: Jeremy Lorelli

2025-04-08T00:24:58.195Z

mentioned in merge request !24

Author: Chris Johns

2025-04-25T19:34:29.023Z

I am confused about the need for this MR? You can force push to the branch used in !24 for any updates and a single MR tracks the evolution of the change. I prefer we do this so I will close this MR.

Author: Kinsey Moore

2025-04-25T19:34:28.989Z

Only users with elevated permissions can push to MR branches of other users.

Author: Jeremy Lorelli

2025-05-08T12:59:16.677Z

@chris That branch is on opticron’s fork of rtems-net-services, I don’t have push access to it.

Author: Kinsey Moore

2025-05-08T12:59:16.677Z

I have pushed this commit on to my MR.