On 7 July 2010 10:16, sanjaykumar <sanjay.ku...@globaledgesoft.com> wrote:
> What will be value of macro "NETSNMP_ACCESS_ARP_IPADDR_BUF_SIZE" in
> following structure
>
> typedef struct netsnmp_arp_s

That depends on how you've compiled the software.
If you've enabled IPv6 support, then the 'arp_ipaddress'
buffer will be 16 bytes - big enough to hold either an
IPv4 or an IPv6 address.

If you haven't enabled IPv6 support, then the buffer
will be 4 bytes - big enough to hold an IPv4 address.
(It doesn't need to be any bigger than this for an IPv4-only
configuration, so it would be wasteful to make it larger)



> There are other structure also available which has similar
> macro for size of IP Address.

The same reasoning will doubtless apply there too.

Dave

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to