]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r345797:
authorAndrey V. Elsukov <ae@FreeBSD.org>
Wed, 1 May 2019 09:04:14 +0000 (09:04 +0000)
committerAndrey V. Elsukov <ae@FreeBSD.org>
Wed, 1 May 2019 09:04:14 +0000 (09:04 +0000)
commit875574a7303b5b173a7ca51521670c53c4188461
treeb9802f21e5de7fef0577ddeb8eff2c95d583e707
parent81871c2e877f7dda77d500173f193fdfb6a8a6f3
MFC r345797:
  Add IPv6 transport for bsnmp.

  This patch adds a new table begemotSnmpdTransInetTable that uses the
  InetAddressType textual convention and can be used to create listening
  ports for IPv4, IPv6, zoned IPv6 and based on DNS names. It also supports
  future extension beyond UDP by adding a protocol identifier to the table
  index. In order to support this gensnmptree had to be modified.

  Submitted by:   harti
  Relnotes:       yes
  Differential Revision:  https://reviews.freebsd.org/D16654
18 files changed:
contrib/bsnmp/gensnmptree/gensnmptree.1
contrib/bsnmp/gensnmptree/gensnmptree.c
contrib/bsnmp/lib/snmpclient.c
contrib/bsnmp/lib/snmpclient.h
contrib/bsnmp/lib/tc.def
contrib/bsnmp/snmpd/BEGEMOT-SNMPD.txt
contrib/bsnmp/snmpd/main.c
contrib/bsnmp/snmpd/snmpd.config
contrib/bsnmp/snmpd/snmpd.h
contrib/bsnmp/snmpd/snmpmod.h
contrib/bsnmp/snmpd/trans_inet.c [new file with mode: 0644]
contrib/bsnmp/snmpd/trans_inet.h [new file with mode: 0644]
contrib/bsnmp/snmpd/trans_lsock.c
contrib/bsnmp/snmpd/trans_udp.c
contrib/bsnmp/snmpd/tree.def
lib/libbsnmp/libbsnmp/Makefile
usr.sbin/bsnmpd/bsnmpd/Makefile
usr.sbin/bsnmpd/bsnmpd/snmpd.config