Page MenuHomeFreeBSD

bsnmpd: merge send and send2 methods for transports
ClosedPublic

Authored by glebius on Jul 16 2025, 6:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 12:21 PM
Unknown Object (File)
Mon, Oct 13, 12:21 PM
Unknown Object (File)
Mon, Oct 13, 12:21 PM
Unknown Object (File)
Sun, Oct 12, 11:45 PM
Unknown Object (File)
Thu, Oct 2, 3:12 PM
Unknown Object (File)
Aug 26 2025, 12:58 PM
Unknown Object (File)
Aug 26 2025, 12:29 PM
Unknown Object (File)
Aug 26 2025, 11:56 AM
Subscribers

Details

Summary

Shall be no functional change for normal SNMP sends, e.g. replies and
traps.

NB: for the inet_send() called from snmp_send_port() we now actually use
supplied address, but we could do a better job at finding matching socket.
However, it could be that snmp_send_port() is not used by any external
module, and in that case it is easier to just deprecate it as poorly
fitting design of the server. This will be checked with exp-run.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I think snmp_send_port() was use by the ILMI daemon for ATM to proxy the ILMI tree (which was visible only between the two ILMI instances over the ATM) link into the regular tree visible via UDP. Since ILMI is long dead (R.I.P.) there should be no problem fixing these things.

This revision is now accepted and ready to land.Jul 22 2025, 7:53 AM