Page MenuHomeFreeBSD

LinuxKPI: add linux/{ip,tcp,udp}.h

Authored by bz on May 24 2021, 6:33 PM.



Add header files for struct and accessors for IPv4, UDP, and TCP.
Only parts of the fields of the structs have been seen while working
on wireless drivers. The remaining field names are filled up with
the FreeBSD field names for now. If you have insights into their
correct naming in Linux, feel free to adjust.

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Reviewed by:
Differential Revision:

Note that these files will depend on skbuff.h which is not in the tree
yet. Nevertheless this can be reviewed independently.

Diff Detail

rG FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.