Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2011 21:06:22 +0600
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        "net@freebsd.org" <net@freebsd.org>
Cc:        hackers@freebsd.org
Subject:   Querying bsnmpd through /var/run/snmpd.sock
Message-ID:  <4D3C43EE.8060307@rdtc.ru>

next in thread | raw e-mail | index | archive | help
Hi!

bsnmpd running with mibII module opens local socket /var/run/snmpd.sock
mentioned in snmp_mibII(3) manual page:

     The mibII module opens a socket that is used to execute all network
     related ioctl(2) functions.  This socket is globally available under the
     name mib_netsock.

How do I use the socket? I hope to be able to call mib_find_if_sys() function
from another process using the socket. Is there a documentation for this?

Eugene Grosbein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D3C43EE.8060307>