-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace AsSliceU8 trait with zerocopy::AsBytes for VirtioNetHdr struct.
Changed VirtioNetHdr to derive from AsBytes instead of AsSliceU8 and changed related functions as necessary. AsSliceU8 cannot be completely removed yet because of lack of support for deriving AsBytes for generics.
- Loading branch information
Joanne Chen
committed
Apr 21, 2023
1 parent
df7483d
commit 8644a76
Showing
4 changed files
with
37 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters