Setting snmpd DSCP/DiffServ values via setsockopt()
"Bob ONeil" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I need to set the DSCP (DiffServ) values for all traffic between snmpd and an external SNMP manager to a particular DSCP value. I am currently doing this in my own application using the setsockopt() API using the IPROTO_IP argument. Where would I add this code to the Net-SNMP code base so that for the UDP traffic between SNMP manager and snmpd has the proper DiffServ markings? This would be for UDP and IPv4. Is there a build configuration option when building Net-SNMP from source to do this? Assuming I wanted the value of the DSCP marking to be a soft coded, so I could provide it say as a command line argument or perhaps as a soft setting in the etc/sysconfig file, how might this be accomplished? ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ 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