Home
last modified time | relevance | path

Searched refs:in6_addr (Results 1 – 25 of 197) sorted by relevance

12345678

/titanic_50/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.inet_ntoa6.d31 struct in6_addr *ip6a;
32 struct in6_addr *ip6b;
33 struct in6_addr *ip6c;
34 struct in6_addr *ip6d;
35 struct in6_addr *ip6e;
36 struct in6_addr *ip6f;
37 struct in6_addr *ip6g;
41 this->buf6a = alloca(sizeof (struct in6_addr));
42 this->buf6b = alloca(sizeof (struct in6_addr));
43 this->buf6c = alloca(sizeof (struct in6_addr));
[all …]
H A Dtst.inet_ntop.d35 struct in6_addr *ip6a;
36 struct in6_addr *ip6b;
37 struct in6_addr *ip6c;
38 struct in6_addr *ip6d;
39 struct in6_addr *ip6e;
40 struct in6_addr *ip6f;
41 struct in6_addr *ip6g;
42 struct in6_addr *ip6h;
50 this->buf6a = alloca(sizeof (struct in6_addr));
51 this->buf6b = alloca(sizeof (struct in6_addr));
[all …]
/titanic_50/usr/src/lib/libsocket/inet/
H A Dinet6_rthdr.c60 segments * sizeof (struct in6_addr)); in inet6_rth_space()
79 segments * sizeof (struct in6_addr)) in inet6_rth_init()
96 inet6_rth_add(void *bp, const struct in6_addr *addr) in inet6_rth_add()
99 struct in6_addr *addrs; in inet6_rth_add()
106 addrs = (struct in6_addr *)((char *)rthdr + sizeof (*rthdr)); in inet6_rth_add()
119 struct in6_addr tmp; in inet6_rth_reverse()
120 struct in6_addr *rtout_addrs; in inet6_rth_reverse()
121 struct in6_addr *rtin_addrs; in inet6_rth_reverse()
133 rtout_addrs = (struct in6_addr *)((char *)rtout + sizeof (*rtout)); in inet6_rth_reverse()
134 rtin_addrs = (struct in6_addr *)((char *)rtin + sizeof (*rtin)); in inet6_rth_reverse()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dtable.h53 struct in6_addr rt_dst; /* match value */
54 struct in6_addr rt_router; /* who to forward to */
82 extern void rtadd(struct in6_addr *, struct in6_addr *, int, int, int,
84 extern void rtchange(struct rt_entry *, struct in6_addr *, short,
87 extern void rtcreate_prefix(struct in6_addr *, struct in6_addr *, int);
91 extern struct rt_entry *rtlookup(struct in6_addr *, int);
H A Dtables.c127 rthash(struct in6_addr *dst, int prefix_length) in rthash()
142 rtmask_to_bits(uint_t prefix_length, struct in6_addr *prefix) in rtmask_to_bits()
147 bzero((caddr_t)prefix, sizeof (struct in6_addr)); in rtmask_to_bits()
156 rtcreate_prefix(struct in6_addr *p1, struct in6_addr *dst, int bits) in rtcreate_prefix()
178 rtlookup(struct in6_addr *dst, int prefix_length) in rtlookup()
208 rtcmd(uchar_t type, struct in6_addr *dst, struct in6_addr *gateway, in rtcmd()
234 rtadd(struct in6_addr *dst, struct in6_addr *gate, int prefix_length, in rtadd()
240 struct in6_addr pdst; in rtadd()
325 rtchange(struct rt_entry *rt, struct in6_addr *gate, short metric, in rtchange()
H A Dinterface.h39 struct in6_addr int_addr; /* address on this if */
40 struct in6_addr int_dstaddr; /* other end of p-to-p link */
/titanic_50/usr/src/uts/common/io/hxge/
H A Dhxge_flow.h46 struct in6_addr ip6src;
47 struct in6_addr ip6dst;
60 struct in6_addr ip6src;
61 struct in6_addr ip6dst;
73 struct in6_addr ip6src;
74 struct in6_addr ip6dst;
82 struct in6_addr ip4src;
83 struct in6_addr ip4dst;
88 struct in6_addr ip6src;
89 struct in6_addr ip6dst;
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.h59 struct in6_addr pi_ifaddr; /* Local address */
62 struct in6_addr pi_token;
66 struct in6_addr pi_tmp_token; /* For RFC3041 addrs */
67 struct in6_addr pi_dst_token; /* For POINTOPOINT */
160 struct in6_addr pr_prefix; /* Used to indentify prefix */
164 struct in6_addr pr_address;
208 struct in6_addr adv_pr_prefix; /* Used to indentify prefix */
238 struct in6_addr dr_address; /* Used to identify the router */
269 extern boolean_t token_equal(struct in6_addr t1, struct in6_addr t2,
272 extern struct prefix *prefix_create(struct phyint *pi, struct in6_addr addr,
[all …]
/titanic_50/usr/src/uts/common/sys/nxge/
H A Dnxge_flow.h45 struct in6_addr ip6src;
46 struct in6_addr ip6dst;
61 struct in6_addr ip6src;
62 struct in6_addr ip6dst;
76 struct in6_addr ip6src;
77 struct in6_addr ip6dst;
86 struct in6_addr ip4src;
87 struct in6_addr ip4dst;
92 struct in6_addr ip6src;
93 struct in6_addr ip6dst;
[all …]
/titanic_50/usr/src/lib/print/libpapi-common/common/
H A Dmisc.c104 static struct in6_addr **
107 struct in6_addr **result = NULL; in local_interfaces()
141 struct in6_addr v6[1], *addr = NULL; in local_interfaces()
160 struct in6_addr *a = malloc(sizeof (*a)); in local_interfaces()
174 struct in6_addr **lif = local_interfaces(); in match_interfaces()
186 struct in6_addr **tmp = (struct in6_addr **)hp->h_addr_list; in match_interfaces()
194 sizeof (struct in6_addr)) == 0) in match_interfaces()
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.h307 struct in6_addr li_addr; /* IP address */
308 struct in6_addr li_dstaddr; /* Dst IP address for pointopoint */
309 struct in6_addr li_subnet; /* prefix / subnet */
329 struct in6_addr tg_address; /* Target IP address */
441 struct in6_addr addr);
443 struct in6_addr addr, boolean_t is_router);
446 extern void target_add(struct phyint_instance *pii, struct in6_addr addr,
454 extern char *pr_addr(int af, struct in6_addr addr, char *abuf, int len);
455 extern void addr2storage(int af, const struct in6_addr *addr,
458 extern boolean_t prefix_equal(struct in6_addr, struct in6_addr, uint_t);
[all …]
/titanic_50/usr/src/uts/common/netinet/
H A Dicmp6.h73 struct in6_addr mld_addr; /* multicast address */
123 struct in6_addr mld2mar_group; /* group address being reported */
156 struct in6_addr rpm_prefix;
172 struct in6_addr rpu_prefix;
191 struct in6_addr rrr_prefix;
293 struct in6_addr nd_ns_target; /* target address */
304 struct in6_addr nd_na_target; /* target address */
340 struct in6_addr nd_rd_target; /* target address */
341 struct in6_addr nd_rd_dst; /* destination address */
371 struct in6_addr nd_opt_pi_prefix;
H A Din.h105 struct in6_addr { struct
135 typedef struct in6_addr in6_addr_t; argument
420 struct in6_addr sin6_addr;
1026 struct in6_addr ipv6mr_multiaddr; /* IPv6 multicast addr */
1128 struct in6_addr ipi6_addr; /* src/dst IPv6 address */
1147 extern int inet6_rth_add(void *bp, const struct in6_addr *addr);
1150 extern struct in6_addr *inet6_rth_getaddr(const void *bp, int index);
1315 extern const struct in6_addr in6addr_any;
1316 extern const struct in6_addr in6addr_loopback;
1318 extern struct in6_addr in6addr_any;
[all …]
/titanic_50/usr/src/lib/libilb/common/
H A Dlibilb_impl.h139 struct in6_addr sgs_addr;
166 struct in6_addr rl_vip;
173 struct in6_addr rl_nat_src_start;
174 struct in6_addr rl_nat_src_end;
175 struct in6_addr rl_stickymask;
243 struct in6_addr i_next_ip_addr(struct in6_addr *, int);
H A Dilb_subr.c118 struct in6_addr *a6_1, *a6_2; in i_cmp_addr_impl()
125 af = GET_AF((struct in6_addr *)ip1); in i_cmp_addr_impl()
127 IN6_V4MAPPED_TO_IPADDR((struct in6_addr *)ip1, i1); in i_cmp_addr_impl()
128 IN6_V4MAPPED_TO_IPADDR((struct in6_addr *)ip2, i2); in i_cmp_addr_impl()
133 a6_1 = (struct in6_addr *)ip1; in i_cmp_addr_impl()
134 a6_2 = (struct in6_addr *)ip2; in i_cmp_addr_impl()
240 ilb_cmp_in6_addr(struct in6_addr *ip1, struct in6_addr *ip2, int64_t *diff) in ilb_cmp_in6_addr()
/titanic_50/usr/src/lib/libnsl/nss/
H A Dgetipnodeby.c460 struct in6_addr *addr6 = 0; in getipnodebyaddr()
472 if ((addr6 = (struct in6_addr *)src) == NULL) { in getipnodebyaddr()
517 nssin.arg.nss.host.len = sizeof (struct in6_addr); in getipnodebyaddr()
563 addr6 = (struct in6_addr *)hp->h_addr_list[0]; in getipnodebyaddr()
578 struct in6_addr v4mapbuf; in getipnodebyaddr()
594 nssin.arg.nss.host.len = sizeof (struct in6_addr); in getipnodebyaddr()
835 struct in6_addr *addr6p; in __mapv4tov6()
848 buff_locp = (char *)ROUND_DOWN(limit, sizeof (struct in6_addr)); in __mapv4tov6()
863 buff_locp -= sizeof (struct in6_addr); in __mapv4tov6()
873 addr6p = (struct in6_addr *)buff_locp; in __mapv4tov6()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c70 struct in6_addr h6_addr;
137 ip6lookup(const struct in6_addr *ip6addr) in ip6lookup()
163 hp = getipnodebyaddr(ip6addr, sizeof (struct in6_addr), in ip6lookup()
221 sizeof (struct in6_addr)); in addhost()
289 return (ip6lookup((const struct in6_addr *)ipaddr)->h_hostname); in addrtoname()
305 struct in6_addr addrv6;
356 static struct in6_addr h46_addr[MAXADDRS]; /* v4mapped address */ in lgetipnodebyname()
376 hp->h_length = sizeof (struct in6_addr); in lgetipnodebyname()
412 sizeof (struct in6_addr); in lgetipnodebyname()
/titanic_50/usr/src/uts/common/sys/
H A Dbootprops.h105 struct in6_addr u_in6;
109 struct in6_addr u_in6;
113 struct in6_addr u_in6;
126 struct in6_addr u_in6;
/titanic_50/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c75 : sizeof (struct in6_addr);
82 struct in6_addr *addr6p = (struct in6_addr *)*aliaspp;
84 (void) memset(addr6p, '\0', sizeof (struct in6_addr));
117 struct in6_addr *addrp6;
126 : sizeof (struct in6_addr);
150 addrp6 = (struct in6_addr *)
227 if (IN6_IS_ADDR_V4MAPPED((struct in6_addr *)*p)) { in ent2str()
229 IN6_V4MAPPED_TO_INADDR((struct in6_addr *)*p, in ent2str()
336 struct in6_addr in6; in _nss_has_interfaces()
337 const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT; in _nss_has_interfaces()
[all …]
H A Dgethostent6.c131 static struct in6_addr **
132 cloneAddrList(struct hostent *h, struct in6_addr **moreAddrs, int *outerr) { in cloneAddrList()
134 struct in6_addr **addrArray, *addrList; in cloneAddrList()
155 if (domap && addrlen < sizeof (struct in6_addr)) in cloneAddrList()
156 addrlen = sizeof (struct in6_addr); in cloneAddrList()
292 struct in6_addr **v6Addrs = 0, **mergeAddrs = 0;
399 mhe.h_length = sizeof (struct in6_addr);
405 v6he.h_length = sizeof (struct in6_addr);
/titanic_50/usr/src/lib/libresolv2/common/inet/
H A Dinet_data.c43 const struct in6_addr isc_in6addr_any = IN6ADDR_ANY_INIT;
44 const struct in6_addr isc_in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
/titanic_50/usr/src/lib/nsswitch/files/common/
H A Dgethostent.c134 struct in6_addr *addrpv6; in __nss_files_get_addr()
149 addrpv6 = (struct in6_addr *)addrp; in __nss_files_get_addr()
159 *h_length = sizeof (struct in6_addr); in __nss_files_get_addr()
174 struct in6_addr addr_ipv6; in __nss_files_check_addr()
353 struct in6_addr *taddr6 = NULL;
373 taddr6 = (struct in6_addr *)calloc(ntaddr, sizeof (*taddr6));
584 taddr6 = (struct in6_addr *)addrp;
621 struct in6_addr *addrp6;
634 addrp6 = (struct in6_addr *)
642 sizeof (struct in6_addr));
/titanic_50/usr/src/cmd/getent/
H A Ddogetipnodes.c57 if (IN6_IS_ADDR_V4MAPPED((struct in6_addr *)*p)) { in puthostent()
58 IN6_V4MAPPED_TO_INADDR((struct in6_addr *)*p, in puthostent()
95 struct in6_addr in6; in dogetipnodes()
/titanic_50/usr/src/lib/libresolv2/include/
H A Dport_after.h97 #define in6_addr in_addr6 macro
102 struct in6_addr { struct
124 struct in6_addr sin6_addr; /* IPv6 address */ argument
194 extern const struct in6_addr in6addr_any;
212 (memcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], sizeof(struct in6_addr)) == 0)
221 extern const struct in6_addr isc_in6addr_loopback;
/titanic_50/usr/src/cmd/ssh/include/
H A Dfake-socket.h33 struct in6_addr { struct
43 struct in6_addr sin6_addr; argument

12345678