Home
last modified time | relevance | path

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

/xnu-8020.121.3/bsd/net/
H A Dnat464_utils.c125 char *ptrv4 = __DECONST(char *, 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-8020.121.3/bsd/netinet/
H A Dmptcp_subr.c720 const char *ptrv4 = (const char *)addrv4; in mptcp_synthesize_nat64() local
744 memcpy(ptr + 12, ptrv4, 4); in mptcp_synthesize_nat64()
747 memcpy(ptr + 9, ptrv4, 4); in mptcp_synthesize_nat64()
750 memcpy(ptr + 7, ptrv4, 1); in mptcp_synthesize_nat64()
751 memcpy(ptr + 9, ptrv4 + 1, 3); in mptcp_synthesize_nat64()
754 memcpy(ptr + 6, ptrv4, 2); in mptcp_synthesize_nat64()
755 memcpy(ptr + 9, ptrv4 + 2, 2); in mptcp_synthesize_nat64()
758 memcpy(ptr + 5, ptrv4, 3); in mptcp_synthesize_nat64()
759 memcpy(ptr + 9, ptrv4 + 3, 1); in mptcp_synthesize_nat64()
762 memcpy(ptr + 4, ptrv4, 4); in mptcp_synthesize_nat64()
[all …]