Are there any examples in the kernel source that implement a protocol within an LKM that runs over the transport modules (i.e. TCP or UDP modules which as I understand it are in ipv4/ipv6) ?

my_protocol -> tcp/udp -> ip

I'm wanting to learn to implement my own protocol within an LKM.

Thanks,