Skip to content

Conversation

@HedongGao
Copy link
Contributor

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.

@github-actions github-actions bot added Area: Networking Effects networking subsystem Size: S The size of the change in this PR is small labels Dec 25, 2025
@xiaoxiang781216
Copy link
Contributor

@HedongGao please fix:

/home/runner/work/nuttx/nuttx/nuttx/include/nuttx/net/ethernet.h:67: informations ==> information
Some checks failed. For contributing guidelines, see:
  https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md

Copy link
Contributor

@acassis acassis left a 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

@github-actions github-actions bot added the Area: Documentation Improvements or additions to documentation label Dec 25, 2025
@HedongGao
Copy link
Contributor Author

@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

DONE!

@HedongGao
Copy link
Contributor Author

@HedongGao please fix:

/home/runner/work/nuttx/nuttx/nuttx/include/nuttx/net/ethernet.h:67: informations ==> information
Some checks failed. For contributing guidelines, see:
  https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md

DONE!

@HedongGao HedongGao requested a review from acassis December 25, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Documentation Improvements or additions to documentation Area: Networking Effects networking subsystem Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants