If you try to send let's say a ICMP header (protocol number 1), although we don't have a correct fully serialization of ICMP it just set the ip protocol field accordingly (same way as it used to send protocol value 0 with whatever serialization), it shouldn't require a tp layer layer here. The tp transport layer for now is just for TCP (int 6) or UDP (int 17):
If you try to send let's say a ICMP header (protocol number 1), although we don't have a correct fully serialization of ICMP it just set the ip protocol field accordingly (same way as it used to send protocol value 0 with whatever serialization), it shouldn't require a
tp
layer layer here. Thetp
transport layer for now is just for TCP (int 6) or UDP (int 17):cc'ing @Alopalao