-
Notifications
You must be signed in to change notification settings - Fork 1.4k
net/vlan: add some macro for vlan #17677
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
base: master
Are you sure you want to change the base?
Conversation
|
@HedongGao please fix: |
acassis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@HedongGao please update our VLAN Documentation: https://nuttx.apache.org/docs/latest/components/drivers/special/net/vlan.html In fact, please improve it a little bit, because it is not explaining much about VLAN support on NuttX
5fcd526 to
77530c6
Compare
DONE! |
DONE! |
Refer: https://github.com/torvalds/linux/blob/v6.8/include/linux/if_vlan.h#L73-L76 Signed-off-by: gaohedong <[email protected]>
|
@HedongGao please fix: |
Refer:
https://github.com/torvalds/linux/blob/v6.8/include/linux/if_vlan.h#L73-L76
Note: Please adhere to Contributing Guidelines.
Summary
There are some standard Vlan message operations that require defining macro definitions related to Vlan. Referring to linux code, the following macro definitions have been added.
Refer:
https://github.com/torvalds/linux/blob/v6.8/include/linux/if_vlan.h#L73-L76
Impact
Adding macro definition information did not affect the Vlan functionality.
Testing
Set up a SIM environment, add VLAN interface through vconfig in SIM, add VLAN interface in the host side, ping SIM VLAN interface from the host side, and verify that VLAN function is normal.