Home | History | Annotate | Download | only in libpcap

Lines Matching refs:handlep

56 	struct pcap_dbus *handlep = handle->priv;
66 message = dbus_connection_pop_message(handlep->conn);
70 if (!dbus_connection_read_write(handlep->conn, 100)) {
80 message = dbus_connection_pop_message(handlep->conn);
95 handlep->packets_read++;
109 struct pcap_dbus *handlep = handle->priv;
120 dbus_connection_send(handlep->conn, msg, NULL);
121 dbus_connection_flush(handlep->conn);
130 struct pcap_dbus *handlep = handle->priv;
132 stats->ps_recv = handlep->packets_read;
141 struct pcap_dbus *handlep = handle->priv;
143 dbus_connection_unref(handlep->conn);
162 struct pcap_dbus *handlep = handle->priv;
169 if (!(handlep->conn = dbus_bus_get(DBUS_BUS_SYSTEM, &error))) {
176 if (!(handlep->conn = dbus_bus_get(DBUS_BUS_SESSION, &error))) {
185 if (!(handlep->conn = dbus_connection_open(addr, &error))) {
191 if (!dbus_bus_register(handlep->conn, &error)) {
225 /* dbus_connection_set_max_message_size(handlep->conn, handle->snapshot); */
227 dbus_connection_set_max_received_size(handlep->conn, handle->opt.buffer_size);
230 dbus_bus_add_match(handlep->conn, rules[i], &error);
235 dbus_bus_add_match(handlep->conn, rules[i] + strlen(EAVESDROPPING_RULE), &error);