/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read.c | 463 struct archive_read_filter *filter, *tmp; in archive_read_open1() local 487 filter = calloc(1, sizeof(*filter)); in archive_read_open1() 488 if (filter == NULL) in archive_read_open1() 490 filter->bidder = NULL; in archive_read_open1() 491 filter->upstream = NULL; in archive_read_open1() 492 filter->archive = a; in archive_read_open1() 493 filter->data = a->client.dataset[0].data; in archive_read_open1() 494 filter->vtable = &none_reader_vtable; in archive_read_open1() 495 filter->name = "none"; in archive_read_open1() 496 filter->code = ARCHIVE_FILTER_NONE; in archive_read_open1() [all …]
|
H A D | archive_read_append_filter.c | 42 struct archive_read_filter *filter; in archive_read_append_filter() local 126 filter = calloc(1, sizeof(*filter)); in archive_read_append_filter() 127 if (filter == NULL) in archive_read_append_filter() 132 filter->bidder = bidder; in archive_read_append_filter() 133 filter->archive = a; in archive_read_append_filter() 134 filter->upstream = a->filter; in archive_read_append_filter() 135 a->filter = filter; in archive_read_append_filter() 136 r2 = (bidder->vtable->init)(a->filter); in archive_read_append_filter() 159 struct archive_read_filter *filter; in archive_read_append_filter_program_signature() local 182 filter = calloc(1, sizeof(*filter)); in archive_read_append_filter_program_signature() [all …]
|
H A D | archive_write_set_options.c | 95 struct archive_write_filter *filter; in archive_set_filter_option() 98 for (filter = a->filter_first; filter != NULL; filter = filter->next_filter) { in archive_set_filter_option() 99 if (filter->options == NULL) in archive_set_filter_option() 101 if (m != NULL && strcmp(filter->name, m) != 0) in archive_set_filter_option() 104 r = filter->options(filter, o, v); in archive_set_filter_option() 115 /* If the filter nam in archive_set_filter_option() 96 struct archive_write_filter *filter; archive_set_filter_option() local [all...] |
/freebsd/sys/net/ |
H A D | bpf_jitter.c | 68 bpf_jit_filter *filter; in bpf_jitter() local 72 filter = (struct bpf_jit_filter *)malloc(sizeof(*filter), in bpf_jitter() 75 filter = (struct bpf_jit_filter *)malloc(sizeof(*filter)); in bpf_jitter() 77 if (filter == NULL) in bpf_jitter() 82 filter->func = bpf_jit_accept_all; in bpf_jitter() 83 return (filter); in bpf_jitter() 87 if ((filter->func = bpf_jit_compile(fp, nins, &filter->size)) == NULL) { in bpf_jitter() 89 free(filter, M_BPFJIT); in bpf_jitter() 91 free(filter); in bpf_jitter() 96 return (filter); in bpf_jitter() [all …]
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_config.c | 145 uint32_t pt_filter_addr_cfg(const struct pt_conf_addr_filter *filter, uint8_t n) in pt_filter_addr_cfg() argument 147 if (!filter) in pt_filter_addr_cfg() 153 return (filter->config.addr_cfg >> (4 * n)) & 0xf; in pt_filter_addr_cfg() 156 uint64_t pt_filter_addr_a(const struct pt_conf_addr_filter *filter, uint8_t n) in pt_filter_addr_a() argument 160 if (!filter) in pt_filter_addr_a() 166 addr = &filter->addr0_a; in pt_filter_addr_a() 170 uint64_t pt_filter_addr_b(const struct pt_conf_addr_filter *filter, uint8_t n) in pt_filter_addr_b() argument 174 if (!filter) in pt_filter_addr_b() 180 addr = &filter->addr0_a; in pt_filter_addr_b() 184 static int pt_filter_check_cfg_filter(const struct pt_conf_addr_filter *filter, in pt_filter_check_cfg_filter() argument [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | filter.c | 411 struct filter *filter; in filter_Set() local 417 filter = &arg->bundle->filter.in; in filter_Set() 419 filter = &arg->bundle->filter.out; in filter_Set() 421 filter = &arg->bundle->filter.dial; in filter_Set() 423 filter = &arg->bundle->filter.alive; in filter_Set() 431 arg->argv + arg->argn + 1, filter->rule); in filter_Set() 505 struct filter *filter; in filter_Show() local 508 filter = &arg->bundle->filter.in; in filter_Show() 510 filter = &arg->bundle->filter.out; in filter_Show() 512 filter = &arg->bundle->filter.dial; in filter_Show() [all …]
|
/freebsd/usr.sbin/bluetooth/hccontrol/ |
H A D | hccontrol.c | 104 struct ng_btsocket_hci_raw_filter filter; in socket_open() 137 memset(&filter, 0, sizeof(filter)); in socket_open() 138 bit_set(filter.event_mask, NG_HCI_EVENT_COMMAND_COMPL - 1); in socket_open() 139 bit_set(filter.event_mask, NG_HCI_EVENT_COMMAND_STATUS - 1); in socket_open() 140 bit_set(filter.event_mask, NG_HCI_EVENT_INQUIRY_COMPL - 1); in socket_open() 141 bit_set(filter.event_mask, NG_HCI_EVENT_INQUIRY_RESULT - 1); in socket_open() 142 bit_set(filter.event_mask, NG_HCI_EVENT_CON_COMPL - 1); in socket_open() 143 bit_set(filter.event_mask, NG_HCI_EVENT_DISCON_COMPL - 1); in socket_open() 144 bit_set(filter in socket_open() 103 struct ng_btsocket_hci_raw_filter filter; socket_open() local [all...] |
/freebsd/sys/contrib/device-tree/scripts/ |
H A D | filter.sh | 32 git filter-branch --force \ 33 --index-filter ${SCRIPTS}/index-filter.sh \ 34 --msg-filter 'cat && /bin/echo -e "\n[ upstream commit: $GIT_COMMIT ]"' \ 35 --tag-name-filter 'while read t ; do /bin/echo -n $t-dts-raw ; done' \ 36 --parent-filter 'sed "s/-p //g" | xargs -r git show-branch --independent | sed "s/\</-p /g"' \ 37 --prune-empty --state-branch refs/heads/filter-state \
|
/freebsd/sys/kern/ |
H A D | kern_rctl.c | 764 rctl_rule_matches(const struct rctl_rule *rule, const struct rctl_rule *filter) in rctl_rule_matches() 769 if (filter->rr_subject_type != RCTL_SUBJECT_TYPE_UNDEFINED) { in rctl_rule_matches() 770 if (rule->rr_subject_type != filter->rr_subject_type) in rctl_rule_matches() 773 switch (filter->rr_subject_type) { in rctl_rule_matches() 775 if (filter->rr_subject.rs_proc != NULL && in rctl_rule_matches() 777 filter->rr_subject.rs_proc) in rctl_rule_matches() 781 if (filter->rr_subject.rs_uip != NULL && in rctl_rule_matches() 783 filter->rr_subject.rs_uip) in rctl_rule_matches() 787 if (filter->rr_subject.rs_loginclass != NULL && in rctl_rule_matches() 789 filter in rctl_rule_matches() 763 rctl_rule_matches(const struct rctl_rule * rule,const struct rctl_rule * filter) rctl_rule_matches() argument 926 rctl_racct_remove_rules(struct racct * racct,const struct rctl_rule * filter) rctl_racct_remove_rules() argument 1416 struct rctl_rule *filter = (struct rctl_rule *)arg2; rctl_rule_remove_callback() local 1431 rctl_rule_remove(struct rctl_rule * filter) rctl_rule_remove() argument 1610 struct rctl_rule *filter; sys_rctl_get_racct() local 1688 struct rctl_rule *filter = (struct rctl_rule *)arg2; rctl_get_rules_callback() local 1707 struct rctl_rule *filter; sys_rctl_get_rules() local 1793 struct rctl_rule *filter; sys_rctl_get_limits() local 1920 struct rctl_rule *filter; sys_rctl_remove_rule() local [all...] |
/freebsd/contrib/libpcap/testprogs/fuzz/ |
H A D | fuzz_filter.c | 14 char * filter; in LLVMFuzzerTestOneInput() local 27 filter = malloc(Size); in LLVMFuzzerTestOneInput() 28 memcpy(filter, Data, Size); in LLVMFuzzerTestOneInput() 30 filter[Size-1] = 0; in LLVMFuzzerTestOneInput() 32 if (pcap_compile(pkts, &bpf, filter, 1, PCAP_NETMASK_UNKNOWN) == 0) { in LLVMFuzzerTestOneInput() 40 free(filter); in LLVMFuzzerTestOneInput()
|
/freebsd/contrib/flex/src/ |
H A D | filter.c | 32 struct filter *output_chain = NULL; 41 struct filter *filter_create_ext (struct filter *chain, const char *cmd, in filter_create_ext() 44 struct filter *f; in filter_create_ext() 50 f = malloc(sizeof(struct filter)); in filter_create_ext() 96 struct filter *filter_create_int (struct filter *chain, in filter_create_int() argument 97 int (*filter_func) (struct filter *), in filter_create_int() 100 struct filter *f; in filter_create_int() 103 f = malloc(sizeof(struct filter)); in filter_create_int() 128 bool filter_apply_chain (struct filter * chain) in filter_apply_chain() 206 int filter_truncate (struct filter *chain, int max_len) in filter_truncate() [all …]
|
/freebsd/tests/sys/netinet6/frag6/ |
H A D | frag6_05.sh | 72 cat <<EOF > ${HOME}/filter-${jname}.txt 83 …count=`jexec ${jname} netstat -s -p udp --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 84 rm -f ${HOME}/filter-${jname}.txt 95 cat <<EOF > ${HOME}/filter-${jname}.txt 117 …count=`jexec ${jname} netstat -s -p ip6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 118 rm -f ${HOME}/filter-${jname}.txt 129 cat <<EOF > ${HOME}/filter-${jname}.txt 153 …count=`jexec ${jname} netstat -s -p icmp6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${j… 154 rm -f ${HOME}/filter-${jname}.txt 164 cat <<EOF > ${HOME}/filter-${jname}.txt [all …]
|
H A D | frag6_01.sh | 68 cat <<EOF > ${HOME}/filter-${jname}.txt 79 …count=`jexec ${jname} netstat -s -p udp --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 80 rm -f ${HOME}/filter-${jname}.txt 90 cat <<EOF > ${HOME}/filter-${jname}.txt 112 …count=`jexec ${jname} netstat -s -p ip6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 113 rm -f ${HOME}/filter-${jname}.txt 123 cat <<EOF > ${HOME}/filter-${jname}.txt 147 …count=`jexec ${jname} netstat -s -p icmp6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${j… 148 rm -f ${HOME}/filter-${jname}.txt 159 cat <<EOF > ${HOME}/filter-${jname}.txt [all …]
|
H A D | frag6_03.sh | 68 cat <<EOF > ${HOME}/filter-${jname}.txt 79 …count=`jexec ${jname} netstat -s -p udp --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 80 rm -f ${HOME}/filter-${jname}.txt 91 cat <<EOF > ${HOME}/filter-${jname}.txt 113 …count=`jexec ${jname} netstat -s -p ip6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 114 rm -f ${HOME}/filter-${jname}.txt 125 cat <<EOF > ${HOME}/filter-${jname}.txt 149 …count=`jexec ${jname} netstat -s -p icmp6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${j… 150 rm -f ${HOME}/filter-${jname}.txt 160 cat <<EOF > ${HOME}/filter-${jname}.txt [all …]
|
H A D | frag6_07.sh | 63 cat <<EOF > ${HOME}/filter-${jname}.txt 74 …count=`jexec ${jname} netstat -s -p udp --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 75 rm -f ${HOME}/filter-${jname}.txt 87 cat <<EOF > ${HOME}/filter-${jname}.txt 109 …count=`jexec ${jname} netstat -s -p ip6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 110 rm -f ${HOME}/filter-${jname}.txt 121 cat <<EOF > ${HOME}/filter-${jname}.txt 145 …count=`jexec ${jname} netstat -s -p icmp6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${j… 146 rm -f ${HOME}/filter-${jname}.txt 156 cat <<EOF > ${HOME}/filter-${jname}.txt [all …]
|
H A D | frag6_08.sh | 63 cat <<EOF > ${HOME}/filter-${jname}.txt 74 …count=`jexec ${jname} netstat -s -p udp --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 75 rm -f ${HOME}/filter-${jname}.txt 87 cat <<EOF > ${HOME}/filter-${jname}.txt 109 …count=`jexec ${jname} netstat -s -p ip6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 110 rm -f ${HOME}/filter-${jname}.txt 121 cat <<EOF > ${HOME}/filter-${jname}.txt 145 …count=`jexec ${jname} netstat -s -p icmp6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${j… 146 rm -f ${HOME}/filter-${jname}.txt 156 cat <<EOF > ${HOME}/filter-${jname}.txt [all …]
|
H A D | frag6_09.sh | 68 cat <<EOF > ${HOME}/filter-${jname}.txt 79 …count=`jexec ${jname} netstat -s -p udp --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 80 rm -f ${HOME}/filter-${jname}.txt 90 cat <<EOF > ${HOME}/filter-${jname}.txt 112 …count=`jexec ${jname} netstat -s -p ip6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 113 rm -f ${HOME}/filter-${jname}.txt 123 cat <<EOF > ${HOME}/filter-${jname}.txt 147 …count=`jexec ${jname} netstat -s -p icmp6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${j… 148 rm -f ${HOME}/filter-${jname}.txt 158 cat <<EOF > ${HOME}/filter-${jname}.txt [all …]
|
H A D | frag6_19.sh | 52 cat <<EOF > ${HOME}/filter-${jname}.txt 63 …count=`jexec ${jname} netstat -s -p udp --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 64 rm -f ${HOME}/filter-${jname}.txt 75 cat <<EOF > ${HOME}/filter-${jname}.txt 97 …count=`jexec ${jname} netstat -s -p ip6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 98 rm -f ${HOME}/filter-${jname}.txt 109 cat <<EOF > ${HOME}/filter-${jname}.txt 133 …count=`jexec ${jname} netstat -s -p icmp6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${j… 134 rm -f ${HOME}/filter-${jname}.txt 145 cat <<EOF > ${HOME}/filter-${jname}.txt [all …]
|
H A D | frag6_20.sh | 63 cat <<EOF > ${HOME}/filter-${jname}.txt 74 …count=`jexec ${jname} netstat -s -p udp --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 75 rm -f ${HOME}/filter-${jname}.txt 86 cat <<EOF > ${HOME}/filter-${jname}.txt 108 …count=`jexec ${jname} netstat -s -p ip6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 109 rm -f ${HOME}/filter-${jname}.txt 120 cat <<EOF > ${HOME}/filter-${jname}.txt 144 …count=`jexec ${jname} netstat -s -p icmp6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${j… 145 rm -f ${HOME}/filter-${jname}.txt 155 cat <<EOF > ${HOME}/filter-${jname}.txt [all …]
|
H A D | frag6_02.sh | 68 cat <<EOF > ${HOME}/filter-${jname}.txt 79 …count=`jexec ${jname} netstat -s -p udp --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 80 rm -f ${HOME}/filter-${jname}.txt 91 cat <<EOF > ${HOME}/filter-${jname}.txt 113 …count=`jexec ${jname} netstat -s -p ip6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 114 rm -f ${HOME}/filter-${jname}.txt 124 cat <<EOF > ${HOME}/filter-${jname}.txt 148 …count=`jexec ${jname} netstat -s -p icmp6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${j… 149 rm -f ${HOME}/filter-${jname}.txt 159 cat <<EOF > ${HOME}/filter-${jname}.txt [all …]
|
H A D | frag6_04.sh | 68 cat <<EOF > ${HOME}/filter-${jname}.txt 79 …count=`jexec ${jname} netstat -s -p udp --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 80 rm -f ${HOME}/filter-${jname}.txt 91 cat <<EOF > ${HOME}/filter-${jname}.txt 113 …count=`jexec ${jname} netstat -s -p ip6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 114 rm -f ${HOME}/filter-${jname}.txt 125 cat <<EOF > ${HOME}/filter-${jname}.txt 149 …count=`jexec ${jname} netstat -s -p icmp6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${j… 150 rm -f ${HOME}/filter-${jname}.txt 160 cat <<EOF > ${HOME}/filter-${jname}.txt [all …]
|
H A D | frag6_10.sh | 68 cat <<EOF > ${HOME}/filter-${jname}.txt 79 …count=`jexec ${jname} netstat -s -p udp --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 80 rm -f ${HOME}/filter-${jname}.txt 92 cat <<EOF > ${HOME}/filter-${jname}.txt 114 …count=`jexec ${jname} netstat -s -p ip6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 115 rm -f ${HOME}/filter-${jname}.txt 125 cat <<EOF > ${HOME}/filter-${jname}.txt 149 …count=`jexec ${jname} netstat -s -p icmp6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${j… 150 rm -f ${HOME}/filter-${jname}.txt 160 cat <<EOF > ${HOME}/filter-${jname}.txt [all …]
|
H A D | frag6_11.sh | 68 cat <<EOF > ${HOME}/filter-${jname}.txt 79 …count=`jexec ${jname} netstat -s -p udp --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 80 rm -f ${HOME}/filter-${jname}.txt 91 cat <<EOF > ${HOME}/filter-${jname}.txt 113 …count=`jexec ${jname} netstat -s -p ip6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${jna… 114 rm -f ${HOME}/filter-${jname}.txt 124 cat <<EOF > ${HOME}/filter-${jname}.txt 148 …count=`jexec ${jname} netstat -s -p icmp6 --libxo xml,pretty | grep -E -x -c -f ${HOME}/filter-${j… 149 rm -f ${HOME}/filter-${jname}.txt 159 cat <<EOF > ${HOME}/filter-${jname}.txt [all …]
|
/freebsd/share/examples/ppp/ |
H A D | ppp.conf.sample | 266 set filter alive 0 deny udp src eq 520 # routed 267 set filter alive 1 deny udp dst eq 520 # routed 268 set filter alive 2 deny udp src eq 513 # rwhod 269 set filter alive 3 deny udp src eq 525 # timed 270 set filter alive 4 deny udp src eq 137 # NetBIOS name service 271 set filter alive 5 deny udp src eq 138 # NetBIOS datagram service 272 set filter alive 6 deny tcp src eq 139 # NetBIOS session service 273 set filter alive 7 deny udp dst eq 137 # NetBIOS name service 274 set filter alive 8 deny udp dst eq 138 # NetBIOS datagram service 275 set filter alive 9 deny tcp dst eq 139 # NetBIOS session service [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | BIO_f_null.pod | 5 BIO_f_null - null filter 15 BIO_f_null() returns the null filter BIO method. This is a filter BIO 18 All requests to a null filter BIO are passed through to the next BIO in 19 the chain: this means that a BIO chain containing a null filter BIO 24 As may be apparent a null filter BIO is not particularly useful. 28 BIO_f_null() returns the null filter BIO method.
|