Home
last modified time | relevance | path

Searched refs:ptrv4 (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.61.12/bsd/net/
H A Dnat464_utils.c125 char *ptrv4 = (char *)__DECONST(struct in_addr *__indexable, addrv4); in nat464_synthesize_ipv6() local
151 memcpy(ptr + 12, ptrv4, 4); in nat464_synthesize_ipv6()
154 memcpy(ptr + 9, ptrv4, 4); in nat464_synthesize_ipv6()
157 memcpy(ptr + 7, ptrv4, 1); in nat464_synthesize_ipv6()
158 memcpy(ptr + 9, ptrv4 + 1, 3); in nat464_synthesize_ipv6()
161 memcpy(ptr + 6, ptrv4, 2); in nat464_synthesize_ipv6()
162 memcpy(ptr + 9, ptrv4 + 2, 2); in nat464_synthesize_ipv6()
165 memcpy(ptr + 5, ptrv4, 3); in nat464_synthesize_ipv6()
166 memcpy(ptr + 9, ptrv4 + 3, 1); in nat464_synthesize_ipv6()
169 memcpy(ptr + 4, ptrv4, 4); in nat464_synthesize_ipv6()
[all …]
/xnu-12377.61.12/bsd/netinet/
H A Dmptcp_subr.c538 const char *ptrv4 = (const char *)addrv4; in mptcp_synthesize_nat64() local
561 memcpy(ptr + 12, ptrv4, 4); in mptcp_synthesize_nat64()
564 memcpy(ptr + 9, ptrv4, 4); in mptcp_synthesize_nat64()
567 memcpy(ptr + 7, ptrv4, 1); in mptcp_synthesize_nat64()
568 memcpy(ptr + 9, ptrv4 + 1, 3); in mptcp_synthesize_nat64()
571 memcpy(ptr + 6, ptrv4, 2); in mptcp_synthesize_nat64()
572 memcpy(ptr + 9, ptrv4 + 2, 2); in mptcp_synthesize_nat64()
575 memcpy(ptr + 5, ptrv4, 3); in mptcp_synthesize_nat64()
576 memcpy(ptr + 9, ptrv4 + 3, 1); in mptcp_synthesize_nat64()
579 memcpy(ptr + 4, ptrv4, 4); in mptcp_synthesize_nat64()
[all …]