I define several structures in a header file some structures have all thier members with constant values and some other structures have parts of their members with constant values
for those structures with constant members, is it possible to define a constant variable in the header file?
like in a header file tcp_option.h
struct tcp_opt_nop { _uint_t kind; /* it has a constant value 0x01*/ } so I want to define a constant variable, like
struct tcp_opt_nop opt_nop={ 0x01}; and then this variable can be used by other source files
definedirective?