Skip to content

net: ethernet l2: refactor sending side to use the ll_proto_type #83159

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

Closed
clamattia opened this issue Dec 18, 2024 · 3 comments
Closed

net: ethernet l2: refactor sending side to use the ll_proto_type #83159

clamattia opened this issue Dec 18, 2024 · 3 comments
Assignees
Labels
area: Networking Enhancement Changes/Updates/Additions to existing features

Comments

@clamattia
Copy link
Collaborator

Refactor ethernet.c layer 2 handling, such that all callers have to set the ll_proto_type flag to the correct value for the respective protocol instead of having custom bit-field for all supported protocols. This makes the stack more extensible with respect to layer 2 protocols.

Remove all is_X bit flags from the net_pkt structure.

@clamattia clamattia added the Enhancement Changes/Updates/Additions to existing features label Dec 18, 2024
@clamattia
Copy link
Collaborator Author

This would also resolve: #83157

@clamattia
Copy link
Collaborator Author

#83228

@clamattia
Copy link
Collaborator Author

#83228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

No branches or pull requests

3 participants