github.com/geniusesgroup/libgo@v0.0.0-20220713101832-828057a9d3d4/tcp/checksum.go (about)

     1  /* For license and copyright information please see LEGAL file in 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::: impelemnet 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