Re: IPV6 Address handling

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/1/5 jayesh km <[email protected]>:
> I need to handle a MIB variable which is IPv6 address. Can someone please
> tell me how handle it in my code? What ASN type (like ASN_IPADDRESS) should
> i use and also what should be the datatype for the variable? (is it a
> character array?)

Have a look at the code in 'agent/mibgroup/mibII/ipv6.c'  for examples of how
this should be handled.   In particular, look at the end of the
routine 'var_udp6'
(which is probably one of the simpler examples).

Dave

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.