2009/6/8 geri noorzaman <noorzaman...@yahoo.com>:
> So right now, how to implement the data type like the octet string like
> this? for example for mac address 'AA:BB:CC:DD:EE:FF'.

Try

    char address[6];
    address[0] = '0xaa';
    address[1] = '0xbb';
    address[2] = '0xcc';
    address[3] = '0xdd';
    address[4] = '0xee';
    address[5] = '0xff';

Dave

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
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