| /xnu-12377.1.9/bsd/netinet/ |
| H A D | in_var.h | 118 const struct ifaddr * __indexable : __ifatoia_const, \ 121 struct ifaddr * __indexable : __ifatoia) \ 146 const struct ifaddr * __indexable : __ifatoia_const, \ 149 struct ifaddr * __indexable : __ifatoia, \ 152 const struct in_ifaddr * __indexable : __iatoia_const, \ 155 struct in_ifaddr * __indexable : __iatoia) \
|
| H A D | in.c | 102 static int inctl_associd(struct socket *, u_long, caddr_t __indexable); 103 static int inctl_connid(struct socket *, u_long, caddr_t __indexable); 104 static int inctl_conninfo(struct socket *, u_long, caddr_t __indexable); 308 inctl_associd(struct socket *so, u_long cmd, caddr_t __indexable data) in inctl_associd() 344 inctl_connid(struct socket *so, u_long cmd, caddr_t __indexable data) in inctl_connid() 382 inctl_conninfo(struct socket *so, u_long cmd, caddr_t __indexable data) in inctl_conninfo()
|
| H A D | ip_output.c | 150 static int ip_optcopy(struct ip *__indexable, struct ip *__indexable); 2274 ip_optcopy(struct ip *__indexable ip, struct ip *__indexable jp) in ip_optcopy()
|
| /xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_classifier.c | 88 volatile struct ip *__indexable _iph; in flow_pkt_classify() 89 volatile struct ip6_hdr *__indexable _ip6; in flow_pkt_classify() 196 iph = (volatile struct ip *__indexable)(void *)pkt_buf_cpy; in flow_pkt_classify() 233 dst = (uint32_t *__indexable)(&pkt->pkt_flow_ipv4_addrs); in flow_pkt_classify() 277 dst = (uint64_t *__indexable)(void *)(&pkt->pkt_flow_ipv6_addrs); in flow_pkt_classify() 285 dst = (uint32_t *__indexable)(&pkt->pkt_flow_ipv6_addrs); in flow_pkt_classify()
|
| /xnu-12377.1.9/doc/building/ |
| H A D | bound_checks.md | 25 * when it is disabled, whether we should allow `__indexable` and 57 * (nothing): -fbounds-safety is disabled; it is an error to use `__indexable` 59 * `bound-checks-pending`: -fbounds-safety is disabled, but `__indexable` and 136 relating to -fbounds-safety. In this mode, -fbounds-safety's `__indexable` and 138 This is because `__indexable` and `__bidi_indexable` pointers are not 140 of `__indexable` or `__bidi_indexable` slipped into a header used by a set of 144 However, adopting -fbounds-safety may require the explicit use of `__indexable` 148 this flag causes `__indexable` and `__bidi_indexable` to expand to nothing, and
|
| /xnu-12377.1.9/bsd/net/ |
| H A D | bpf_filter.c | 87 get_word_from_buffers(u_char *__indexable cp, u_char *__indexable np, size_t num_from_cp) in get_word_from_buffers() 115 static u_char *__indexable 224 static void *__indexable 244 static u_char *__indexable
|
| H A D | nat464_utils.c | 125 char *ptrv4 = (char *)__DECONST(struct in_addr *__indexable, addrv4); in nat464_synthesize_ipv6() 126 char *ptr = (char *)__DECONST(struct in6_addr *__indexable, addr); in nat464_synthesize_ipv6() 211 char *ptrv4 = (char *)__DECONST(struct in_addr *__indexable, addrv4); in nat464_synthesize_ipv4() 212 char *ptr = (char *)__DECONST(struct in6_addr *__indexable, addr); in nat464_synthesize_ipv4() 218 if (memcmp((const struct in6_addr *__indexable)addr, &prefix, prefix_len) != 0) { in nat464_synthesize_ipv4()
|
| H A D | necp.c | 424 static struct necp_kernel_socket_policy ** __indexable necp_kernel_socket_policies_map[NECP_KERNEL_… 426 static struct necp_kernel_socket_policy ** __indexable necp_kernel_socket_policies_app_layer_map; 442 static struct necp_kernel_ip_output_policy ** __indexable necp_kernel_ip_output_policies_map[NECP_K… 470 …find_policy_match_with_info_locked(struct necp_kernel_socket_policy ** __indexable policy_search_a… 499 static bool necp_buffer_compare_with_bit_prefix(u_int8_t * __indexable p1, u_int8_t * __indexable p… 1129 u_int8_t * __indexable tlv_buffer = NULL; in necp_session_add_policy() 1180 u_int8_t * __indexable response = NULL; in necp_session_get_policy() 1294 u_int8_t * __indexable response = NULL; in necp_session_list_all() 2107 necp_buffer_write_tlv_validate(u_int8_t * __indexable cursor, u_int8_t type, u_int32_t length, in necp_buffer_write_tlv_validate() 2135 u_int8_t * __indexable next_tlv = (u_int8_t *)(cursor + sizeof(type) + sizeof(length) + length); [all …]
|
| H A D | siphash.c | 88 static const uint8_t *__indexable
|
| H A D | necp_client.c | 538 struct necp_client_interface_option * __indexable extra_interface_options; 802 struct necp_client_flow_stats * __indexable 841 …uint8_t * __indexable req_ptr = __unsafe_forge_bidi_indexable(uint8_t *, req, sizeof(struct necp_c… in flow_req_get_address() 858 …uint8_t * __indexable req_ptr = __unsafe_forge_bidi_indexable(uint8_t *, req, sizeof(struct necp_c… in flow_req_get_proto() 2851 …u_int8_t * __indexable value = necp_buffer_get_tlv_value(parameters, parameters_size, offset, NULL… in necp_client_update_local_port_parameters() 3101 …u_int8_t * __indexable value = necp_buffer_get_tlv_value(parameters, parameters_size, offset, NULL… in necp_client_parse_parameters() 3556 necp_client_parse_result(u_int8_t * __indexable result, in necp_client_parse_result() 3570 u_int8_t * __indexable value = necp_buffer_get_tlv_value(result, result_size, offset, NULL); in necp_client_parse_result() 4325 u_int8_t * __indexable assigned_results, in necp_assign_client_result_locked() 4856 u_int8_t * __indexable cursor = client->result; in necp_update_client_result() [all …]
|
| H A D | strict_type_cnv_private.h | 370 CV TAG TYPE * __indexable: CNV_F
|
| /xnu-12377.1.9/bsd/netinet6/ |
| H A D | in6.c | 187 static int in6ctl_associd(struct socket *, u_long, caddr_t __indexable); 188 static int in6ctl_connid(struct socket *, u_long, caddr_t __indexable); 189 static int in6ctl_conninfo(struct socket *, u_long, caddr_t __indexable); 190 static int in6ctl_llstart(struct ifnet *, u_long, caddr_t __indexable); 192 static int in6ctl_cgastart(struct ifnet *, u_long, caddr_t __indexable); 214 static struct in6_aliasreq *in6_aliasreq_to_native(void *__indexable, int, 416 lim = (u_char *)(struct in6_addr *__indexable)mask + sizeof(*mask); 418 for (p = (u_char *)(struct in6_addr *__indexable)mask; p < lim; x++, p++) { 537 in6_aliasreq_to_native(void *__indexable data, int data_is_64, struct in6_aliasreq *dst) in in6_aliasreq_to_native() 580 in6ctl_associd(struct socket *so, u_long cmd, caddr_t __indexable data) in in6ctl_associd() [all …]
|
| H A D | in6_var.h | 207 const struct ifaddr * __indexable : __ifatoia6_const, \ 210 struct ifaddr * __indexable : __ifatoia6) \
|
| H A D | ip6_output.c | 165 static int ip6_copyexthdr(struct mbuf **, caddr_t __indexable, int); 1999 ip6_copyexthdr(struct mbuf **mp, caddr_t __indexable hdr, int hlen) in ip6_copyexthdr() 3336 return sooptcopyout(sopt, (struct ip6_rthdr *__indexable)pktopt->ip6po_hbh, IP6_EXT_LEN(ip6e)); in ip6_getpcbopt() 3342 return sooptcopyout(sopt, (struct ip6_rthdr *__indexable)pktopt->ip6po_rthdr, IP6_EXT_LEN(ip6e)); in ip6_getpcbopt() 3348 return sooptcopyout(sopt, (struct ip6_dest *__indexable)pktopt->ip6po_dest1, IP6_EXT_LEN(ip6e)); in ip6_getpcbopt() 3354 return sooptcopyout(sopt, (struct ip6_dest *__indexable)pktopt->ip6po_dest2, IP6_EXT_LEN(ip6e)); in ip6_getpcbopt() 3359 …return sooptcopyout(sopt, (struct sockaddr *__indexable)pktopt->ip6po_nexthop, pktopt->ip6po_nexth… in ip6_getpcbopt()
|
| H A D | icmp6.c | 172 struct ifnet **, char *__indexable); 173 static int ni6_store_addrs(struct icmp6_nodeinfo *ni6, struct icmp6_nodeinfo *__indexable nni6, 1822 ni6_addrs(struct icmp6_nodeinfo *ni6, struct ifnet **ifpp, char *__indexable subj) in ni6_addrs() 1941 ni6_store_addrs(struct icmp6_nodeinfo *ni6, struct icmp6_nodeinfo *__indexable nni6, in ni6_store_addrs()
|
| /xnu-12377.1.9/EXTERNAL_HEADERS/ |
| H A D | ptrcheck.h | 42 #define __indexable __attribute__((__indexable__)) macro
|
| /xnu-12377.1.9/bsd/skywalk/mem/ |
| H A D | skmem_slab.c | 71 char *buf, *__indexable slab; in skmem_slab_create() 72 char *__indexable bufm; in skmem_slab_create() 112 struct skmem_bufctl *__indexable bc; in skmem_slab_create()
|
| H A D | skmem_region.c | 979 bitmap_t *__indexable bmap = skr->skr_seg_bmap; in skmem_region_destroy() 995 struct sksegment_bkt *__indexable htable = skr->skr_hash_table; in skmem_region_destroy() 1135 void *__indexable addr = NULL, *__indexable addr1 = NULL; in __sized_by() 1959 struct sksegment_bkt *__indexable old_table, *new_table; in skmem_region_hash_rescale()
|
| H A D | skmem.c | 436 static char *__indexable skmem_dump_buf;
|
| /xnu-12377.1.9/bsd/sys/ |
| H A D | constrained_ctypes.h | 529 #define __CCT_CONTRACT_ATTR___CCT_PTR __indexable
|
| H A D | cdefs.h | 1208 #define __indexable macro 1216 #define __header_indexable __indexable
|
| /xnu-12377.1.9/doc/primitives/ |
| H A D | string-handling.md | 26 | strncmp(first, secnd, n) | __null_terminated first | __indexable first | 29 | __indexable secnd | strlcmp(secnd, first, n2) | strbufcmp(first, n1, secnd, n2) | 37 > passing 'const char *__indexable' to parameter of incompatible type
|
| /xnu-12377.1.9/bsd/kern/ |
| H A D | tracker.c | 142 struct trackerhashhead * __indexable tracker_hashbase; 556 u_int8_t * __indexable buffer = scratch_pad; in tracker_add() 809 uint8_t * __indexable buffer = scratch_pad_all; in tracker_dump()
|
| H A D | kpi_socketfilter.c | 1022 const struct sockaddr *nam = (const struct sockaddr *__indexable)innam; in sflt_connectout() 1332 const struct sflt_filter *filter = (const struct sflt_filter *__indexable)infilter; in sflt_register_common()
|
| /xnu-12377.1.9/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule_inet.c | 165 volatile struct ip *__indexable _iph; in fill_inet_td() 166 volatile struct ip6_hdr *__indexable _ip6; in fill_inet_td()
|