package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev
# Functions
InitHostState initializes host parameters.
NewState returns an initialized floating point state.
# Constants
FP_SW_FRAME_OFFSET is the offset of FPSoftwareFrame in the fxsave/xsave area.
FP_XSTATE_MAGIC1 is the value of FPSoftwareFrame.Magic1.
FP_XSTATE_MAGIC2 is the value written to the 4 bytes inserted by Linux after the fxsave/xsave area in the signal frame.
FP_XSTATE_MAGIC2_SIZE is the size of FP_XSTATE_MAGIC2.
FXSAVE_AREA_SIZE is the size of the FXSAVE area.
XFEATURE_MASK_FPSSE is xsave features that are always enabled in signal frame fpstate.
# Structs
ErrLoadingState indicates a failed restore due to unusable floating point state.
FPSoftwareFrame is equivalent to struct _fpx_sw_bytes, the data stored by Linux in bytes 464:511 of the fxsave/xsave frame.
# Type aliases
State represents floating point state.