github.com/GeniusesGroup/libgo@v0.0.0-20220929090155-5ff932cb408e/ipv4/flag.go (about)

     1  /* For license and copyright information please see LEGAL file in repository */
     2  
     3  package ipv4
     4  
     5  const (
     6  	Flag_Reserved byte = 0b10000000
     7  	Flag_DF       byte = 0b01000000
     8  	Flag_MF       byte = 0b00100000
     9  
    10  	// 00 – Non ECN-Capable Transport, Non-ECT
    11  	Flag_ECT0 byte = 0b00000010 // ECN Capable Transport
    12  	Flag_ECT1 byte = 0b00000001 // ECN Capable Transport
    13  	Flag_CE   byte = 0b00000011 // Congestion Encountered
    14  )