Searched refs:sockaddr_in6 (Results 51 - 75 of 386) sorted by relevance

1234567891011>>

/freebsd-head/sys/netinet6/
H A Din6_src.c135 static int selectroute(struct sockaddr_in6 *, struct ip6_pktopts *,
138 static int in6_selectif(struct sockaddr_in6 *, struct ip6_pktopts *,
141 static int in6_selectsrc(uint32_t, struct sockaddr_in6 *,
145 static struct in6_addrpolicy *lookup_addrsel_policy(struct sockaddr_in6 *);
153 static struct in6_addrpolicy *match_addrsel_policy(struct sockaddr_in6 *);
182 in6_selectsrc(uint32_t fibnum, struct sockaddr_in6 *dstsock,
557 in6_selectsrc_socket(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts,
604 struct sockaddr_in6 dst_sa;
626 selectroute(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts,
633 struct sockaddr_in6 *sin6_nex
[all...]
H A Din6.c148 const struct sockaddr_in6 sa6_any =
253 struct sockaddr_in6 *sa6;
447 ifra->ifra_addr.sin6_len != sizeof(struct sockaddr_in6)) {
932 ifra->ifra_addr.sin6_len = sizeof(struct sockaddr_in6);
937 ifra->ifra_prefixmask.sin6_len = sizeof(struct sockaddr_in6);
947 struct sockaddr_in6 dst6;
967 if (ifra->ifra_addr.sin6_len != sizeof(struct sockaddr_in6) ||
975 if (ifra->ifra_prefixmask.sin6_len > sizeof(struct sockaddr_in6))
1389 struct sockaddr_in6 *pdst;
1558 struct sockaddr_in6 *sin
[all...]
H A Din6.h125 struct sockaddr_in6 { struct
150 extern const struct sockaddr_in6 sa6_any;
390 struct sockaddr_in6 ro_dst;
557 struct sockaddr_in6 ip6m_addr; /* or sockaddr_storage? */
681 struct sockaddr_in6 *sin6);
683 struct sockaddr_in6 *sin6);
688 #define satosin6(sa) ((struct sockaddr_in6 *)(sa))
H A Dnd6.c87 #define SIN6(s) ((const struct sockaddr_in6 *)(s))
129 static int nd6_is_new_addr_neighbor(const struct sockaddr_in6 *,
141 const struct sockaddr_in6 *, u_char *, uint32_t *, struct llentry **);
157 struct sockaddr_in6 dst;
1180 struct sockaddr_in6 sin6;
1184 sin6.sin6_len = sizeof(struct sockaddr_in6);
1198 struct sockaddr_in6 sin6;
1202 sin6.sin6_len = sizeof(struct sockaddr_in6);
1219 nd6_is_new_addr_neighbor(const struct sockaddr_in6 *addr, struct ifnet *ifp)
1224 struct sockaddr_in6 rt_ke
[all...]
H A Din6_pcb.c122 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)NULL;
148 sin6 = (struct sockaddr_in6 *)nam;
351 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)nam;
417 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)nam;
489 struct sockaddr_in6 *sin6;
506 struct sockaddr_in6 *sin6_p;
621 struct sockaddr_in6 sa6_sr
[all...]
H A Dudp6_usrreq.c137 struct sockaddr_in6 *fromsa)
178 sizeof(struct sockaddr_in6), IPV6_ORIGDSTADDR, IPPROTO_IPV6);
217 struct sockaddr_in6 fromsa[2];
355 struct sockaddr_in6 mcaddr;
364 bzero(&mcaddr, sizeof(struct sockaddr_in6));
365 mcaddr.sin6_len = sizeof(struct sockaddr_in6);
452 struct sockaddr_in6 *next_hop6;
454 next_hop6 = (struct sockaddr_in6 *)(fwd_tag + 1);
545 const struct sockaddr_in6 *sa6_src = NULL;
554 sa->sa_len != sizeof(struct sockaddr_in6))
[all...]
/freebsd-head/lib/libc/net/
H A Dsctp_sys_calls.c64 in6_sin6_2_sin(struct sockaddr_in *sin, struct sockaddr_in6 *sin6)
116 if ((buf = malloc(sizeof(int) + (size_t)addrcnt * sizeof(struct sockaddr_in6))) == NULL) {
137 if (at->sa_len != sizeof(struct sockaddr_in6)) {
142 if (IN6_IS_ADDR_V4MAPPED(&((struct sockaddr_in6 *)at)->sin6_addr)) {
143 in6_sin6_2_sin((struct sockaddr_in *)cpto, (struct sockaddr_in6 *)at);
147 memcpy(cpto, at, sizeof(struct sockaddr_in6));
148 cpto = ((caddr_t)cpto + sizeof(struct sockaddr_in6));
149 len += sizeof(struct sockaddr_in6);
176 struct sockaddr_in6 *sin6;
217 if (sa->sa_len != sizeof(struct sockaddr_in6)) {
[all...]
H A Drcmd.c260 aport = ntohs(((struct sockaddr_in6 *)&from)->sin6_port);
341 ((struct sockaddr *)&ss)->sa_len = sizeof(struct sockaddr_in6);
342 sport = &((struct sockaddr_in6 *)&ss)->sin6_port;
343 ((struct sockaddr_in6 *)&ss)->sin6_addr = in6addr_any;
532 struct sockaddr_in6 *sin6 = NULL;
551 sin6 = (struct sockaddr_in6 *)&ss;
553 sin6->sin6_len = sizeof(struct sockaddr_in6);
689 struct sockaddr_in6 *sin6;
695 sin6 = (struct sockaddr_in6 *)raddr;
/freebsd-head/crypto/heimdal/lib/roken/
H A Dinet_pton.c71 struct sockaddr_in6 si6;
/freebsd-head/contrib/ntp/lib/isc/include/isc/
H A Dipv6.h81 struct sockaddr_in6 { struct
/freebsd-head/usr.sbin/ypldap/
H A Dypldap_dns.c212 struct sockaddr_in6 *sa_in6;
240 sa_in6 = (struct sockaddr_in6 *)&h->ss;
241 sa_in6->sin6_len = sizeof(struct sockaddr_in6);
242 memcpy(&sa_in6->sin6_addr, &((struct sockaddr_in6 *)
/freebsd-head/usr.sbin/ctld/
H A Disns.c157 struct sockaddr_in6 *in6;
170 in6 = (struct sockaddr_in6 *)(void *)ai->ai_addr;
183 struct sockaddr_in6 *in6;
193 in6 = (struct sockaddr_in6 *)(void *)ai->ai_addr;
/freebsd-head/sys/compat/linuxkpi/common/include/linux/
H A Dinetdevice.h65 struct sockaddr_in6 sin6;
/freebsd-head/sys/ofed/include/rdma/
H A Dib_addr.h136 int rdma_addr_size_in6(struct sockaddr_in6 *addr);
186 memcpy(gid->raw, &((const struct sockaddr_in6 *)addr)->sin6_addr, 16);
200 /* Important - sockaddr should be a union of sockaddr_in and sockaddr_in6 */
210 struct sockaddr_in6 *out_in = (struct sockaddr_in6 *)out;
/freebsd-head/contrib/libpcap/testprogs/
H A Dfindalldevstest.c266 ((struct sockaddr_in6 *)(a->addr))->sin6_addr.s6_addr,
271 ((struct sockaddr_in6 *)(a->netmask))->sin6_addr.s6_addr,
276 ((struct sockaddr_in6 *)(a->broadaddr))->sin6_addr.s6_addr,
281 ((struct sockaddr_in6 *)(a->dstaddr))->sin6_addr.s6_addr,
/freebsd-head/libexec/tftpd/
H A Dtftp-utils.h67 void unmappedaddr(struct sockaddr_in6 *sin6);
/freebsd-head/tests/sys/net/routing/
H A Drtsock_common.h328 const struct sockaddr_in6 *a6, *b6;
375 a6 = (const struct sockaddr_in6 *)a;
376 b6 = (const struct sockaddr_in6 *)b;
462 sa_fill_mask6(struct sockaddr_in6 *sin6, uint8_t mask)
466 memset(sin6, 0, sizeof(struct sockaddr_in6));
468 sin6->sin6_len = sizeof(struct sockaddr_in6);
522 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sa;
523 memset(sin6, 0, sizeof(struct sockaddr_in6));
525 sin6->sin6_len = sizeof(struct sockaddr_in6);
[all...]
/freebsd-head/sys/netinet/
H A Dsctputil.h223 uint32_t sctp_is_same_scope(struct sockaddr_in6 *, struct sockaddr_in6 *);
225 struct sockaddr_in6 *sctp_recover_scope(struct sockaddr_in6 *, struct sockaddr_in6 *);
/freebsd-head/usr.sbin/route6d/
H A Droute6d.c97 struct sockaddr_in6 ifc_ripsin; /* rip multicast address */
208 static void ripsend(struct ifc *, struct sockaddr_in6 *, int);
214 static int rt_del(const struct sockaddr_in6 *, const struct sockaddr_in6 *,
215 const struct sockaddr_in6 *);
216 static int rt_deladdr(struct ifc *, const struct sockaddr_in6 *,
217 const struct sockaddr_in6 *);
234 struct sockaddr_in6 *);
235 static void ripflush(struct ifc *, struct sockaddr_in6 *, int, struct netinfo6 *np);
237 static int sin6mask2len(const struct sockaddr_in6 *);
[all...]
/freebsd-head/usr.sbin/ppp/
H A Dncpaddr.c164 adjust_linklocal(struct sockaddr_in6 *sin6)
311 struct sockaddr_in6 *host6 = (struct sockaddr_in6 *)host;
342 const struct sockaddr_in6 *host6 = (const struct sockaddr_in6 *)host;
374 struct sockaddr_in6 sin6;
703 const struct sockaddr_in6 *host6 = (const struct sockaddr_in6 *)host;
704 const struct sockaddr_in6 *mask6 = (const struct sockaddr_in6 *)mas
[all...]
/freebsd-head/lib/libc/rpc/
H A Drpc_generic.c175 return sizeof (struct sockaddr_in6);
607 struct sockaddr_in6 *sin6;
661 struct sockaddr_in6 *sin6;
717 sin6 = (struct sockaddr_in6 *)malloc(sizeof *sin6);
797 struct sockaddr_in6 *sin6_new, *sin6_svc;
804 sin6_new = (struct sockaddr_in6 *)new->buf;
805 sin6_svc = (struct sockaddr_in6 *)svc->buf;
834 return (((struct sockaddr_in6 *)
/freebsd-head/sbin/ifconfig/
H A Difvxlan.c134 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)rsa;
250 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sa;
310 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sa;
370 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sa;
/freebsd-head/usr.sbin/rpcbind/tests/
H A Daddrmerge_test.c132 struct sockaddr_in6 *in6 = (struct sockaddr_in6*)
134 struct sockaddr_in6 *mask_in6 = (struct sockaddr_in6*)
136 struct sockaddr_in6 *bcast_in6 = (struct sockaddr_in6*)
361 struct sockaddr_in6 caller_in6;
390 struct sockaddr_in6 caller_in6;
/freebsd-head/lib/libifconfig/
H A Dlibifconfig.h77 struct sockaddr_in6 *sin6;
78 struct sockaddr_in6 *dstin6;
/freebsd-head/usr.sbin/rtsold/
H A Drtsold.h59 struct sockaddr_in6 rai_saddr;
164 struct rainfo *find_rainfo(struct ifinfo *, struct sockaddr_in6 *);

Completed in 86 milliseconds

1234567891011>>