/dragonfly/usr.sbin/rrenumd/ |
H A D | rrenumd.c | 81 int s4, s6; variable 247 (s6 = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6)) < 0) { in sock6_open() 264 if (setsockopt(s6, IPPROTO_ICMPV6, ICMP6_FILTER, &filt, in sock6_open() 273 if (setsockopt(s6, IPPROTO_IPV6, IPV6_PKTINFO, &on, in sock6_open() 344 i = sendmsg(dl->dl_dst->sa_family == AF_INET ? s4 : s6, &sndmhdr, 0); in rrenum_output() 472 FD_SET(s6, &fdset); in main() 473 if (s6 > maxfd) in main() 474 maxfd = s6; in main() 511 if (FD_ISSET(s6, &select_fd)) in main() 512 rrenum_input(s6); in main()
|
/dragonfly/crypto/libressl/apps/openssl/ |
H A D | s_cb.c | 806 struct sockaddr_in6 s6; in generate_cookie_callback() member 826 length += sizeof(peer.s6.sin6_port); in generate_cookie_callback() 845 memcpy(buffer, &peer.s6.sin6_port, sizeof(peer.s6.sin6_port)); in generate_cookie_callback() 846 memcpy(buffer + sizeof(peer.s6.sin6_port), in generate_cookie_callback() 847 &peer.s6.sin6_addr, sizeof(struct in6_addr)); in generate_cookie_callback() 874 struct sockaddr_in6 s6; in verify_cookie_callback() member 893 length += sizeof(peer.s6.sin6_port); in verify_cookie_callback() 912 memcpy(buffer, &peer.s6.sin6_port, sizeof(peer.s6.sin6_port)); in verify_cookie_callback() 913 memcpy(buffer + sizeof(peer.s6.sin6_port), in verify_cookie_callback() 914 &peer.s6.sin6_addr, sizeof(struct in6_addr)); in verify_cookie_callback()
|
/dragonfly/crypto/libressl/crypto/curve25519/ |
H A D | curve25519.c | 4015 s6 += carry5; in x25519_sc_reduce() 4051 s6 += carry5; in x25519_sc_reduce() 4096 s6 += carry5; in x25519_sc_reduce() 4130 s[16] = s6 >> 2; in x25519_sc_reduce() 4131 s[17] = s6 >> 10; in x25519_sc_reduce() 4203 int64_t s6; in sc_muladd() local 4323 s6 += carry5; in sc_muladd() 4507 s6 += carry5; in sc_muladd() 4543 s6 += carry5; in sc_muladd() 4588 s6 += carry5; in sc_muladd() [all …]
|
/dragonfly/sbin/ifconfig/ |
H A D | af_inet6.c | 183 int s6; in in6_status() local 200 if ((s6 = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { in in6_status() 205 if (ioctl(s6, SIOCGIFAFLAG_IN6, &ifr6) < 0) { in in6_status() 207 close(s6); in in6_status() 213 if (ioctl(s6, SIOCGIFALIFETIME_IN6, &ifr6) < 0) { in in6_status() 215 close(s6); in in6_status() 219 close(s6); in in6_status()
|
/dragonfly/sys/netinet6/ |
H A D | in6.c | 1559 struct sockaddr_in6 *s6; in in6_lifaddr_ioctl() local 1563 s6 = (struct sockaddr_in6 *)&iflr->addr; in in6_lifaddr_ioctl() 1564 if (IN6_IS_ADDR_LINKLOCAL(&s6->sin6_addr)) { in in6_lifaddr_ioctl() 1565 s6->sin6_addr.s6_addr16[1] = 0; in in6_lifaddr_ioctl() 1566 if (in6_addr2zoneid(ifp, &s6->sin6_addr, in in6_lifaddr_ioctl() 1567 &s6->sin6_scope_id)) in in6_lifaddr_ioctl() 1573 s6 = (struct sockaddr_in6 *)&iflr->dstaddr; in in6_lifaddr_ioctl() 1574 if (IN6_IS_ADDR_LINKLOCAL(&s6->sin6_addr)) { in in6_lifaddr_ioctl() 1575 s6->sin6_addr.s6_addr16[1] = 0; in in6_lifaddr_ioctl() 1577 &s6->sin6_addr, &s6->sin6_scope_id)) in in6_lifaddr_ioctl()
|
H A D | nd6.c | 2209 struct sockaddr_in6 *sin6, *s6; in nd6_sysctl_prlist() local 2241 s6 = &sin6[advrtrs]; in nd6_sysctl_prlist() 2242 bzero(s6, sizeof(*s6)); in nd6_sysctl_prlist() 2243 s6->sin6_family = AF_INET6; in nd6_sysctl_prlist() 2244 s6->sin6_len = sizeof(*sin6); in nd6_sysctl_prlist() 2245 if (in6_recoverscope(s6, &pfr->router->rtaddr, in nd6_sysctl_prlist()
|
/dragonfly/usr.sbin/gifconfig/ |
H A D | gifconfig.c | 534 int s6; in phys_status() local 542 s6 = socket(AF_INET6, SOCK_DGRAM, 0); in phys_status() 543 if (s6 < 0) { in phys_status() 548 close(s6); in phys_status()
|
/dragonfly/usr.sbin/ndp/ |
H A D | ndp.c | 546 struct sockaddr_in6 s6 = *sin; /* XXX: for safety */ in delete() local 549 if (IN6_IS_ADDR_LINKLOCAL(&s6.sin6_addr)) { in delete() 550 s6.sin6_scope_id = ntohs(*(u_int16_t *)&s6.sin6_addr.s6_addr[2]); in delete() 551 *(u_int16_t *)&s6.sin6_addr.s6_addr[2] = 0; in delete() 554 getnameinfo((struct sockaddr *)&s6, in delete() 555 s6.sin6_len, host_buf, in delete()
|
/dragonfly/usr.sbin/ppp/ |
H A D | iface.c | 376 int af, inskip, in6skip, s4 = -1, s6 = -1, *s; in iface_Clear() local 402 s = &s6; in iface_Clear() 425 if (s6) in iface_Clear() 426 close(s6); in iface_Clear()
|
/dragonfly/contrib/openbsd_libm/src/ |
H A D | e_lgamma_r.c | 136 s6 = 3.19475326584100867617e-05, /* 0x3F00BFEC, 0xDD17E945 */ variable 272 p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6)))))); in lgamma_r()
|
H A D | e_lgammaf_r.c | 72 s6 = 3.1947532989e-05, /* 0x3805ff67 */ variable 208 p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6)))))); in lgammaf_r()
|
/dragonfly/contrib/openbsd_libm/src/ld80/ |
H A D | e_lgammal.c | 174 s6 = -1.684926520999477529949915657519454051529E3L, variable 389 (s0 + y * (s1 + y * (s2 + y * (s3 + y * (s4 + y * (s5 + y * s6)))))); in lgammal()
|
/dragonfly/contrib/openresolv/ |
H A D | resolvconf.in | 330 elif [ -x /usr/bin/s6-rc ] && [ -x /usr/bin/s6-svc ]; then
|
/dragonfly/crypto/libressl/crypto/bio/ |
H A D | bss_dgram.c | 338 struct sockaddr_in6 s6; in dgram_ctrl() member
|