Home
last modified time | relevance | path

Searched refs:handlep (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/libpcap/
H A Dpcap-haiku.c87 struct pcap_haiku* handlep = (struct pcap_haiku*)handle->priv; in pcap_read_haiku() local
101 handlep->stat.ps_recv++; in pcap_read_haiku()
133 handlep->stat.ps_drop++; in pcap_read_haiku()
167 struct pcap_haiku *handlep = (struct pcap_haiku *)handle->priv; in get_promisc() local
169 if (ioctl_ifreq(handlep->aux_socket, SIOCGIFFLAGS, "SIOCGIFFLAGS", in get_promisc()
170 &handlep->ifreq, handle->errbuf) < 0) in get_promisc()
172 return (handlep->ifreq.ifr_flags & IFF_PROMISC) != 0; in get_promisc()
179 struct pcap_haiku *handlep = (struct pcap_haiku *)handle->priv; in set_promisc() local
181 handlep->ifreq.ifr_flags |= IFF_PROMISC; in set_promisc()
183 handlep->ifreq.ifr_flags &= ~IFF_PROMISC; in set_promisc()
[all …]
H A Dpcap-linux.c381 struct pcap_linux *handlep = handle->priv; in pcapint_create_interface() local
382 handlep->poll_breakloop_fd = -1; in pcapint_create_interface()
542 struct pcap_linux *handlep = handle->priv; in add_mon_if() local
623 handlep->mondevice = strdup(mondevice); in add_mon_if()
624 if (handlep->mondevice == NULL) { in add_mon_if()
792 struct pcap_linux *handlep = handle->priv; in pcap_cleanup_linux() local
798 if (handlep->must_do_on_close != 0) { in pcap_cleanup_linux()
804 if (handlep->must_do_on_close & MUST_DELETE_MONIF) { in pcap_cleanup_linux()
805 ret = nl80211_init(handle, &nlstate, handlep->device); in pcap_cleanup_linux()
808 handlep->device, handlep->mondevice); in pcap_cleanup_linux()
[all …]
H A Dpcap-dbus.c54 struct pcap_dbus *handlep = handle->priv; in dbus_read() local
64 message = dbus_connection_pop_message(handlep->conn); in dbus_read()
68 if (!dbus_connection_read_write(handlep->conn, 100)) { in dbus_read()
78 message = dbus_connection_pop_message(handlep->conn); in dbus_read()
93 handlep->packets_read++; in dbus_read()
107 struct pcap_dbus *handlep = handle->priv; in dbus_write() local
118 dbus_connection_send(handlep->conn, msg, NULL); in dbus_write()
119 dbus_connection_flush(handlep->conn); in dbus_write()
128 struct pcap_dbus *handlep = handle->priv; in dbus_stats() local
130 stats->ps_recv = handlep->packets_read; in dbus_stats()
[all …]
H A Dpcap-usb-linux.c288 struct pcap_usb_linux *handlep = handle->priv; in usb_mmap() local
302 handlep->mmapbuflen = len; in usb_mmap()
303 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, PROT_READ, in usb_mmap()
305 if (handlep->mmapbuf == MAP_FAILED) { in usb_mmap()
463 struct pcap_usb_linux *handlep = handle->priv; in usb_activate() local
490 if (sscanf(handle->opt.device, USB_IFACE"%d", &handlep->bus_index) != 1) in usb_activate()
502 handlep->bus_index); in usb_activate()
570 probe_devices(handlep->bus_index); in usb_activate()
597 probe_devices(handlep->bus_index); in usb_activate()
640 struct pcap_usb_linux *handlep = handle->priv; in usb_stats_linux_bin() local
[all …]
H A Dpcap-bt-linux.c194 struct pcap_bt *handlep = handle->priv; in bt_activate() local
233 handlep->dev_id = dev_id; in bt_activate()
278 addr.hci_dev = handlep->dev_id; in bt_activate()
284 errno, "Can't attach to device %d", handlep->dev_id); in bt_activate()
418 struct pcap_bt *handlep = handle->priv; in bt_stats_linux() local
422 dev_info.dev_id = handlep->dev_id; in bt_stats_linux()
H A Dpcap-netfilter-linux.c90 struct pcap_netfilter *handlep = handle->priv; in netfilter_read_linux() local
125 handlep->packets_nobufs++; in netfilter_read_linux()
262 handlep->packets_read++; in netfilter_read_linux()
317 struct pcap_netfilter *handlep = handle->priv; in netfilter_stats_linux() local
319 stats->ps_recv = handlep->packets_read; in netfilter_stats_linux()
320 stats->ps_drop = handlep->packets_nobufs; in netfilter_stats_linux()
H A Dpcap-septel.c252 struct pcap_septel *handlep = p->priv; in septel_stats() local
256 *ps = handlep->stat; in septel_stats()
/freebsd/sys/xen/
H A Dxen_intr.h64 enum intr_type irqflags, xen_intr_handle_t *handlep);
88 void *arg, enum intr_type irqflags, xen_intr_handle_t *handlep);
113 xen_intr_handle_t *handlep);
137 void *arg, enum intr_type irqflags, xen_intr_handle_t *handlep);
154 xen_intr_handle_t *handlep);
239 xen_intr_handle_t *handlep);
/freebsd/lib/libc/rpc/
H A Dgetnetpath.c140 getnetpath(void *handlep) in getnetpath() argument
142 struct netpath_vars *np_sessionp = (struct netpath_vars *)handlep; in getnetpath()
195 endnetpath(void *handlep) in endnetpath() argument
197 struct netpath_vars *np_sessionp = (struct netpath_vars *)handlep; in endnetpath()
H A Dgetnetconfig.c238 getnetconfig(void *handlep) in getnetconfig() argument
240 struct netconfig_vars *ncp = (struct netconfig_vars *)handlep; in getnetconfig()
375 endnetconfig(void *handlep) in endnetconfig() argument
377 struct netconfig_vars *nc_handlep = (struct netconfig_vars *)handlep; in endnetconfig()
/freebsd/sys/dev/sfxge/common/
H A Def10_nic.c705 __out efx_piobuf_handle_t *handlep) in efx_mcdi_alloc_piobuf() argument
712 if (handlep == NULL) { in efx_mcdi_alloc_piobuf()
735 *handlep = MCDI_OUT_DWORD(req, ALLOC_PIOBUF_OUT_PIOBUF_HANDLE); in efx_mcdi_alloc_piobuf()
855 efx_piobuf_handle_t *handlep; in ef10_nic_alloc_piobufs() local
864 handlep = &enp->en_arch.ef10.ena_piobuf_handle[i]; in ef10_nic_alloc_piobufs()
866 if (efx_mcdi_alloc_piobuf(enp, handlep) != 0) in ef10_nic_alloc_piobufs()
877 handlep = &enp->en_arch.ef10.ena_piobuf_handle[i]; in ef10_nic_alloc_piobufs()
879 (void) efx_mcdi_free_piobuf(enp, *handlep); in ef10_nic_alloc_piobufs()
880 *handlep = EFX_PIOBUF_HANDLE_INVALID; in ef10_nic_alloc_piobufs()
889 efx_piobuf_handle_t *handlep; in ef10_nic_free_piobufs() local
[all …]
H A Defx_mcdi.c817 __out uint32_t *handlep) in efx_mcdi_get_proxy_handle() argument
828 if ((emrp == NULL) || (handlep == NULL)) { in efx_mcdi_get_proxy_handle()
834 *handlep = emrp->emr_proxy_handle; in efx_mcdi_get_proxy_handle()
837 *handlep = 0; in efx_mcdi_get_proxy_handle()
H A Defx_mcdi.h107 __out uint32_t *handlep);
/freebsd/contrib/tcp_wrappers/
H A Dtli.c189 void *handlep; local
202 if ((handlep = setnetconfig()) == 0) {
206 while (config = getnetconfig(handlep)) {
/freebsd/sys/dev/drm2/
H A Ddrm_gem.c219 u32 *handlep) in drm_gem_handle_create() argument
224 *handlep = 0; in drm_gem_handle_create()
225 ret = drm_gem_name_create(&file_priv->object_names, obj, handlep); in drm_gem_handle_create()
234 drm_gem_handle_delete(file_priv, *handlep); in drm_gem_handle_create()
/freebsd/sys/fs/p9fs/
H A Dp9_transport.h40 int (*create)(const char *mount_tag, void **handlep);
/freebsd/sys/kern/
H A Dsubr_csan.c689 int flags, bus_space_handle_t *handlep) in kcsan_bus_space_map() argument
692 return (bus_space_map(tag, hnd, size, flags, handlep)); in kcsan_bus_space_map()
705 bus_size_t offset, bus_size_t size, bus_space_handle_t *handlep) in kcsan_bus_space_subregion() argument
708 return (bus_space_subregion(tag, hnd, offset, size, handlep)); in kcsan_bus_space_subregion()
716 bus_space_handle_t *handlep) in kcsan_bus_space_alloc() argument
720 boundary, flags, addrp, handlep)); in kcsan_bus_space_alloc()
H A Dsubr_asan.c903 int flags, bus_space_handle_t *handlep) in kasan_bus_space_map() argument
905 return (bus_space_map(tag, hnd, size, flags, handlep)); in kasan_bus_space_map()
917 bus_size_t offset, bus_size_t size, bus_space_handle_t *handlep) in kasan_bus_space_subregion() argument
919 return (bus_space_subregion(tag, hnd, offset, size, handlep)); in kasan_bus_space_subregion()
H A Dsubr_msan.c1369 int flags, bus_space_handle_t *handlep) in kmsan_bus_space_map() argument
1371 return (bus_space_map(tag, hnd, size, flags, handlep)); in kmsan_bus_space_map()
1383 bus_size_t offset, bus_size_t size, bus_space_handle_t *handlep) in kmsan_bus_space_subregion() argument
1385 return (bus_space_subregion(tag, hnd, offset, size, handlep)); in kmsan_bus_space_subregion()
/freebsd/sys/dev/virtio/p9fs/
H A Dvirtio_p9fs.c396 vt9p_create(const char *mount_tag, void **handlep) in vt9p_create() argument
426 *handlep = (void *)chan; in vt9p_create()
/freebsd/sys/dev/xen/bus/
H A Dxen_intr.c248 * \param handlep Pointer to an opaque handle used to manage this
1065 xen_intr_get_evtchn_from_port(evtchn_port_t port, xen_intr_handle_t *handlep) in xen_intr_get_evtchn_from_port()
1071 if (handlep == NULL) {
1084 *handlep = xen_intr_handle_from_isrc(xen_intr_port_to_isrc[port]); in xen_intr_print_type()
1046 xen_intr_get_evtchn_from_port(evtchn_port_t port,xen_intr_handle_t * handlep) xen_intr_get_evtchn_from_port() argument
/freebsd/stand/efi/libefi/
H A Deficom.c93 efi_serial_init(EFI_HANDLE **handlep, int *nhandles) in efi_serial_init() argument
120 *handlep = handles; in efi_serial_init()
/freebsd/sys/sys/
H A Dpmclog.h303 int pmclog_proc_create(struct thread *td, void **handlep);
/freebsd/sys/dev/xen/gntdev/
H A Dgntdev.c852 xen_intr_handle_t handlep = NULL; in copy_notify_helper() local
860 &handlep) != 0) in copy_notify_helper()
869 destination->notify_evtchn_handle = handlep; in copy_notify_helper()
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_logging.c301 pmclog_proc_create(struct thread *td, void **handlep) in pmclog_proc_create() argument
310 *handlep = ia; in pmclog_proc_create()

12