|
From: Bob O. <bo...@ci...> - 2012-03-31 15:29:25
|
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? |