/src/usr.bin/gzip/ |
zdiff | 111 check_suffix "$1" files filt 112 if [ -z "$filt" ]; then 116 $filt -- "$1" | $prog $flags -- - "$files" 120 check_suffix "$1" files filt 122 if [ -z "$filt" -a -z "$filt2" ]; then 124 elif [ -z "$filt" -a -n "$filt2" -a "$1" != "-" ]; then 126 elif [ -n "$filt" -a -z "$filt2" -a "$2" != "-" ]; then 127 $filt -- "$1" | $prog $flags -- - "$2" 132 ${filt:-cat} -- "$1" | $prog $flags -- - "$tmp"
|
/src/share/examples/rump/btplay/ |
btplay.c | 73 struct hci_filter filt; local in function:main 109 memset(&filt, 0, sizeof(filt)); 110 hci_filter_set(HCI_EVENT_COMMAND_COMPL, &filt); 111 hci_filter_set(HCI_EVENT_INQUIRY_RESULT, &filt); 112 hci_filter_set(HCI_EVENT_INQUIRY_COMPL, &filt); 113 hci_filter_set(HCI_EVENT_REMOTE_NAME_REQ_COMPL, &filt); 115 &filt, sizeof(filt)) == -1)
|
/src/usr.sbin/altq/libaltq/ |
quip_server.c | 265 struct flow_filter *filt; local in function:query_filterspec 285 filt = &fltrinfo->fltr; 287 if (filt->ff_flow.fi_family == AF_INET) { 290 if (filt->ff_flow.fi_dst.s_addr == 0) { 295 inet_ntoa(filt->ff_flow.fi_dst)); 296 if (filt->ff_mask.mask_dst.s_addr == 0xffffffff) 300 ntoh32(filt->ff_mask.mask_dst.s_addr)); 302 if (filt->ff_flow.fi_src.s_addr == 0) { 307 inet_ntoa(filt->ff_flow.fi_src)); 308 if (filt->ff_mask.mask_src.s_addr == 0xffffffff [all...] |
qop.c | 959 print_filter(const struct flow_filter *filt) 961 if (filt->ff_flow.fi_family == AF_INET) { 964 in_addr.s_addr = filt->ff_flow.fi_dst.s_addr; 967 inet_ntoa(in_addr), ntoh32(filt->ff_mask.mask_dst.s_addr), 968 ntoh16(filt->ff_flow.fi_dport)); 969 in_addr.s_addr = filt->ff_flow.fi_src.s_addr; 972 inet_ntoa(in_addr), ntoh32(filt->ff_mask.mask_src.s_addr), 973 ntoh16(filt->ff_flow.fi_sport)); 975 filt->ff_flow.fi_proto, filt->ff_flow.fi_tos [all...] |
altq_qop.h | 177 void print_filter(const struct flow_filter *filt);
|
/src/sys/altq/ |
altq_subr.c | 1348 apply_filter4(u_int32_t fbmask, struct flow_filter *filt, 1351 if (filt->ff_flow.fi_family != AF_INET) 1353 if ((fbmask & FIMB4_SPORT) && filt->ff_flow.fi_sport != pkt->fi_sport) 1355 if ((fbmask & FIMB4_DPORT) && filt->ff_flow.fi_dport != pkt->fi_dport) 1358 filt->ff_flow.fi_dst.s_addr != 1359 (pkt->fi_dst.s_addr & filt->ff_mask.mask_dst.s_addr)) 1362 filt->ff_flow.fi_src.s_addr != 1363 (pkt->fi_src.s_addr & filt->ff_mask.mask_src.s_addr)) 1365 if ((fbmask & FIMB4_PROTO) && filt->ff_flow.fi_proto != pkt->fi_proto) 1367 if ((fbmask & FIMB4_TOS) && filt->ff_flow.fi_tos ! [all...] |
altq_var.h | 81 LIST_HEAD(filt, acc_filter) acc_filters[ACC_FILTER_TABLESIZE];
|
/src/usr.sbin/mld6query/ |
mld6.c | 76 struct icmp6_filter filt; local in function:main 123 ICMP6_FILTER_SETBLOCKALL(&filt); 124 ICMP6_FILTER_SETPASS(ICMP6_MEMBERSHIP_QUERY, &filt); 125 ICMP6_FILTER_SETPASS(ICMP6_MEMBERSHIP_REPORT, &filt); 126 ICMP6_FILTER_SETPASS(ICMP6_MEMBERSHIP_REDUCTION, &filt); 127 if (setsockopt(sock, IPPROTO_ICMPV6, ICMP6_FILTER, &filt, 128 sizeof(filt)) < 0)
|
/src/sys/kern/ |
uipc_accf.c | 112 accept_filt_add(struct accept_filter *filt) 120 if (strcmp(p->accf_name, filt->accf_name) == 0) { 125 LIST_INSERT_HEAD(&accept_filtlsthd, filt, accf_next);
|
/src/usr.sbin/npf/npfctl/ |
npf_data.c | 684 fopts.filt.opt3.fo_from.ap_netaddr = src_addr; 685 fopts.filt.opt3.fo_from.ap_portrange = src_port; 687 fopts.filt.opt3.fo_to.ap_netaddr = dst_addr; 688 fopts.filt.opt3.fo_to.ap_portrange = dst_port; 703 fopts.filt.opt2.from_mac = src_addr; 705 fopts.filt.opt2.to_mac = dst_addr; 707 fopts.filt.opt2.ether_type = eth_type;
|
npf_build.c | 471 const addr_port_t *apfrom = &fopts->filt.opt3.fo_from; 472 const addr_port_t *apto = &fopts->filt.opt3.fo_to; 540 npfvar_t *ap_from = fopts->filt.opt2.from_mac; 541 npfvar_t *ap_to = fopts->filt.opt2.to_mac; 542 const uint16_t ether_type = fopts->filt.opt2.ether_type; 1095 memcpy(&imfopts.filt.opt3.fo_to, ap2, sizeof(imfopts.filt.opt3.fo_to)); 1102 memcpy(&imfopts.filt.opt3.fo_from, ap1, sizeof(imfopts.filt.opt3.fo_from));
|
npfctl.h | 91 } filt; member in struct:filt_opts
|
/src/sys/dev/ic/ |
bwivar.h | 99 #define CSR_FILT_SETBITS_4(sc, reg, filt, bits) \ 100 CSR_WRITE_4((sc), (reg), (CSR_READ_4((sc), (reg)) & (filt)) | (bits)) 101 #define CSR_FILT_SETBITS_2(sc, reg, filt, bits) \ 102 CSR_WRITE_2((sc), (reg), (CSR_READ_2((sc), (reg)) & (filt)) | (bits)) 817 #define MOBJ_FILT_SETBITS_2(mac, objid, ofs, filt, bits) \ 819 (MOBJ_READ_2((mac), (objid), (ofs)) & (filt)) | (bits)) 851 #define PHY_FILT_SETBITS(mac, ctrl, filt, bits) \ 852 PHY_WRITE((mac), (ctrl), (PHY_READ((mac), (ctrl)) & (filt)) | (bits)) 906 #define RF_FILT_SETBITS(mac, ofs, filt, bits) \ 907 RF_WRITE((mac), (ofs), (RF_READ((mac), (ofs)) & (filt)) | (bits) [all...] |
bwi.c | 2157 uint32_t filt, bits; local in function:bwi_mac_gpio_init 2165 filt = 0x1f; 2168 filt |= 0x60; 2173 filt |= 0x200; 2182 CSR_FILT_SETBITS_4(sc, BWI_GPIO_CTRL, filt, bits);
|
/src/sys/dev/acpi/ |
qcomgpio.c | 319 u_int n, filt; local in function:qcomgpio_acpi_fill_pdcmap 348 for (filt = 0; 349 filt < sc->sc_config->num_pdc_filter; 350 filt++) { 351 if (sc->sc_config->pdc_filter[filt] ==
|
/src/usr.sbin/rtadvd/ |
rtadvd.c | 1494 struct icmp6_filter filt; local in function:sock_open 1551 ICMP6_FILTER_SETBLOCKALL(&filt); 1552 ICMP6_FILTER_SETPASS(ND_ROUTER_SOLICIT, &filt); 1553 ICMP6_FILTER_SETPASS(ND_ROUTER_ADVERT, &filt); 1554 if (prog_setsockopt(sock, IPPROTO_ICMPV6, ICMP6_FILTER, &filt, 1555 sizeof(filt)) == -1) {
|
/src/sbin/ping6/ |
ping6.c | 727 struct icmp6_filter filt; local in function:main 729 ICMP6_FILTER_SETBLOCKALL(&filt); 732 ICMP6_FILTER_SETPASS(ICMP6_NI_REPLY, &filt); 734 ICMP6_FILTER_SETPASS(ICMP6_ECHO_REPLY, &filt); 736 ICMP6_FILTER_SETPASSALL(&filt); 738 if (prog_setsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, &filt, 739 sizeof(filt)) < 0)
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/ |
cpplint.py | 597 for filt in filters.split(','): 598 clean_filt = filt.strip() 601 for filt in self.filters: 602 if not (filt.startswith('+') or filt.startswith('-')): 604 ' (%s does not)' % filt)
|
/src/sys/net/ |
bpf.c | 1680 struct bpf_filter *filt; local in function:bpf_xfilter 1691 filt = atomic_load_consume(filter); 1692 if (filt == NULL) /* No filter means accept all. */ 1695 if (filt->bf_jitcode != NULL) 1696 slen = filt->bf_jitcode(NULL, &args); 1698 slen = bpf_filter_ext(NULL, filt->bf_insn, &args);
|
/src/tests/dev/audio/ |
audiotest.c | 3544 test_kqueue_mode(int openmode, int filt, int expected) 3554 (filt == EVFILT_READ) ? "READ" : "WRITE"); 3576 EV_SET(&kev, fd, filt, EV_ADD, 0, 0, 0); 3586 EV_SET(&kev, fd, filt, EV_DELETE, 0, 0, 0);
|