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

     1  /* For license and copyright information please see the LEGAL file in the code repository */
     2  
     3  package tcp
     4  
     5  const (
     6  	// https://en.wikipedia.org/wiki/List_of_IP_protocol_numbers
     7  	tcpProtocolNumberOverIP byte = 0x06
     8  )
     9  
    10  // TODO::: impelemenet checksums over IPv4, IPv6, standalone
    11  // https://github.com/google/gopacket/blob/master/layers/tcpip.go
    12  // https://github.com/tass-belgium/picotcp/blob/master/modules/pico_tcp.c