/systemd-251/src/libsystemd-network/ |
D | icmp6-util.c | 31 static int icmp6_bind_router_message(const struct icmp6_filter *filter, in icmp6_bind_router_message() argument 37 assert(filter); in icmp6_bind_router_message() 44 if (setsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, filter, sizeof(*filter)) < 0) in icmp6_bind_router_message() 86 struct icmp6_filter filter = {}; in icmp6_bind_router_solicitation() local 92 ICMP6_FILTER_SETBLOCKALL(&filter); in icmp6_bind_router_solicitation() 93 ICMP6_FILTER_SETPASS(ND_ROUTER_ADVERT, &filter); in icmp6_bind_router_solicitation() 95 return icmp6_bind_router_message(&filter, &mreq); in icmp6_bind_router_solicitation() 99 struct icmp6_filter filter = {}; in icmp6_bind_router_advertisement() local 105 ICMP6_FILTER_SETBLOCKALL(&filter); in icmp6_bind_router_advertisement() 106 ICMP6_FILTER_SETPASS(ND_ROUTER_SOLICIT, &filter); in icmp6_bind_router_advertisement() [all …]
|
D | lldp-network.c | 12 static const struct sock_filter filter[] = { in lldp_network_bind_raw_socket() local 27 .len = ELEMENTSOF(filter), in lldp_network_bind_raw_socket() 28 .filter = (struct sock_filter*) filter, in lldp_network_bind_raw_socket()
|
D | arp-util.c | 18 struct sock_filter filter[] = { in arp_update_filter() local 57 .len = ELEMENTSOF(filter), in arp_update_filter() 58 .filter = (struct sock_filter*) filter, in arp_update_filter()
|
D | dhcp-network.c | 28 struct sock_filter filter[] = { in _bind_raw_socket() local 77 .len = ELEMENTSOF(filter), in _bind_raw_socket() 78 .filter = filter in _bind_raw_socket()
|
/systemd-251/src/udev/ |
D | udev-builtin-hwdb.c | 22 const char *filter, bool test) { in udev_builtin_hwdb_lookup() argument 38 if (filter && fnmatch(filter, key, FNM_NOESCAPE) != 0) in udev_builtin_hwdb_lookup() 69 const char *filter, bool test) { in udev_builtin_hwdb_search() argument 107 r = udev_builtin_hwdb_lookup(dev, prefix, modalias, filter, test); in udev_builtin_hwdb_search() 129 const char *filter = NULL; in builtin_hwdb() local 148 filter = optarg; in builtin_hwdb() 167 r = udev_builtin_hwdb_lookup(dev, prefix, argv[optind], filter, test); in builtin_hwdb() 182 r = udev_builtin_hwdb_search(dev, srcdev, subsystem, prefix, filter, test); in builtin_hwdb()
|
D | udev-builtin.h | 82 const char *filter, bool test);
|
/systemd-251/shell-completion/zsh/ |
D | _systemd-analyze | 29 (( $+functions[_systemd-analyze_syscall-filter] )) || 30 _systemd-analyze_syscall-filter() { 32 _groups=( $(systemd-analyze --quiet --no-pager syscall-filter | grep '^@') ) 59 'syscall-filter:List syscalls in seccomp filters' 108 '--from-pattern=[When generating a dependency graph, filter only origins]:GLOB' \ 109 '--to-pattern=[When generating a dependency graph, filter only destinations]:GLOB' \
|
/systemd-251/src/shared/ |
D | bus-print-properties.c | 328 char **filter, in bus_message_print_all_properties() argument 358 if (!filter || strv_contains(filter, name) || in bus_message_print_all_properties() 359 (expected_value = strv_find_startswith(filter, name_with_equal))) { in bus_message_print_all_properties() 411 char **filter, in bus_print_all_properties() argument 433 return bus_message_print_all_properties(reply, func, filter, flags, found_properties); in bus_print_all_properties()
|
D | seccomp-util.c | 1071 int seccomp_load_syscall_filter_set_raw(uint32_t default_action, Hashmap* filter, uint32_t action, … in seccomp_load_syscall_filter_set_raw() argument 1078 if (hashmap_isempty(filter) && default_action == SCMP_ACT_ALLOW) in seccomp_load_syscall_filter_set_raw() 1091 HASHMAP_FOREACH_KEY(val, syscall_id, filter) { in seccomp_load_syscall_filter_set_raw() 1136 Hashmap *filter, in seccomp_parse_syscall_filter() argument 1145 assert(filter); in seccomp_parse_syscall_filter() 1169 …r = seccomp_parse_syscall_filter(i, errno_num, filter, flags &~ SECCOMP_PARSE_LOG, unit, filename,… in seccomp_parse_syscall_filter() 1191 r = hashmap_put(filter, INT_TO_PTR(id + 1), INT_TO_PTR(errno_num)); in seccomp_parse_syscall_filter() 1197 … assert_se(hashmap_update(filter, INT_TO_PTR(id + 1), INT_TO_PTR(errno_num)) == 0); in seccomp_parse_syscall_filter() 1203 (void) hashmap_remove(filter, INT_TO_PTR(id + 1)); in seccomp_parse_syscall_filter() 1879 int seccomp_filter_set_add(Hashmap *filter, bool add, const SyscallFilterSet *set) { in seccomp_filter_set_add() argument [all …]
|
D | bus-print-properties.h | 20 int bus_message_print_all_properties(sd_bus_message *m, bus_message_print_t func, char **filter, Bu… 21 …us, const char *dest, const char *path, bus_message_print_t func, char **filter, BusPrintPropertyF…
|
D | seccomp-util.h | 89 Hashmap *filter,
|
D | logs-show.c | 1650 _cleanup_free_ char *filter = NULL; in show_journal_by_unit() local 1652 filter = journal_make_match_string(j); in show_journal_by_unit() 1653 if (!filter) in show_journal_by_unit() 1656 log_debug("Journal filter: %s", filter); in show_journal_by_unit()
|
/systemd-251/src/libsystemd/sd-device/ |
D | device-monitor.c | 650 struct sock_fprog filter; in sd_device_monitor_filter_update() local 737 filter = (struct sock_fprog) { in sd_device_monitor_filter_update() 739 .filter = ins, in sd_device_monitor_filter_update() 741 if (setsockopt(m->sock, SOL_SOCKET, SO_ATTACH_FILTER, &filter, sizeof(filter)) < 0) in sd_device_monitor_filter_update() 815 static const struct sock_fprog filter = { 0, NULL }; in sd_device_monitor_filter_remove() local 826 if (setsockopt(m->sock, SOL_SOCKET, SO_DETACH_FILTER, &filter, sizeof(filter)) < 0) in sd_device_monitor_filter_remove()
|
/systemd-251/src/analyze/ |
D | meson.build | 34 'analyze-syscall-filter.c', 35 'analyze-syscall-filter.h',
|
/systemd-251/src/libsystemd/sd-bus/ |
D | test-bus-match.c | 13 static int filter(sd_bus_message *m, void *userdata, sd_bus_error *ret_error) { in filter() function 52 s->match_callback.callback = filter; in match_add()
|
/systemd-251/shell-completion/bash/ |
D | systemctl.in | 66 # filter out masked, not-found, or template units. 80 # filter out masked and not-found 88 # filter out masked and not-found 99 # filter out masked and not-found
|
D | systemd-analyze | 45 systemd-analyze syscall-filter --no-pager | while IFS= read -r line; do 67 [SECCOMP_FILTER]='syscall-filter'
|
D | systemd-nspawn | 72 … --network-ipvlan --network-veth-extra --network-zone -p --port --system-call-filter --overlay
|
/systemd-251/src/fstab-generator/ |
D | fstab-generator.c | 198 const char *filter, in write_timeout() argument 205 r = fstab_filter_options(opts, filter, NULL, &timeout, NULL, NULL); in write_timeout() 235 const char *filter, in write_dependency() argument 245 r = fstab_filter_options(opts, filter, NULL, NULL, &names, NULL); in write_dependency()
|
/systemd-251/src/shared/linux/ |
D | README | 5 - bpf_insn.h: BPF_JMP_A() macro is also imported from include/linux/filter.h
|
/systemd-251/src/libsystemd/sd-netlink/ |
D | sd-netlink.c | 1034 int sd_netlink_attach_filter(sd_netlink *nl, size_t len, struct sock_filter *filter) { in sd_netlink_attach_filter() argument 1036 assert_return(len == 0 || filter, -EINVAL); in sd_netlink_attach_filter() 1042 .filter = filter, in sd_netlink_attach_filter()
|
/systemd-251/src/network/ |
D | networkd-manager.c | 251 struct sock_filter filter[] = { in manager_setup_rtnl_filter() local 281 return sd_netlink_attach_filter(manager->rtnl, ELEMENTSOF(filter), filter); in manager_setup_rtnl_filter()
|
/systemd-251/src/coredump/ |
D | coredumpctl.c | 142 _cleanup_free_ char *filter = NULL; in acquire_journal() local 144 filter = journal_make_match_string(j); in acquire_journal() 145 log_debug("Journal filter: %s", filter); in acquire_journal()
|
/systemd-251/src/journal/ |
D | journalctl.c | 2460 _cleanup_free_ char *filter = NULL; in main() local 2462 filter = journal_make_match_string(j); in main() 2463 if (!filter) in main() 2466 log_debug("Journal filter: %s", filter); in main()
|
/systemd-251/src/systemd/ |
D | sd-netlink.h | 72 int sd_netlink_attach_filter(sd_netlink *nl, size_t len, struct sock_filter *filter);
|