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

IP+UDP Stack over Ethernet for DHCP #17

Merged
merged 22 commits into from
Sep 16, 2023
Merged

IP+UDP Stack over Ethernet for DHCP #17

merged 22 commits into from
Sep 16, 2023

Conversation

soypat
Copy link
Owner

@soypat soypat commented Sep 13, 2023

Started adding the IP+TCP/UDP stack. Will try to get DHCP working as a first step.

@scottfeldman

@soypat soypat force-pushed the dhcp branch 2 times, most recently from 4b9d16f to 44fdb0c Compare September 14, 2023 13:07
@soypat soypat requested a review from scottfeldman September 16, 2023 17:40
@soypat soypat changed the title IP+TCP/UDP Stack over Ethernet for DHCP IP+UDP Stack over Ethernet for DHCP Sep 16, 2023
@soypat soypat merged commit c31dea4 into main Sep 16, 2023
@soypat soypat deleted the dhcp branch September 16, 2023 21:46
func (d *Device) rxEvent(packet []byte) error {
// Split packet into BDC header:payload.
if len(packet) < whd.BDC_HEADER_LEN+72 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check is redundant with DecodeEventPacket()

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.

2 participants