/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | kpi_interfacefilter.h | 66 @param cookie The cookie specified when this filter was attached. 81 typedef errno_t (*iff_input_func)(void* cookie, ifnet_t interface, protocol_family_t protocol, 91 @param cookie The cookie specified when this filter was attached. 101 typedef errno_t (*iff_output_func)(void* cookie, ifnet_t interface, protocol_family_t protocol, 111 @param cookie The cookie specified when this filter was attached. 115 typedef void (*iff_event_func)(void* cookie, ifnet_t interface, protocol_family_t protocol, 129 @param cookie Th [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | kpi_ipfilter.h | 74 @param cookie The cookie specified when your filter was attached. 85 typedef errno_t (*ipf_input_func)(void* cookie, mbuf_t *data, int offset, u_int8_t protocol); 95 @param cookie The cookie specified when your filter was attached. 103 typedef errno_t (*ipf_output_func)(void* cookie, mbuf_t *data, ipf_pktopts_t options); 110 @param cookie The cookie specified when your filter was attached. 112 typedef void (*ipf_detach_func)(void* cookie); 118 @field cookie 126 void* cookie; member in struct:ipf_filter [all...] |
H A D | ip_divert.h | 47 u_int16_t cookie; /* ipfw rule number */ member in struct:divert_tag 51 * Return the divert cookie associated with the mbuf; if any. 56 return ((struct divert_tag *)(mtag+1))->cookie;
|
H A D | kpi_ipfilter.c | 88 void* cookie = filter->ipf_filter.cookie; local 96 ipf_detach(cookie); 176 void* cookie = match->ipf_filter.cookie; local 191 ipf_detach(cookie);
|
H A D | ip_encap.c | 341 * Return value will be necessary as input (cookie) for encap_detach(). 453 encap_detach(cookie) 454 const struct encaptab *cookie; 456 const struct encaptab *ep = cookie;
|
H A D | in_pcb.h | 545 u_int cookie, 561 u_int *cookie);
|
H A D | in_pcb.c | 1445 u_int cookie, 1607 pcb->nat_cookie = cookie; 1668 u_int *cookie) 1722 *cookie = inp->nat_cookie; 1439 in_pcb_grab_port(struct inpcbinfo *pcbinfo, u_short options, struct in_addr laddr, u_short *lport, struct in_addr faddr, u_short fport, u_int cookie, u_char owner_id) argument 1665 in_pcb_get_owner(struct inpcbinfo *pcbinfo, struct in_addr laddr, u_short lport, struct in_addr faddr, u_short fport, u_int *cookie) argument
|
H A D | ip_divert.c | 112 * the matching ipfw rule), and they are tagged with a 16 bit cookie 116 * Packets written to the divert socket are again tagged with a cookie 121 * In both cases, the packet is tagged with the cookie. 126 * written in the cookie (so, tagging a packet with a cookie of 0 335 dt->cookie = sin->sin_port;
|
H A D | ip_output.c | 276 args.divert_rule = 0; /* divert cookie */ 306 args.divert_rule = div_tag->cookie; 702 result = filter->ipf_filter.ipf_output(filter->ipf_filter.cookie, (mbuf_t*)&m, ippo); 840 result = filter->ipf_filter.ipf_output(filter->ipf_filter.cookie, (mbuf_t*)&m, 0); 1037 result = filter->ipf_filter.ipf_output(filter->ipf_filter.cookie, (mbuf_t*)&m, 0);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | kpi_socketfilter.h | 158 this attachment and use the cookie to track it. This filter is 163 @param cookie Used to allow the socket filter to set the cookie for 169 typedef errno_t (*sf_attach_func)(void **cookie, socket_t so); 178 @param cookie Cookie value specified when the filter attach was 184 typedef void (*sf_detach_func)(void *cookie, socket_t so); 191 @param cookie Cookie value specified when the filter attach was 197 typedef void (*sf_notify_func)(void *cookie, socket_t so, 209 @param cookie Cookie value specified when the filter attach was 218 typedef int (*sf_getpeername_func)(void *cookie, socket_ [all...] |
H A D | kpi_socket.h | 62 @param cookie The cookie passed in when the socket was created. 65 typedef void (*sock_upcall)(socket_t so, void* cookie, int waitf); 83 @param cookie A cookie passed directly to the callback. 89 int flags, sock_upcall callback, void* cookie, socket_t *new_so); 296 @param cookie A cookie passed directly to the callback. 301 void* cookie, socket_t *new_so);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_catalog.h | 322 cat_cookie_t *cookie, 327 cat_cookie_t *cookie,
|
H A D | hfs_link.c | 141 cat_cookie_t cookie; local 159 bzero(&cookie, sizeof(cat_cookie_t)); 161 if ((retval = cat_preflight(hfsmp, (2 * CAT_CREATE)+ CAT_RENAME, &cookie, p))) { 350 cat_postflight(hfsmp, &cookie, p);
|
H A D | hfs_cnode.c | 80 cat_cookie_t cookie; local 217 if ((error = cat_preflight(hfsmp, CAT_DELETE, &cookie, p))) { 292 cat_postflight(hfsmp, &cookie, p);
|
H A D | hfs_vfsutils.c | 1194 cat_cookie_t cookie; local 1202 bzero(&cookie, sizeof(cookie)); 1276 if (cat_preflight(hfsmp, CAT_DELETE, &cookie, p) != 0) { 1374 cat_postflight(hfsmp, &cookie, p); 1402 cat_postflight(hfsmp, &cookie, p);
|
H A D | hfs_vnops.c | 1134 cat_cookie_t cookie; local 1186 if ((error = cat_preflight(hfsmp, CAT_EXCHANGE, &cookie, vfs_context_proc(ap->a_context)))) { 1305 cat_postflight(hfsmp, &cookie, vfs_context_proc(ap->a_context)); 2293 cat_cookie_t cookie; local 2570 if ((error = cat_preflight(hfsmp, CAT_RENAME + CAT_DELETE, &cookie, p))) { 2706 cat_postflight(hfsmp, &cookie, p);
|
H A D | hfs_catalog.c | 139 cat_preflight(struct hfsmount *hfsmp, catops_t ops, cat_cookie_t *cookie, __unused proc_t p) argument 147 result = BTReserveSpace(hfsmp->hfs_catalog_cp->c_datafork, ops, (void*)cookie); 157 cat_postflight(struct hfsmount *hfsmp, cat_cookie_t *cookie, __unused proc_t p) argument 164 (void) BTReleaseReserve(hfsmp->hfs_catalog_cp->c_datafork, (void*)cookie); 2672 /* The last item returns a non-zero invalid cookie */ 2770 * Also stuff the cnid in the upper 32 bits of the cookie. 2771 * The cookie is stored to the previous entry, which will
|
H A D | hfs_vfsops.c | 5030 cat_cookie_t cookie; local 5043 bzero(&cookie, sizeof(cookie)); 5057 if ((error = cat_preflight(hfsmp, CAT_RENAME, &cookie, p)) == 0) { 5070 cat_postflight(hfsmp, &cookie, p);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | ip6_fw.c | 197 struct ifnet *oif, u_int16_t *cookie, struct mbuf **m)); 536 * *cookie Ignore all divert/tee rules to this port (if non-zero) 538 * *cookie Skip up to the first rule past this rule number; 552 struct ifnet *oif, u_int16_t *cookie, struct mbuf **m) 562 u_int16_t skipto = *cookie; 564 u_int16_t ignport = ntohs(*cookie); 570 *cookie = 0; 776 *cookie = f->fw_number; 778 *cookie = htons(f->fw_divert_port); 551 ip6_fw_chk(struct ip6_hdr **pip6, struct ifnet *oif, u_int16_t *cookie, struct mbuf **m) argument
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | fasttrap_isa.c | 413 dtrace_icookie_t cookie; local 481 cookie = dtrace_interrupt_disable(); 486 dtrace_interrupt_enable(cookie);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs4_vnops.c | 651 nfsuint64 cookie; local 706 * If there is no cookie, assume directory was stale. 710 cookie = *cookiep; 759 cookie.nfsuquad[0] = 0; 760 cookie.nfsuquad[1] = 2; 787 nfsm_chain_add_32(error, &nmreq, cookie.nfsuquad[0]); 788 if ((cookie.nfsuquad[0] == 0) && (cookie.nfsuquad[1] <= 2)) 791 nfsm_chain_add_32(error, &nmreq, cookie.nfsuquad[1]); 822 nfsm_chain_get_32(error, &nmrep, cookie [all...] |
H A D | nfs_vnops.c | 4057 nfsuint64 cookie; local 4082 * If there is no cookie, assume directory was stale. 4086 cookie = *cookiep; 4106 nfsm_chain_add_32(error, &nmreq, cookie.nfsuquad[0]); 4107 nfsm_chain_add_32(error, &nmreq, cookie.nfsuquad[1]); 4111 nfsm_chain_add_32(error, &nmreq, cookie.nfsuquad[0]); 4211 nfsm_chain_get_32(error, &nmrep, cookie.nfsuquad[0]); 4213 nfsm_chain_get_32(error, &nmrep, cookie.nfsuquad[1]); 4267 *cookiep = cookie; 4289 nfsuint64 cookie; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | fasttrap_isa.c | 944 dtrace_icookie_t cookie; local 1044 cookie = dtrace_interrupt_disable(); 1049 dtrace_interrupt_enable(cookie); 1499 dtrace_icookie_t cookie; local 1583 cookie = dtrace_interrupt_disable(); 1589 dtrace_interrupt_enable(cookie);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kpi_socket.c | 67 void* cookie, 157 new_so->so_upcallarg = cookie; 61 sock_accept( socket_t sock, struct sockaddr *from, int fromlen, int flags, sock_upcall callback, void* cookie, socket_t *new_sock) argument
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace.c | 2280 dtrace_icookie_t cookie; 2285 cookie = dtrace_interrupt_disable(); 2288 dtrace_interrupt_enable(cookie); 2313 dtrace_interrupt_enable(cookie); 5280 dtrace_icookie_t cookie; 5301 cookie = dtrace_interrupt_disable(); 5317 dtrace_interrupt_enable(cookie); 5325 dtrace_interrupt_enable(cookie); 5982 dtrace_interrupt_enable(cookie); 7366 dtrace_icookie_t cookie; [all...] |