/freebsd/lib/libipsec/ |
H A D | ipsec_dump_policy.c | 219 struct sockaddr *sa1, *sa2; in ipsec_dump_ipsecrequest() local 224 sa2 = (struct sockaddr *)(p + sa1->sa_len); in ipsec_dump_ipsecrequest() 225 if (sizeof(*xisr) + sa1->sa_len + sa2->sa_len != in ipsec_dump_ipsecrequest() 230 if (set_addresses(abuf, sizeof(abuf), sa1, sa2) != 0) { in ipsec_dump_ipsecrequest() 271 set_addresses(char *buf, size_t len, struct sockaddr *sa1, struct sockaddr *sa2) in set_addresses() argument 276 set_address(tmp2, sizeof(tmp2), sa2) == NULL) in set_addresses()
|
/freebsd/sbin/hastd/ |
H A D | proto_tcp.c | 522 struct sockaddr_storage sa1, sa2; in tcp_address_match() local 531 salen = sizeof(sa2); in tcp_address_match() 532 if (getpeername(tctx->tc_fd, (struct sockaddr *)&sa2, &salen) == -1) in tcp_address_match() 535 if (sa1.ss_family != sa2.ss_family || sa1.ss_len != sa2.ss_len) in tcp_address_match() 544 sin2 = (struct sockaddr_in *)&sa2; in tcp_address_match() 554 sin2 = (struct sockaddr_in6 *)&sa2; in tcp_address_match()
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | proto_tcp.c | 543 struct sockaddr_storage sa1, sa2; in tcp_address_match() local 552 salen = sizeof(sa2); in tcp_address_match() 553 if (getpeername(tctx->tc_fd, (struct sockaddr *)&sa2, &salen) < 0) in tcp_address_match() 556 if (sa1.ss_family != sa2.ss_family) in tcp_address_match() 560 if (sa1.ss_len != sa2.ss_len) in tcp_address_match() 570 sin2 = (struct sockaddr_in *)&sa2; in tcp_address_match() 580 sin2 = (struct sockaddr_in6 *)&sa2; in tcp_address_match()
|
/freebsd/lib/msun/src/ |
H A D | s_erff.c | 64 sa2 = 4.10799170e+00, /* 0x408374ab */ variable 114 S=one+s*(sa1+s*(sa2+s*sa3)); in erff() 166 S=one+s*(sa1+s*(sa2+s*sa3)); in erfcf()
|
H A D | s_erf.c | 167 sa2 = 1.37657754143519042600e+02, /* 0x4061350C, 0x526AE721 */ variable 229 S=one+s*(sa1+s*(sa2+s*(sa3+s*(sa4+s*(sa5+s*(sa6+s*(sa7+ in erf() 287 S=one+s*(sa1+s*(sa2+s*(sa3+s*(sa4+s*(sa5+s*(sa6+s*(sa7+ in erfc()
|
/freebsd/sbin/umount/ |
H A D | umount.c | 541 sacmp(void *sa1, void *sa2) in sacmp() argument 547 ((struct sockaddr *)sa2)->sa_family) in sacmp() 553 p2 = &((struct sockaddr_in *)sa2)->sin_addr; in sacmp() 558 p2 = &((struct sockaddr_in6 *)sa2)->sin6_addr; in sacmp() 561 ((struct sockaddr_in6 *)sa2)->sin6_scope_id) in sacmp()
|
/freebsd/sys/netipsec/ |
H A D | key_debug.c | 475 struct sadb_x_sa2 *sa2 = (struct sadb_x_sa2 *)ext; in kdebug_sadb_x_sa2() 482 sa2->sadb_x_sa2_mode, sa2->sadb_x_sa2_reqid); in kdebug_sadb_x_sa2() 484 sa2->sadb_x_sa2_reserved1, sa2->sadb_x_sa2_reserved2, 485 sa2->sadb_x_sa2_sequence); 470 struct sadb_x_sa2 *sa2 = (struct sadb_x_sa2 *)ext; kdebug_sadb_x_sa2() local
|
H A D | key.c | 4521 key_sockaddrcmp(const struct sockaddr *sa1, const struct sockaddr *sa2, in key_sockaddrcmp() argument 4524 if (sa1->sa_family != sa2->sa_family || sa1->sa_len != sa2->sa_len) in key_sockaddrcmp() 4533 satosin(sa2)->sin_addr.s_addr) { in key_sockaddrcmp() 4536 if (port && satosin(sa1)->sin_port != satosin(sa2)->sin_port) in key_sockaddrcmp() 4545 satosin6(sa2)->sin6_scope_id) { in key_sockaddrcmp() 4549 &satosin6(sa2)->sin6_addr)) { in key_sockaddrcmp() 4553 satosin6(sa1)->sin6_port != satosin6(sa2)->sin6_port) { in key_sockaddrcmp() 4559 if (bcmp(sa1, sa2, sa1->sa_len) != 0) in key_sockaddrcmp() 4570 const struct sockaddr *sa2, size_t mask) in key_sockaddrcmp_withmask() argument 4572 if (sa1->sa_family != sa2->sa_family || sa1->sa_len != sa2->sa_len) in key_sockaddrcmp_withmask() [all …]
|
/freebsd/lib/msun/ld128/ |
H A D | s_erfl.c | 115 sa2 = 1.76118475473171481523704824327358534e+03L, /* 0x4009b84b, 0xd305829f, 0xc4c771b0, 0xbf1f7f… variable 235 S=one+s*(sa1+s*(sa2+s*(sa3+s*(sa4+s*(sa5+s*(sa6+s*(sa7+ in erfl() 302 S=one+s*(sa1+s*(sa2+s*(sa3+s*(sa4+s*(sa5+s*(sa6+s*(sa7+ in erfcl()
|
/freebsd/lib/msun/ld80/ |
H A D | s_erfl.c | 143 #define sa2 (sa2u.e) macro 258 S=one+s*(sa1+s*(sa2+s*(sa3+s*(sa4+s*(sa5+s*(sa6+s*(sa7+ in erfl() 317 S=one+s*(sa1+s*(sa2+s*(sa3+s*(sa4+s*(sa5+s*(sa6+s*(sa7+ in erfcl()
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | lock_proc.c | 162 addrcmp(struct sockaddr *sa1, struct sockaddr *sa2) in addrcmp() argument 167 if (sa1->sa_family != sa2->sa_family) in addrcmp() 173 p2 = &((struct sockaddr_in *)sa2)->sin_addr; in addrcmp() 178 p2 = &((struct sockaddr_in6 *)sa2)->sin6_addr; in addrcmp()
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | evutil.c | 2275 evutil_sockaddr_cmp(const struct sockaddr *sa1, const struct sockaddr *sa2, in evutil_sockaddr_cmp() argument 2279 if (0 != (r = (sa1->sa_family - sa2->sa_family))) in evutil_sockaddr_cmp() 2285 sin2 = (const struct sockaddr_in *)sa2; in evutil_sockaddr_cmp() 2300 sin2 = (const struct sockaddr_in6 *)sa2; in evutil_sockaddr_cmp()
|
/freebsd/contrib/libevent/ |
H A D | evutil.c | 2275 evutil_sockaddr_cmp(const struct sockaddr *sa1, const struct sockaddr *sa2, in evutil_sockaddr_cmp() argument 2279 if (0 != (r = (sa1->sa_family - sa2->sa_family))) in evutil_sockaddr_cmp() 2285 sin2 = (const struct sockaddr_in *)sa2; in evutil_sockaddr_cmp() 2300 sin2 = (const struct sockaddr_in6 *)sa2; in evutil_sockaddr_cmp()
|
/freebsd/contrib/ntp/sntp/libevent/include/event2/ |
H A D | util.h | 655 int evutil_sockaddr_cmp(const struct sockaddr *sa1, const struct sockaddr *sa2,
|
/freebsd/contrib/libevent/include/event2/ |
H A D | util.h | 655 int evutil_sockaddr_cmp(const struct sockaddr *sa1, const struct sockaddr *sa2,
|
/freebsd/contrib/blocklist/bin/ |
H A D | conf.c | 605 const struct sockaddr *sa2 = v2; in conf_inet_eq() local 608 if (sa1->sa_family != sa2->sa_family) in conf_inet_eq()
|
/freebsd/usr.sbin/mountd/ |
H A D | mountd.c | 254 static int sacmp(struct sockaddr *sa1, struct sockaddr *sa2, 3996 sacmp(struct sockaddr *sa1, struct sockaddr *sa2, struct sockaddr *samask) in sacmp() argument 4001 if (sa1->sa_family != sa2->sa_family || in sacmp() 4003 (p2 = sa_rawaddr(sa2, NULL)) == NULL) in sacmp() 4009 ((struct sockaddr_in6 *)sa2)->sin6_scope_id) in sacmp()
|
/freebsd/sys/kern/ |
H A D | uipc_socket.c | 4842 struct sockaddr *sa2; local 4844 sa2 = malloc(sa->sa_len, M_SONAME, mflags); 4845 if (sa2) 4846 bcopy(sa, sa2, sa->sa_len); 4847 return sa2;
|
/freebsd/sys/netinet/ |
H A D | sctputil.c | 4710 sctp_cmpaddr(struct sockaddr *sa1, struct sockaddr *sa2) in sctp_cmpaddr() argument 4714 if (sa1 == NULL || sa2 == NULL) in sctp_cmpaddr() 4718 if (sa1->sa_family != sa2->sa_family) in sctp_cmpaddr() 4729 sin6_2 = (struct sockaddr_in6 *)sa2; in sctp_cmpaddr() 4741 sin_2 = (struct sockaddr_in *)sa2; in sctp_cmpaddr()
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | rsocket.c | 478 const struct sockaddr *sa1, *sa2; in ds_compare_addr() local 482 sa2 = (const struct sockaddr *) dst2; in ds_compare_addr() 484 len = (sa1->sa_family == AF_INET6 && sa2->sa_family == AF_INET6) ? in ds_compare_addr()
|