Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement NTP #14

Merged
merged 6 commits into from
Jan 1, 2024
Merged

Implement NTP #14

merged 6 commits into from
Jan 1, 2024

Conversation

soypat
Copy link
Owner

@soypat soypat commented Jan 1, 2024

Still a WIP. Not sure what else is needed- maybe DNS to discover NTP services such as ntp://pool.ntp.org?

Copy link

codecov bot commented Jan 1, 2024

Codecov Report

Attention: 194 lines in your changes are missing coverage. Please review.

Comparison is base (289e517) 45.92% compared to head (01ef9ac) 44.26%.

Files Patch % Lines
stacks/ntp_client.go 0.00% 104 Missing ⚠️
eth/ntp/ntp.go 26.72% 82 Missing and 3 partials ⚠️
stacks/portstack.go 50.00% 2 Missing and 1 partial ⚠️
valuesize.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
- Coverage   45.92%   44.26%   -1.67%     
==========================================
  Files          22       24       +2     
  Lines        3874     4103     +229     
==========================================
+ Hits         1779     1816      +37     
- Misses       1873     2061     +188     
- Partials      222      226       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@soypat soypat changed the base branch from main to dns January 1, 2024 23:05
@soypat soypat merged commit 19a9616 into dns Jan 1, 2024
1 of 3 checks passed
@soypat soypat deleted the ntp branch January 1, 2024 23:07
soypat added a commit that referenced this pull request Jan 2, 2024
* add dns package

* redo api's and add append methods

* fix DNS message encode/decode test

* dns: add incomplete parsing feature

* prepare for ntp merge

* Implement NTP (#14)

* add ntp package

* finished NTP in the nick of time

* better NTP control flow

* more fixes to NTP API

* add ntp.Header.SetFlags

* correct ntp header; add more Timestamp tests

* flesh out dns logic

* flesh out more of DNS logic

* huge improvements to DHCP inspired by DNS client

* rename dhcpclient's Done->IsDone
soypat added a commit that referenced this pull request Apr 6, 2024
* add dns package

* redo api's and add append methods

* fix DNS message encode/decode test

* dns: add incomplete parsing feature

* prepare for ntp merge

* Implement NTP (#14)

* add ntp package

* finished NTP in the nick of time

* better NTP control flow

* more fixes to NTP API

* add ntp.Header.SetFlags

* correct ntp header; add more Timestamp tests

* flesh out dns logic

* flesh out more of DNS logic

* huge improvements to DHCP inspired by DNS client

* rename dhcpclient's Done->IsDone
soypat added a commit that referenced this pull request Apr 6, 2024
* add ntp package

* finished NTP in the nick of time

* better NTP control flow

* more fixes to NTP API

* add ntp.Header.SetFlags

* correct ntp header; add more Timestamp tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant