I notice that many demos with libnet, they build many headers(ip icmp arp ……) for payload(the data need to be send). I guess the link layer header must be built, because the libnet works in link layer, i am not sure it is right.
Now I want to forward some ip packets, can I just only build the ip header?