Home
last modified time | relevance | path

Searched refs:my_trans (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/bsnmp/snmpd/
H A Dtrans_udp.c73 static struct transport *my_trans; variable
78 return (trans_register(&udp_trans, &my_trans)); in udp_start()
84 if (my_trans != NULL) in udp_stop()
85 if (trans_unregister(my_trans) != 0) in udp_stop()
192 trans_insert_port(my_trans, &port->tport); in udp_open_port()
356 if ((p = (struct udp_port *)trans_next_port(my_trans, in op_snmp_port()
363 if ((p = (struct udp_port *)trans_find_port(my_trans, in op_snmp_port()
369 p = (struct udp_port *)trans_find_port(my_trans, in op_snmp_port()
396 p = (struct udp_port *)trans_find_port(my_trans, in op_snmp_port()
409 p = (struct udp_port *)trans_find_port(my_trans, in op_snmp_port()
H A Dtrans_lsock.c76 static struct transport *my_trans; variable
92 if (my_trans != NULL) { in lsock_stop()
93 if (!force && trans_first_port(my_trans) != NULL) in lsock_stop()
95 trans_iter_port(my_trans, lsock_remove, 0); in lsock_stop()
96 return (trans_unregister(my_trans)); in lsock_stop()
104 return (trans_register(&lsock_trans, &my_trans)); in lsock_start()
189 trans_insert_port(my_trans, &port->tport); in lsock_open_port()
585 if ((p = (struct lsock_port *)trans_next_port(my_trans, in op_lsock_port()
592 if ((p = (struct lsock_port *)trans_find_port(my_trans, in op_lsock_port()
598 p = (struct lsock_port *)trans_find_port(my_trans, in op_lsock_port()
H A Dtrans_inet.c175 static struct transport *my_trans; variable
206 return (trans_register(&inet_trans, &my_trans)); in inet_start()
218 if (my_trans != NULL) in inet_stop()
219 if (trans_unregister(my_trans) != 0) in inet_stop()
1097 trans_insert_port(my_trans, &port->tport); in inet_create()
1240 if ((port = (struct inet_port *)trans_next_port(my_trans, in op_snmp_trans_inet()
1247 if ((port = (struct inet_port *)trans_find_port(my_trans, in op_snmp_trans_inet()
1253 port = (struct inet_port *)trans_find_port(my_trans, in op_snmp_trans_inet()
1275 if ((port = (struct inet_port *)trans_find_port(my_trans, in op_snmp_trans_inet()
1303 if ((port = (struct inet_port *)trans_find_port(my_trans, in op_snmp_trans_inet()