Hi-

I checked the /usr/include/net/if.h file on my Tru64 5.1A system, and it has
the if_output member of the ifnet struct defined with 5 arguments, not 4:

        int     (*if_output)(struct ifnet *, struct mbuf *,
                                struct sockaddr *, struct rtentry *, caddr_t);

The ipfilter code assumes that this function will have only the first 4 arguments.

Has anyone successfully built IP filter on Tru64 5.1A, and if so what
does the if_output element in your /usr/include/net/if.h file look like?

Thanks,
Toni

On Fri, 2 Aug 2002, Toni L. Harbaugh-Blackford wrote:

  > Hi-
  > 
  > I'm a new subscriber, so pardon me if this has been answered before.
  > 
  > Attempting to build the Tru64 5.1A version (ipf40a23.tar.gz)
  > I get the following error:
  > 
  > cc: Error: ../tools/ipftest.c, line 249: In this statement, "(*ifp->if_output)" 
expects 5 arguments, but 4 are supplied. (toofewargs)
  >                         (*ifp->if_output)(ifp, (void *)m, NULL, 0);
  > ------------------------^
  > 
  > Any ideas what the problem is?
  > 
  > -----------------------------------------------------------------------
  > Toni Harbaugh-Blackford                     [EMAIL PROTECTED]
  > AlphaServer 8400 System Administrator
  > SAIC/NCI Frederick Advanced Biomedical Computing Center
  > 
  > 

-----------------------------------------------------------------------
Toni Harbaugh-Blackford                     [EMAIL PROTECTED]
AlphaServer 8400 System Administrator
SAIC/NCI Frederick Advanced Biomedical Computing Center

Reply via email to