/usr/share/pyshared/pysnmp/carrier/asynsock/dgram/udp.py is in python-pysnmp4 4.2.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | # Implements asyncore-based UDP transport domain
from socket import AF_INET
from pysnmp.carrier.asynsock.dgram.base import DgramSocketTransport
domainName = snmpUDPDomain = (1, 3, 6, 1, 6, 1, 1)
class UdpSocketTransport(DgramSocketTransport):
sockFamily = AF_INET
UdpTransport = UdpSocketTransport
|