Home
last modified time | relevance | path

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

/freebsd/contrib/bsnmp/snmpd/
H A Dtrans_lsock.c75 static struct transport *my_trans; variable
91 if (my_trans != NULL) { in lsock_stop()
92 if (!force && trans_first_port(my_trans) != NULL) in lsock_stop()
94 trans_iter_port(my_trans, lsock_remove, 0); in lsock_stop()
95 return (trans_unregister(my_trans)); in lsock_stop()
103 return (trans_register(&lsock_trans, &my_trans)); in lsock_start()
188 trans_insert_port(my_trans, &port->tport); in lsock_open_port()
566 if ((p = (struct lsock_port *)trans_next_port(my_trans, in op_lsock_port()
573 if ((p = (struct lsock_port *)trans_find_port(my_trans, in op_lsock_port()
579 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()
1095 trans_insert_port(my_trans, &port->tport); in inet_create()
1238 if ((port = (struct inet_port *)trans_next_port(my_trans, in op_snmp_trans_inet()
1245 if ((port = (struct inet_port *)trans_find_port(my_trans, in op_snmp_trans_inet()
1251 port = (struct inet_port *)trans_find_port(my_trans, in op_snmp_trans_inet()
1273 if ((port = (struct inet_port *)trans_find_port(my_trans, in op_snmp_trans_inet()
1301 if ((port = (struct inet_port *)trans_find_port(my_trans, in op_snmp_trans_inet()