On (05/04/17 19:42), Oleg wrote: > > Hi, all. > > It seems struct ip and struct iphdr are similar: struct ip, despite of > it name, doesn't contain anything but ip header. > > So, my noob question, what is the difference between them? > > Thanks.
BSD vs linux? struct ip is a BSD-ism, intended to be used if you were porting some BSD app. --Sowmini