Does anybody know in what situation "Maximum packet size exceeded in a request" from _sess_read() in snmp_api.c could happen? Is following related?
Here is what I found, msgMaxSize is set different between udp and tcp. Is it supposed to be the same? For tcp (in both snmplib/snmpTCPDomain.c and snmplib/snmpTCPDomain.c), it sets t->msgMaxSize = 0x7fffffff; For udp (snmplib/snmpUDPDomain.c) t->msgMaxSize = 0xffff - 8 - 20; For udp (snmplib/snmpUDPIPv6Domain.c) t->msgMaxSize = 0xffff - 8 - 40; For unix (snmplib/snmpUnixDomain.c) t->msgMaxSize = 0x7fffffff; Thanks, FT ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders