Recently I have inherited a nearly 7-year-old codebase, including the library, with the public headers along with IP, TCP definition,
# defined TCP_NODELAY 1 ).
I tried to find the headers with these strings but I could not find anything (this is primary on linux, but also various BSD-variants). Must definitely have a header for this?
I think that Edit : For most structures I am looking for: Does anyone have a clue about a structure with Vlan-header? Where You can see all the symbols at the same time by typing them in a file (one per line), and using net / ethernet.h helps with all definitions.
struct tcphdr in
netinet / tcp.h Netinet / ip.h in
netinet / udp.h
struct ip in struct udphdr >
TCP_NODELAY is the symbol you are looking for.
grep -f FILE .
Comments
Post a Comment