Found there to be 3 levels.  Reponses below:

 

-bash-2.05b# grep "struct protosw" *.h

-bash-2.05b# grep "struct protosw" */*.h

net/proto_uipc.h:struct protosw *pffindtype PROTO((int, int));

net/proto_uipc.h:struct protosw *pffindproto PROTO((int, int, int));

net/proto_uipc.h:int             protosw_enable PROTO((struct protosw
*));

net/proto_uipc.h:int             protosw_disable PROTO((struct protosw
*));

net/proto_uipc.h:int             protosw6_enable PROTO((struct protosw
*));

net/proto_uipc.h:int             protosw6_disable PROTO((struct protosw
*));

netinet/in6_var.h:extern        CONST struct protosw inet6sw[];

netinet/in_var.h:extern CONST struct protosw inetsw[];

netiso/cons_pcb.h:struct protosw;

netiso/cons_pcb.h:      struct protosw *co_proto;

netiso/iso.h:extern     struct protosw isosw[];

sys/domain.h:struct protosw;

sys/domain.h:   struct protosw *protosw;

sys/protosw.h:struct protosw {

sys/socketvar.h:struct protosw;

-bash-2.05b# grep "struct protosw" */*/*.h

-bash-2.05b# grep "struct protosw" */*/*/*.h

grep: 0652-033 Cannot open */*/*/*.h.

 

 

THANKS

 

Mike Lomax

Principal Systems Engineer,

Advanced Technology Solutions                  

Office (909) 379-0669 

Cell (951) 206-5852

[email protected]

 

                    

 

       Visit QuadraMed's Booth (#1601) at AHIMA

       October 2 - 5 in Salt Lake City, UT

       

 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Monday, August 22, 2011 8:27 AM
To: Lomax, Michael P.
Cc: [email protected]
Subject: Re: NET-SNMP Compile Errors

 

On 22 August 2011 16:23, Lomax, Michael P. <[email protected]> wrote:

> I did not find a protosw file in /usr/include and `grep "struct
protosw" *`

> while in /usr/include netted no results.

 

You probably need to look at files in subdirectories of /usr/include

 

Something like:

 

    $ cd /usr/include

    $ grep "struct protosw"  *.h

    $ grep "struct protosw"  */*.h

and maybe

    $ grep "struct protosw"  */*/*.h

 

I don't know how deep the include structure is on AIX,

but three levels is usually sufficient to catch everything.

 

 

Dave

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to