/systemd/src/libsystemd-network/ |
H A D | lldp-network.c | 21 #include <linux/filter.h> 36 struct sock_filter filter[] = { local 52 .len = ELEMENTSOF(filter), 53 .filter = filter
|
H A D | arp-util.c | 21 #include <linux/filter.h> 29 struct sock_filter filter[] = { local 77 .len = ELEMENTSOF(filter), 78 .filter = (struct sock_filter*) filter
|
H A D | icmp6-util.c | 44 struct icmp6_filter filter = { }; local 56 ICMP6_FILTER_SETBLOCKALL(&filter); 57 ICMP6_FILTER_SETPASS(ND_ROUTER_ADVERT, &filter); 58 r = setsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, &filter, sizeof(filter));
|
H A D | dhcp-network.c | 26 #include <linux/filter.h> 40 struct sock_filter filter[] = { local 88 .len = ELEMENTSOF(filter), 89 .filter = filter
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-bloom.c | 24 static inline void set_bit(uint64_t filter[], unsigned long b) { argument 25 filter[b >> 6] |= 1ULL << (b & 63); 40 uint64_t filter[], /* The filter bits */ 41 size_t size, /* Size of the filter in bytes */ 54 /* Determine bits in filter */ 57 /* Determine how many bytes we need to generate a bit index 0..m for this filter */ 82 set_bit(filter, p); 88 void bloom_add_pair(uint64_t filter[], size_t size, unsigned k, const char *a, const char *b) { argument 92 assert(filter); 39 bloom_add_data( uint64_t filter[], size_t size, unsigned k, const void *data, size_t n) argument 103 bloom_add_prefixes(uint64_t filter[], size_t size, unsigned k, const char *a, const char *b, char sep) argument [all...] |
H A D | test-bus-match.c | 29 static int filter(sd_bus_message *m, void *userdata, sd_bus_error *ret_error) { function 69 s->match_callback.callback = filter;
|
/systemd/src/udev/ |
H A D | udev-builtin-hwdb.c | 37 const char *filter, bool test) { 53 if (filter && fnmatch(filter, key, FNM_NOESCAPE) != 0) 85 const char *filter, bool test) { 122 r = udev_builtin_hwdb_lookup(dev, prefix, modalias, filter, test); 132 { "filter", required_argument, NULL, 'f' }, 138 const char *filter = NULL; local 156 filter = optarg; 175 if (udev_builtin_hwdb_lookup(dev, prefix, argv[optind], filter, test) > 0) 187 if (udev_builtin_hwdb_search(dev, srcdev, subsystem, prefix, filter, tes 35 udev_builtin_hwdb_lookup(struct udev_device *dev, const char *prefix, const char *modalias, const char *filter, bool test) argument 83 udev_builtin_hwdb_search(struct udev_device *dev, struct udev_device *srcdev, const char *subsystem, const char *prefix, const char *filter, bool test) argument [all...] |
H A D | udev-rules.c | 668 static int import_parent_into_properties(struct udev_device *dev, const char *filter) { argument 673 assert(filter); 683 if (fnmatch(filter, key, 0) == 0)
|
/systemd/src/coredump/ |
H A D | coredumpctl.c | 845 _cleanup_free_ char *filter; local 847 filter = journal_make_match_string(j); 848 log_debug("Journal filter: %s", filter);
|
/systemd/src/libudev/ |
H A D | libudev-monitor.c | 21 #include <linux/filter.h> 80 * used in the kernel from socket filter rules; needs to be stored in network order 283 * Update the installed socket filter. This is only needed, 284 * if the filter was removed or changed. 291 struct sock_fprog filter; local 379 /* install filter */ 380 memzero(&filter, sizeof(filter)); 381 filter.len = i; 382 filter 841 static struct sock_fprog filter = { 0, NULL }; local [all...] |
/systemd/src/bus-proxyd/ |
H A D | bus-xml-policy.c | 679 static int check_policy_item(PolicyItem *i, const struct policy_check_filter *filter) { argument 682 assert(filter); 688 if (i->name && !streq_ptr(i->name, filter->name)) 691 if ((i->message_type != 0) && (i->message_type != filter->message_type)) 694 if (i->path && !streq_ptr(i->path, filter->path)) 697 if (i->member && !streq_ptr(i->member, filter->member)) 700 if (i->interface && !streq_ptr(i->interface, filter->interface)) 706 assert(filter->name); 708 if (streq(i->name, "*") || streq(i->name, filter->name)) 713 assert(filter 739 check_policy_items(PolicyItem *items, const struct policy_check_filter *filter) argument 763 policy_check(Policy *p, const struct policy_check_filter *filter) argument 821 struct policy_check_filter filter = { local 844 struct policy_check_filter filter = { local 880 struct policy_check_filter filter = { local 949 struct policy_check_filter filter = { local [all...] |
/systemd/src/shared/ |
H A D | logs-show.c | 1280 _cleanup_free_ char *filter; local 1282 filter = journal_make_match_string(j); 1283 if (!filter) 1286 log_debug("Journal filter: %s", filter);
|
H A D | bus-util.c | 923 int bus_print_all_properties(sd_bus *bus, const char *dest, const char *path, char **filter, bool all) { argument 954 if (!filter || strv_find(filter, name)) {
|
/systemd/src/journal/ |
H A D | journalctl.c | 2218 log_error_errno(r, "Failed to add filter for units: %m"); 2224 log_error_errno(r, "Failed to add filter for syslog identifiers: %m"); 2237 _cleanup_free_ char *filter; local 2239 filter = journal_make_match_string(j); 2240 if (!filter) 2243 log_debug("Journal filter: %s", filter);
|