[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: system/681: include file bug (ip_opts structure)



The following reply was made to PR system/681; it has been noted by GNATS.

From: "Todd C. Miller" <Todd_(_dot_)_Miller_(_at_)_courtesan_(_dot_)_com>
To: dm_(_at_)_reeducation-labor_(_dot_)_lcs_(_dot_)_mit_(_dot_)_edu
Cc: gnats_(_at_)_openbsd_(_dot_)_org
Subject: Re: system/681: include file bug (ip_opts structure) 
Date: Thu, 31 Dec 1998 13:24:08 -0700

 Digital Unix gets around this by doing:
 struct ip_opts {
         struct  in_addr ip_dst;         /* first hop, 0 w/o src rt */
 #if defined(__cplusplus)
         char    Ip_opts[40];            /* cannot have same name as class */
 #else
         char    ip_opts[40];            /* actually variable in size */
 #endif
 };
 
 Which is pretty gross, but we may have to do something similar.