Re: [systemd-devel] siphash24 gives unmatched bloom_mask and bloom_filter?

2015-06-09 Thread eshark77
Hi, David, I think I've found the reason for my problem. That is , with "arg0path=/p1/p2/p3", The sent signal should be sent with "arg0=/p1/p2/p3/", but not "arg0=/p1/p2/p3". Then Another question is, with "arg0path=/p1/p2", the signal sent with "arg0=/p1/p2/p3" should be received and

Re: [systemd-devel] siphash24 gives unmatched bloom_mask and bloom_filter?

2015-06-08 Thread David Herrmann
Hi On Mon, Jun 8, 2015 at 3:26 PM, wrote: > Hi, David >I just modified the src/libsystemd/sd-bus/test-bus-match.c. > And you could add the following two lines in the bloom_add_data() in > bus-bloom.c > for (i = 0; i < size/sizeof(uint64_t); i++) > log_info("bloom: filte

Re: [systemd-devel] siphash24 gives unmatched bloom_mask and bloom_filter?

2015-06-08 Thread eshark77
Hi, David I just modified the src/libsystemd/sd-bus/test-bus-match.c. And you could add the following two lines in the bloom_add_data() in bus-bloom.c for (i = 0; i < size/sizeof(uint64_t); i++) log_info("bloom: filter[%d] = 0x%llx",i, filter[i]); > Hi, All, > I us

Re: [systemd-devel] siphash24 gives unmatched bloom_mask and bloom_filter?

2015-06-05 Thread David Herrmann
Hi On Thu, Jun 4, 2015 at 2:07 PM, wrote: > Hi, All, > I use libsystemd.so for the kdbus protocol layer, and I met a > question that I added a signal matching rule by sd_bus_add_match() , then I > sent signal by sd_bus_send(). > But I couldn't receive this signal because its bloom_filter

[systemd-devel] siphash24 gives unmatched bloom_mask and bloom_filter?

2015-06-04 Thread eshark77
Hi, All, I use libsystemd.so for the kdbus protocol layer, and I met a question that I added a signal matching rule by sd_bus_add_match() , then I sent signal by sd_bus_send(). But I couldn't receive this signal because its bloom_filter caculated by siphash24() NOT match the bloom_mask