/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kpi_socketfilter.c | 59 lck_group = lck_grp_alloc_init("socket filter lock", grp_attrib); 72 struct socket_filter *filter; local 76 TAILQ_FOREACH(filter, &proto->pr_filter_head, sf_protosw_next) { 77 sflt_attach_private(so, filter, 0, 0); 87 struct socket_filter_entry *filter; local 90 for (filter = so->so_filt; filter; filter = filter_next) { 91 filter_next = filter->sfe_next_onsocket; 92 sflt_detach_private(filter, 110 struct socket_filter_entry *filter; local 129 struct socket_filter_entry *filter; local 160 struct socket_filter_entry *filter; local 195 sflt_attach_private( struct socket *so, struct socket_filter *filter, sflt_handle handle, int sock_locked) argument 411 struct socket_filter_entry *filter; local 440 sflt_register( const struct sflt_filter *filter, int domain, int type, int protocol) argument 517 struct socket_filter *filter; local [all...] |
H A D | sys_socket.c | 200 /* Call the socket filter's ioctl handler for most ioctls */ 203 struct socket_filter_entry *filter; local 205 for (filter = so->so_filt; filter && error == 0; 206 filter = filter->sfe_next_onsocket) { 207 if (filter->sfe_filter->sf_filter.sf_ioctl) { 213 error = filter->sfe_filter->sf_filter. 214 sf_ioctl(filter->sfe_cookie, so, cmd, data);
|
/macosx-10.5.8/xnu-1228.15.4/pexpert/conf/ |
H A D | Makefile.i386 | 7 CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD)) 16 OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | kpi_interfacefilter.c | 40 const struct iff_filter *filter, 45 return dlil_attach_filter(interface, filter, filter_ref); 38 iflt_attach( ifnet_t interface, const struct iff_filter *filter, interface_filter_t *filter_ref) argument
|
H A D | dlil.c | 189 static int dlil_detach_filter_internal(interface_filter_t filter, int detached); 608 struct ifnet_filter *filter; local 610 MALLOC(filter, struct ifnet_filter *, sizeof(*filter), M_NKE, M_WAITOK); 611 if (filter == NULL) 613 bzero(filter, sizeof(*filter)); 616 filter->filt_ifp = ifp; 617 filter->filt_cookie = if_filter->iff_cookie; 618 filter 638 dlil_detach_filter_internal( interface_filter_t filter, int detached) argument 703 dlil_detach_filter(interface_filter_t filter) argument 955 struct ifnet_filter * filter; local 1134 struct ifnet_filter *filter; local 1253 struct ifnet_filter *filter; local [all...] |
H A D | kpi_interfacefilter.h | 49 @discussion iff_input_func is used to filter incoming packets. The 50 interface is only valid for the duration of the filter call. If 53 inbound filter are different from those passed to the outbound 54 filter. Packets to the inbound filter have the frame header 66 @param cookie The cookie specified when this filter was attached. 69 protocol when attaching your filter, the protocol will only ever 87 @discussion iff_output_func is used to filter fully formed outbound 89 filter call. If you need to keep a reference to the interface, 91 @param cookie The cookie specified when this filter wa [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/conf/ |
H A D | Makefile.i386 | 10 CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD)) 27 OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS)) 36 HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
|
H A D | Makefile.ppc | 9 CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD)) 27 OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS)) 49 HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
|
/macosx-10.5.8/xnu-1228.15.4/libkern/conf/ |
H A D | Makefile.i386 | 7 CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD)) 35 OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
|
/macosx-10.5.8/xnu-1228.15.4/libsa/conf/ |
H A D | Makefile.i386 | 7 CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD)) 29 OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | kpi_ipfilter.h | 62 @discussion ipf_input_func is used to filter incoming ip packets. 63 The IP filter is called for packets from all interfaces. The 64 filter is called between when the general IP processing is 67 as UDP in ESP (IPSec), your filter will be called once for ESP 68 and then again for UDP. This will give your filter an 74 @param cookie The cookie specified when your filter was attached. 90 @discussion ipf_output_func is used to filter outbound ip packets. 91 The IP filter is called for packets to all interfaces. The 92 filter is called before fragmentation and IPSec processing. If 95 @param cookie The cookie specified when your filter wa [all...] |
H A D | kpi_ipfilter.c | 53 * An IP filter can be removed only when kipf_ref is zero 54 * If an IP filter cannot be removed because kipf_ref is not null, then 55 * the IP filter is marjed and kipf_delayed_remove is set so that when 56 * kipf_ref eventually goes down to zero, the IP filter is removed 84 struct ipfilter *filter; local 86 while ((filter = TAILQ_FIRST(&tbr_filters))) { 87 ipf_detach_func ipf_detach = filter->ipf_filter.ipf_detach; 88 void* cookie = filter->ipf_filter.cookie; 90 TAILQ_REMOVE(filter->ipf_head, filter, ipf_lin 108 ipf_add( const struct ipf_filter* filter, ipfilter_t *filter_ref, struct ipfilter_list *head) argument 145 ipf_addv4( const struct ipf_filter* filter, ipfilter_t *filter_ref) argument 153 ipf_addv6( const struct ipf_filter* filter, ipfilter_t *filter_ref) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/platform/ |
H A D | Makefile | 33 EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS)) 36 INSTALL_KF_MI_LIST = $(filter-out $(NOT_KF_MI_HEADERS), $(ALL_HEADERS))
|
/macosx-10.5.8/xnu-1228.15.4/iokit/conf/ |
H A D | Makefile.i386 | 7 CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD)) 42 OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IOFilterInterruptEventSource.h | 44 @discussion An interrupt event source that calls the client to determine if a interrupt event needs to be scheduled on the work loop. A filter interrupt event source call's the client in the primary interrupt context, the client can then interrogate its hardware and determine if the interrupt needs to be processed yet. 46 As the routine is called in the primary interrupt context great care must be taken in the writing of this routine. In general none of the generic IOKit environment is safe to call in this context. We intend this routine to be used by hardware that can interrogate its registers without destroying state. Primarily this variant of event sources will be used by drivers that share interrupts. The filter routine will determine if the interrupt is a real interrupt or a ghost and thus optimise the work thread context switch away. 48 If you are implementing 'SoftDMA' (or pseudo-DMA), you may not want the I/O Kit to automatically start your interrupt handler routine on your work loop when your filter routine returns true. In this case, you may choose to have your filter routine schedule the work on the work loop itself and then return false. If you do this, the interrupt will not be disabled in hardware and you could receive additional primary interrupts before your work loop���level service routine completes. Because this scheme has implications for synchronization between your filter routine and your interrupt service routine, you should avoid doing this unless your driver requires SoftDMA. 100 @param filter 'C' Function to call when interrupt occurs. 107 Filter filter, 115 @param filter 'C' Function to call in primary interrupt context. 122 Filter filter, 129 @discussion Cause the work loop to schedule the interrupt action even if the filter routin [all...] |
H A D | Makefile | 54 EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS)) 58 INSTALL_KF_MI_LIST = $(filter-out $(NOT_KF_MI_HEADERS), $(ALL_HEADERS))
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | event.h | 80 short filter; /* filter for event */ member in struct:kevent 82 unsigned int fflags; /* filter-specific flags */ 83 intptr_t data; /* filter-specific data */ 95 short filter; /* filter for event */ member in struct:user_kevent 97 unsigned int fflags; /* filter-specific flags */ 98 int64_t data; /* filter-specific data */ 109 __kevp__->filter = (b); \ 128 #define EV_FLAG0 0x1000 /* filter [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/i386/ |
H A D | Makefile | 25 HEADER_LIST = $(filter-out $(EXCLUDE_HEADERS), $(ALL_HEADERS))
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/machine/ |
H A D | Makefile | 25 HEADER_LIST = $(filter-out $(EXCLUDE_HEADERS), $(ALL_HEADERS))
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/nvram/ |
H A D | Makefile | 32 EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS))
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/power/ |
H A D | Makefile | 32 EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS))
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ppc/ |
H A D | Makefile | 30 EXPORT_MD_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS))
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/rtc/ |
H A D | Makefile | 32 EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS))
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/system_management/ |
H A D | Makefile | 32 EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS))
|
/macosx-10.5.8/xnu-1228.15.4/bsd/conf/ |
H A D | Makefile.i386 | 7 CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD)) 123 OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
|