Re: Build failure on Sol 10 - "ip_ire.h" issue

"J.D. Bronson" <[email protected]>
Newsgroups gmane.comp.security.firewalls.ipfilter
Message-ID <32045_1232245706_497293C9_32045_9860_1_200901180227.n0I2RhIQ000500@cheyenne.hanadarko.com>
At 03:08 AM 1/18/2009 +0100, Darren Reed wrote:

> > /usr/include/inet/ip_ire.h:186: error: syntax error before '*' token
> > /usr/include/inet/ip_ire.h:190: error: syntax error before '}' token
>
>What's on those lines?
>
>Darren

This file was updated on the latest kernel patch (and the one just before it).
I can send the entire file if needed..

I ran 'vi' and here are the line numbers from that file:

    174  #define BUMP_IRE_STATS(ire_stats, x) atomic_add_64(&(ire_stats).x, 1)
    175
    176  #ifdef _KERNEL
    177  /*
    178   * Structure for passing args for the IRE cache lookup functions.
    179   */
    180  typedef struct ire_ctable_args_s {
    181          void                    *ict_addr;
    182          void                    *ict_gateway;
    183          int                     ict_type;
    184          const ipif_t            *ict_ipif;
    185          zoneid_t                ict_zoneid;
    186          const ts_label_t        *ict_tsl;
    187          int                     ict_flags;
    188          ip_stack_t              *ict_ipst;
    189          queue_t                 *ict_wq;
    190  } ire_ctable_args_t;
    191
    192  struct ts_label_s;
    193
    194  extern  ipaddr_t        ip_plen_to_mask(uint_t);
    195  extern  in6_addr_t      *ip_plen_to_mask_v6(uint_t, in6_addr_t *);
    196
    197  extern  int     ip_ire_advise(queue_t *, mblk_t *, cred_t *);
    198  extern  int     ip_ire_delete(queue_t *, mblk_t *, cred_t *);
    199  extern  boolean_t ip_ire_clookup_and_delete(ipaddr_t, ipif_t 
*, ip_stack_t *);
    200  extern  void    ip_ire_clookup_and_delete_v6(const in6_addr_t *,
    201      ip_stack_t *);
    202


-JD
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.