| /xnu-11215/bsd/sys/ |
| H A D | kpi_socketfilter.h | 181 typedef errno_t (*sf_attach_func)(void **cookie, socket_t so); 196 typedef void (*sf_detach_func)(void *cookie, socket_t so); 230 typedef int (*sf_getpeername_func)(void *cookie, socket_t so, 251 typedef int (*sf_getsockname_func)(void *cookie, socket_t so, 281 typedef errno_t (*sf_data_in_func)(void *cookie, socket_t so, 311 typedef errno_t (*sf_data_out_func)(void *cookie, socket_t so, 333 typedef errno_t (*sf_connect_in_func)(void *cookie, socket_t so, 355 typedef errno_t (*sf_connect_out_func)(void *cookie, socket_t so, 374 typedef errno_t (*sf_bind_func)(void *cookie, socket_t so, 433 typedef errno_t (*sf_listen_func)(void *cookie, socket_t so); [all …]
|
| H A D | kpi_socket.h | 78 typedef void (*sock_upcall)(socket_t so, void *cookie, int waitf); 92 typedef void (*sock_evupcall)(socket_t so, void *cookie, uint32_t event); 118 int flags, sock_upcall callback, void *cookie, socket_t *new_so); 120 #define sock_accept(so, from, fromlen, flags, callback, cookie, new_so) \ argument 122 (cookie), (new_so)) 125 int flags, sock_upcall callback, void *cookie, socket_t *new_so) 421 sock_upcall callback, void *cookie, socket_t *new_so); 423 #define sock_socket(domain, type, protocol, callback, cookie, new_so) \ argument 425 (callback), (cookie), (new_so)) 428 sock_upcall callback, void *cookie, socket_t *new_so)
|
| /xnu-11215/bsd/net/ |
| H A D | kpi_interfacefilter.h | 91 typedef errno_t (*iff_input_func)(void *cookie, ifnet_t interface, 114 typedef errno_t (*iff_output_func)(void *cookie, ifnet_t interface, 128 typedef void (*iff_event_func)(void *cookie, ifnet_t interface, 155 typedef errno_t (*iff_ioctl_func)(void *cookie, ifnet_t interface, 171 typedef void (*iff_detached_func)(void *cookie, ifnet_t interface);
|
| H A D | ntstat.c | 1538 if (cookie == NULL) { in nstat_tucookie_alloc_ref_internal() 1551 cookie->inp = inp; in nstat_tucookie_alloc_ref_internal() 1561 return cookie; in nstat_tucookie_alloc_ref_internal() 1798 if (cookie == NULL) { in nstat_tcp_add_watcher() 1841 if (cookie == NULL) { in nstat_tcp_new_pcb() 2359 if (cookie == NULL) { in nstat_udp_add_watcher() 2402 if (cookie == NULL) { in nstat_udp_new_pcb() 3928 cookie->ifp = ifp; in nstat_ifnet_lookup() 3930 *out_cookie = cookie; in nstat_ifnet_lookup() 3965 if (cookie->ifp == NULL) { in nstat_ifnet_lookup() [all …]
|
| H A D | packet_mangler.c | 131 static errno_t pktmnglr_ipfilter_output(void *cookie, mbuf_t *data, 133 static errno_t pktmnglr_ipfilter_input(void *cookie, mbuf_t *data, 135 static void pktmnglr_ipfilter_detach(void *cookie); 240 p_pkt_mnglr->pkt_mnglr_ipfilter.cookie = p_pkt_mnglr; in pkt_mnglr_ctl_connect() 689 pktmnglr_ipfilter_output(void *cookie, mbuf_t *data, ipf_pktopts_t options) in pktmnglr_ipfilter_output() argument 691 struct packet_mangler *p_pkt_mnglr = (struct packet_mangler *)cookie; in pktmnglr_ipfilter_output() 759 pktmnglr_ipfilter_input(void *cookie, mbuf_t *data, int offset, u_int8_t protocol) in pktmnglr_ipfilter_input() argument 761 struct packet_mangler *p_pkt_mnglr = (struct packet_mangler *)cookie; in pktmnglr_ipfilter_input() 1031 pktmnglr_ipfilter_detach(void *cookie) in pktmnglr_ipfilter_detach() argument 1033 #pragma unused(cookie) in pktmnglr_ipfilter_detach()
|
| H A D | iptap.c | 458 iptap_ipfinit.cookie = &iptap_ipf4; in iptap_ipf_register() 470 iptap_ipfinit.cookie = &iptap_ipf6; in iptap_ipf_register()
|
| H A D | if_bridge.c | 2244 bridge_iff_input(void *cookie, ifnet_t ifp, protocol_family_t protocol, in bridge_iff_input() argument 2249 struct bridge_iflist *bif = (struct bridge_iflist *)cookie; in bridge_iff_input() 2332 bridge_iff_output(void *cookie, ifnet_t ifp, protocol_family_t protocol, in bridge_iff_output() argument 2337 struct bridge_iflist *bif = (struct bridge_iflist *)cookie; in bridge_iff_output() 2363 bridge_iff_event(void *cookie, ifnet_t ifp, protocol_family_t protocol, in bridge_iff_event() argument 2367 struct bridge_iflist *bif = (struct bridge_iflist *)cookie; in bridge_iff_event() 2447 bridge_iff_detached(void *cookie, ifnet_t ifp) in bridge_iff_detached() argument 2449 #pragma unused(cookie) in bridge_iff_detached()
|
| H A D | pfvar.h | 976 u_int64_t cookie; member
|
| H A D | pf.c | 6062 as->u.ike.cookie = ike.initiator_cookie; in pf_test_rule() 6982 int64_t d = a->u.ike.cookie - b->u.ike.cookie; in pf_ike_compare() 7677 as.u.ike.cookie = ike.initiator_cookie; in pf_test_state_udp() 8395 as.u.ike.cookie = ike.initiator_cookie; in pf_test_state_icmp()
|
| /xnu-11215/bsd/netinet/ |
| H A D | kpi_ipfilter.h | 102 typedef errno_t (*ipf_input_func)(void *cookie, mbuf_t *data, int offset, 124 typedef errno_t (*ipf_output_func)(void *cookie, mbuf_t *data, 134 typedef void (*ipf_detach_func)(void *cookie); 148 void *cookie; member
|
| H A D | tcp_cache.h | 40 extern void tcp_cache_set_cookie(struct tcpcb *tp, u_char *__counted_by(len) cookie, u_int8_t len); 41 extern int tcp_cache_get_cookie(struct tcpcb *tp, u_char *__counted_by(buflen) cookie, uint8_t bufl… 68 u_int8_t *__counted_by(maxlen) cookie, u_int8_t maxlen, u_int8_t *cookie_len);
|
| H A D | kpi_ipfilter.c | 124 void *__single cookie = filter->ipf_filter.cookie; in ipf_unref() local 132 ipf_detach(cookie); in ipf_unref() 228 ipf_input_detached(void *cookie, mbuf_t *data, int offset, u_int8_t protocol) in ipf_input_detached() argument 230 #pragma unused(cookie, data, offset, protocol) in ipf_input_detached() 240 ipf_output_detached(void *cookie, mbuf_t *data, ipf_pktopts_t options) in ipf_output_detached() argument 242 #pragma unused(cookie, data, options) in ipf_output_detached() 268 void *__single cookie = match->ipf_filter.cookie; in ipf_remove() local 289 ipf_detach(cookie); in ipf_remove()
|
| H A D | tcp_cache.c | 442 tcp_cache_set_cookie_common(struct tcp_cache_key_src *tcks, u_char *__counted_by(len) cookie, uint8… in tcp_cache_set_cookie_common() argument 455 memcpy(tpcache->tc_tfo_cookie, cookie, tpcache->tc_tfo_cookie_len); in tcp_cache_set_cookie_common() 461 tcp_cache_set_cookie(struct tcpcb *tp, u_char *__counted_by(len) cookie, uint8_t len) in tcp_cache_set_cookie() argument 466 tcp_cache_set_cookie_common(&tcks, cookie, len); in tcp_cache_set_cookie() 471 u_char *__counted_by(maxlen) cookie, uint8_t maxlen, uint8_t *len) in tcp_cache_get_cookie_common() 494 memcpy(cookie, tpcache->tc_tfo_cookie, tpcache->tc_tfo_cookie_len); in tcp_cache_get_cookie_common() 511 tcp_cache_get_cookie(struct tcpcb *tp, u_char *__counted_by(maxlen) cookie, in tcp_cache_get_cookie() argument 517 return tcp_cache_get_cookie_common(&tcks, cookie, maxlen, len); in tcp_cache_get_cookie() 1440 uint8_t *__counted_by(maxlen) cookie, uint8_t maxlen, uint8_t *cookie_len) in tcp_heuristic_do_tfo_with_address() 1460 if (!tcp_cache_get_cookie_common(&tcks, cookie, maxlen, cookie_len)) { in tcp_heuristic_do_tfo_with_address()
|
| H A D | ip_encap.c | 424 encap_detach(const struct encaptab *cookie) in encap_detach() argument 426 const struct encaptab *ep = cookie; in encap_detach()
|
| H A D | ip_output.c | 1021 ipf_filter.cookie, in ip_output_list() 1190 ipf_output(filter->ipf_filter.cookie, in ip_output_list() 1556 ipf_output(filter->ipf_filter.cookie, in ip_output_list()
|
| H A D | ip_input.c | 663 filter->ipf_filter.cookie, (mbuf_t *)&m, in ip_proto_dispatch_in()
|
| /xnu-11215/bsd/kern/ |
| H A D | kpi_socket.c | 65 int flags, sock_upcall callback, void *cookie, socket_t *new_so); 70 int fromlen, int flags, sock_upcall callback, void *cookie, 77 sock_upcall callback, void *cookie, socket_t *new_sock, bool is_internal) in sock_accept_common() argument 187 sock_setupcalls_locked(new_so, callback, cookie, callback, cookie, 0); in sock_accept_common() 189 sock_setupcalls_locked(new_so, callback, cookie, NULL, NULL, 0); in sock_accept_common() 215 sock_upcall callback, void *cookie, socket_t *new_sock) in sock_accept() argument 218 callback, cookie, new_sock, false); in sock_accept() 223 sock_upcall callback, void *cookie, socket_t *new_sock) in sock_accept_internal() argument 226 callback, cookie, new_sock, true); in sock_accept_internal()
|
| H A D | uipc_mbuf2.c | 392 uintptr_t cookie; in m_tag_cookie_from_id_and_type() local 399 cookie = (((uintptr_t)tag->m_tag_type) << 32) | (uintptr_t)tag->m_tag_id; in m_tag_cookie_from_id_and_type() 405 cookie = (((uintptr_t)tag->m_tag_type) << 16) | (uintptr_t)tag->m_tag_id; in m_tag_cookie_from_id_and_type() 407 return cookie; in m_tag_cookie_from_id_and_type() 413 uintptr_t cookie = m_tag_cookie_from_id_and_type(tag); in m_tag_create_cookie() local 415 tag->m_tag_cookie = (uintptr_t) ptrauth_sign_unauthenticated((void *)cookie, in m_tag_create_cookie() 424 uintptr_t cookie = m_tag_cookie_from_id_and_type(tag); in m_tag_verify_cookie() local 431 if (cookie != auth_cookie) { in m_tag_verify_cookie()
|
| /xnu-11215/bsd/dev/i386/ |
| H A D | fasttrap_isa.c | 667 dtrace_icookie_t cookie; in fasttrap_return_common() local 735 cookie = dtrace_interrupt_disable(); in fasttrap_return_common() 751 dtrace_interrupt_enable(cookie); in fasttrap_return_common() 963 dtrace_icookie_t cookie; in fasttrap_pid_probe32() local 1067 cookie = dtrace_interrupt_disable(); in fasttrap_pid_probe32() 1072 dtrace_interrupt_enable(cookie); in fasttrap_pid_probe32() 1525 dtrace_icookie_t cookie; in fasttrap_pid_probe64() local 1613 cookie = dtrace_interrupt_disable(); in fasttrap_pid_probe64() 1619 dtrace_interrupt_enable(cookie); in fasttrap_pid_probe64()
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | ntstat.py | 215 def GetNstatTUCookieBrief(cookie): argument 223 tucookie = Cast(cookie, 'struct nstat_tucookie *')
|
| /xnu-11215/bsd/dev/arm64/ |
| H A D | fasttrap_isa.c | 934 dtrace_icookie_t cookie; local 1037 cookie = dtrace_interrupt_disable(); 1046 dtrace_interrupt_enable(cookie);
|
| /xnu-11215/bsd/dev/dtrace/ |
| H A D | dtrace.c | 3068 dtrace_icookie_t cookie; in dtrace_speculation_clean_here() local 6985 dtrace_icookie_t cookie; in dtrace_probe_enter() local 7003 return (cookie); in dtrace_probe_enter() 7052 dtrace_icookie_t cookie; in dtrace_probe() local 7067 dtrace_probe_exit(cookie); in dtrace_probe() 7073 dtrace_probe_exit(cookie); in dtrace_probe() 7774 dtrace_probe_exit(cookie); in dtrace_probe() 9278 dtrace_icookie_t cookie; in dtrace_probe_foreach() local 11973 dtrace_icookie_t cookie; in dtrace_buffer_switch() local 14509 dtrace_icookie_t cookie; in dtrace_state_go() local [all …]
|
| /xnu-11215/bsd/netinet6/ |
| H A D | ip6_input.c | 1411 filter->ipf_filter.cookie, in ip6_input()
|
| H A D | ip6_output.c | 903 filter->ipf_filter.cookie, in ip6_output_list()
|