Changeset View
Changeset View
Standalone View
Standalone View
contrib/bsnmp/snmpd/snmpd.h
Context not available. | |||||
int snmpd_input(struct port_input *, struct tport *); | int snmpd_input(struct port_input *, struct tport *); | ||||
void snmpd_input_close(struct port_input *); | void snmpd_input_close(struct port_input *); | ||||
void snmpd_input_init(struct port_input *); | |||||
/* | /* | ||||
* Transport domain | * Transport domain | ||||
*/ | */ | ||||
Context not available. | |||||
ssize_t (*send)(struct tport *, const u_char *, size_t, | ssize_t (*send)(struct tport *, const u_char *, size_t, | ||||
const struct sockaddr *, size_t); | const struct sockaddr *, size_t); | ||||
ssize_t (*recv)(struct tport *, struct port_input *); | ssize_t (*recv)(struct tport *, struct port_input *); | ||||
/** send via a multi-socket port */ | |||||
ssize_t (*send2)(struct tport *, const u_char *, size_t, | |||||
struct port_input *); | |||||
}; | }; | ||||
struct transport { | struct transport { | ||||
struct asn_oid index; /* transport table index */ | struct asn_oid index; /* transport table index */ | ||||
Context not available. |