func (hdr *MPLSHdr) GetMPLSS() uint32 {
	return (SwapBytesUint32(hdr.mpls) >> 8) & 1
}
GetMPLSS returns the Bottom-Of-Stack value
package packet
import (
	"fmt"
	"unsafe"
	. "github.com/intel-go/nff-go/types"
)
type MPLSHdr struct {
	mpls uint32  
}
func (hdr *MPLSHdr) String() string {
	return fmt.Sprintf(`MPLS: Label: %d, EXP: %d, S: %d TTL: %d`,
		hdr.GetMPLSLabel(), hdr.GetMPLSTC(), hdr.GetMPLSS(), hdr.GetMPLSTTL())
}
func (hdr *MPLSHdr) GetMPLSLabel() uint32 {
	return SwapBytesUint32(hdr.mpls) >> 12
}
func (hdr *MPLSHdr) SetMPLSLabel(tag uint32) {
	hdr.mpls = SwapBytesUint32((SwapBytesUint32(hdr.mpls) & 0xfff) | (tag << 12))
}
func (hdr *MPLSHdr) GetMPLSTC() uint32 {
	return (SwapBytesUint32(hdr.mpls) >> 9) & 0x00000007
}