/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/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/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...] |
/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/npf/npfctl/ |
npfctl.h | 91 } filt; member in struct:filt_opts
|
/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/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/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/dev/ic/ |
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);
|