Lines Matching defs:handlep
54 struct pcap_dbus *handlep = handle->priv;
64 message = dbus_connection_pop_message(handlep->conn);
68 if (!dbus_connection_read_write(handlep->conn, 100)) {
78 message = dbus_connection_pop_message(handlep->conn);
93 handlep->packets_read++;
107 struct pcap_dbus *handlep = handle->priv;
118 dbus_connection_send(handlep->conn, msg, NULL);
119 dbus_connection_flush(handlep->conn);
128 struct pcap_dbus *handlep = handle->priv;
130 stats->ps_recv = handlep->packets_read;
139 struct pcap_dbus *handlep = handle->priv;
141 dbus_connection_unref(handlep->conn);
182 struct pcap_dbus *handlep = handle->priv;
189 if (!(handlep->conn = dbus_bus_get(DBUS_BUS_SYSTEM, &error))) {
196 if (!(handlep->conn = dbus_bus_get(DBUS_BUS_SESSION, &error))) {
205 if (!(handlep->conn = dbus_connection_open(addr, &error))) {
211 if (!dbus_bus_register(handlep->conn, &error)) {
278 /* dbus_connection_set_max_message_size(handlep->conn, handle->snapshot); */
280 dbus_connection_set_max_received_size(handlep->conn, handle->opt.buffer_size);
283 dbus_bus_add_match(handlep->conn, rules[i], &error);
288 dbus_bus_add_match(handlep->conn, rules[i] + strlen(EAVESDROPPING_RULE), &error);