/freebsd/contrib/tcpdump/ |
H A D | print-esp.c | 517 struct sa_list sa1; in esp_print_decode_ikeline() local 556 sa1.spi = 0; in esp_print_decode_ikeline() 557 sa1.initiator = (init[0] == 'I'); in esp_print_decode_ikeline() 558 if(espprint_decode_hex(ndo, sa1.spii, sizeof(sa1.spii), icookie+2)!=8) in esp_print_decode_ikeline() 561 if(espprint_decode_hex(ndo, sa1.spir, sizeof(sa1.spir), rcookie+2)!=8) in esp_print_decode_ikeline() 564 if(!espprint_decode_encalgo(ndo, enckey, &sa1)) return; in esp_print_decode_ikeline() 566 if(!espprint_decode_authalgo(ndo, authkey, &sa1)) return; in esp_print_decode_ikeline() 568 esp_print_addsa(ndo, &sa1, FALSE); in esp_print_decode_ikeline() 580 struct sa_list sa1; in esp_print_decode_onesecret() local 588 memset(&sa1, 0, sizeof(struct sa_list)); in esp_print_decode_onesecret() [all …]
|
/freebsd/lib/libipsec/ |
H A D | ipsec_dump_policy.c | 219 struct sockaddr *sa1, *sa2; in ipsec_dump_ipsecrequest() local 223 sa1 = (struct sockaddr *)p; in ipsec_dump_ipsecrequest() 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 275 if (set_address(tmp1, sizeof(tmp1), sa1) == NULL || in set_addresses()
|
/freebsd/sbin/hastd/ |
H A D | proto_tcp.c | 522 struct sockaddr_storage sa1, sa2; in tcp_address_match() local 528 if (tcp_addr(addr, PROTO_TCP_DEFAULT_PORT, &sa1) != 0) in tcp_address_match() 535 if (sa1.ss_family != sa2.ss_family || sa1.ss_len != sa2.ss_len) in tcp_address_match() 538 switch (sa1.ss_family) { in tcp_address_match() 543 sin1 = (struct sockaddr_in *)&sa1; in tcp_address_match() 553 sin1 = (struct sockaddr_in6 *)&sa1; in tcp_address_match()
|
/freebsd/sbin/umount/ |
H A D | umount.c | 541 sacmp(void *sa1, void *sa2) in sacmp() argument 546 if (((struct sockaddr *)sa1)->sa_family != in sacmp() 550 switch (((struct sockaddr *)sa1)->sa_family) { in sacmp() 552 p1 = &((struct sockaddr_in *)sa1)->sin_addr; in sacmp() 557 p1 = &((struct sockaddr_in6 *)sa1)->sin6_addr; in sacmp() 560 if (((struct sockaddr_in6 *)sa1)->sin6_scope_id != in sacmp()
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | proto_tcp.c | 543 struct sockaddr_storage sa1, sa2; in tcp_address_match() local 549 if (tcp_addr(addr, atoi(proto_get("tcp:port")), &sa1) != 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() 564 switch (sa1.ss_family) { in tcp_address_match() 569 sin1 = (struct sockaddr_in *)&sa1; in tcp_address_match() 579 sin1 = (struct sockaddr_in6 *)&sa1; in tcp_address_match()
|
/freebsd/lib/msun/src/ |
H A D | s_erff.c | 63 sa1 = 4.48581553e+00, /* 0x408f8bcd */ 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 | 166 sa1 = 1.96512716674392571292e+01, /* 0x4033A6B9, 0xBD707687 */ 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/lib/msun/ld128/ |
H A D | s_erfl.c | 114 sa1 = 6.44508918884710829371852723353794047e+01L, /* 0x400501cd, 0xb69a6c0f, 0x5716de14, 0x47161a… 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/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() 170 switch (sa1->sa_family) { in addrcmp() 172 p1 = &((struct sockaddr_in *)sa1)->sin_addr; in addrcmp() 177 p1 = &((struct sockaddr_in6 *)sa1)->sin6_addr; in addrcmp()
|
/freebsd/lib/msun/ld80/ |
H A D | s_erfl.c | 142 #define sa1 (sa1u.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/contrib/blocklist/bin/ |
H A D | conf.c | 604 const struct sockaddr *sa1 = v1; in conf_inet_eq() local 608 if (sa1->sa_family != sa2->sa_family) in conf_inet_eq() 611 switch (sa1->sa_family) { in conf_inet_eq() 632 __func__, sa1->sa_family); in conf_inet_eq()
|
/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() 2282 if (sa1->sa_family == AF_INET) { in evutil_sockaddr_cmp() 2284 sin1 = (const struct sockaddr_in *)sa1; in evutil_sockaddr_cmp() 2297 else if (sa1->sa_family == AF_INET6) { in evutil_sockaddr_cmp() 2299 sin1 = (const struct sockaddr_in6 *)sa1; 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() 2282 if (sa1->sa_family == AF_INET) { in evutil_sockaddr_cmp() 2284 sin1 = (const struct sockaddr_in *)sa1; in evutil_sockaddr_cmp() 2297 else if (sa1->sa_family == AF_INET6) { in evutil_sockaddr_cmp() 2299 sin1 = (const struct sockaddr_in6 *)sa1; in evutil_sockaddr_cmp()
|
/freebsd/sys/netipsec/ |
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() 4527 switch (sa1->sa_family) { in key_sockaddrcmp() 4530 if (sa1->sa_len != sizeof(struct sockaddr_in)) in key_sockaddrcmp() 4532 if (satosin(sa1)->sin_addr.s_addr != in key_sockaddrcmp() 4536 if (port && satosin(sa1)->sin_port != satosin(sa2)->sin_port) in key_sockaddrcmp() 4542 if (sa1->sa_len != sizeof(struct sockaddr_in6)) in key_sockaddrcmp() 4544 if (satosin6(sa1)->sin6_scope_id != in key_sockaddrcmp() 4548 if (!IN6_ARE_ADDR_EQUAL(&satosin6(sa1)->sin6_addr, in key_sockaddrcmp() 4553 satosin6(sa1)->sin6_port != satosin6(sa2)->sin6_port) { in key_sockaddrcmp() [all …]
|
/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() 4002 (p1 = sa_rawaddr(sa1, &len)) == NULL || in sacmp() 4006 switch (sa1->sa_family) { in sacmp() 4008 if (((struct sockaddr_in6 *)sa1)->sin6_scope_id != in sacmp() 4019 if (sa1->sa_family != samask->sa_family || in sacmp()
|
/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/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonRegisterInfo.td | 175 def SA1: Rc<2, "sa1", ["c2"]>, DwarfRegNum<[69]>; 207 def C3_2 : Rcc<2, "c3:2", [SA1, LC1], ["lc1:sa1"]>, DwarfRegNum<[69]>;
|
/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() 4721 switch (sa1->sa_family) { in sctp_cmpaddr() 4728 sin6_1 = (struct sockaddr_in6 *)sa1; in sctp_cmpaddr() 4740 sin_1 = (struct sockaddr_in *)sa1; in sctp_cmpaddr()
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | rsocket.c | 478 const struct sockaddr *sa1, *sa2; in ds_compare_addr() local 481 sa1 = (const struct sockaddr *) dst1; in ds_compare_addr() 484 len = (sa1->sa_family == AF_INET6 && sa2->sa_family == AF_INET6) ? in ds_compare_addr()
|