Searched refs:sa2 (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/bsd/netkey/ |
H A D | key_debug.c | 383 struct sadb_x_sa2 *sa2 = (struct sadb_x_sa2 *)ext; local 390 sa2->sadb_x_sa2_mode, sa2->sadb_x_sa2_reqid); 392 sa2->sadb_x_sa2_reserved1, sa2->sadb_x_sa2_reserved2, 393 sa2->sadb_x_sa2_sequence);
|
H A D | key.c | 5091 struct sockaddr *sa2, 5094 if (sa1->sa_family != sa2->sa_family || sa1->sa_len != sa2->sa_len) 5102 satosin(sa2)->sin_addr.s_addr) { 5105 if (port && satosin(sa1)->sin_port != satosin(sa2)->sin_port) 5112 satosin6(sa2)->sin6_scope_id) { 5116 &satosin6(sa2)->sin6_addr)) { 5120 satosin6(sa1)->sin6_port != satosin6(sa2)->sin6_port) { 5125 if (bcmp(sa1, sa2, sa1->sa_len) != 0) 5089 key_sockaddrcmp( struct sockaddr *sa1, struct sockaddr *sa2, int port) argument
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | uipc_socket2.c | 1868 struct sockaddr *sa2; local 1870 MALLOC(sa2, struct sockaddr *, sa->sa_len, M_SONAME, 1872 if (sa2) 1873 bcopy(sa, sa2, sa->sa_len); 1874 return (sa2);
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_socket.c | 127 nfs_sockaddr_cmp(struct sockaddr *sa1, struct sockaddr *sa2) argument 131 if (!sa2) 133 if (sa1->sa_family != sa2->sa_family) 134 return ((sa1->sa_family < sa2->sa_family) ? -1 : 1); 135 if (sa1->sa_len != sa2->sa_len) 136 return ((sa1->sa_len < sa2->sa_len) ? -1 : 1); 139 &((struct sockaddr_in*)sa2)->sin_addr, sizeof(((struct sockaddr_in*)sa1)->sin_addr))); 142 &((struct sockaddr_in6*)sa2)->sin6_addr, sizeof(((struct sockaddr_in6*)sa1)->sin6_addr)));
|
Completed in 108 milliseconds