Searched defs:addrs (Results 1 - 25 of 56) sorted by relevance

123

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintpacket6.c11 u_short plen, *addrs; local
21 addrs = (u_short *)buf + 4;
25 ntohs(addrs[0]), ntohs(addrs[1]), ntohs(addrs[2]),
26 ntohs(addrs[3]), ntohs(addrs[4]), ntohs(addrs[5]),
27 ntohs(addrs[6]), ntohs(addrs[
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dhostaddr.c41 krb5_address **addrs; local
83 addrs = malloc ((i+1) * sizeof(*addrs));
84 if (!addrs)
88 addrs[j] = 0;
113 addrs[i] = (krb5_address *) malloc(sizeof(krb5_address));
114 if (!addrs[i]) {
118 addrs[i]->magic = KV5M_ADDRESS;
119 addrs[i]->addrtype = atype;
120 addrs[
[all...]
H A Dchangepw.c76 struct addrinfo *a = addrlist->addrs[i].ai;
131 krb5_address **addrs; local
133 code = krb5_os_localaddr(ctx->context, &addrs);
137 local_kaddr.magic = addrs[0]->magic;
138 local_kaddr.addrtype = addrs[0]->addrtype;
139 local_kaddr.length = addrs[0]->length;
140 local_kaddr.contents = malloc(addrs[0]->length);
141 if (local_kaddr.contents == NULL && addrs[0]->length != 0) {
143 krb5_free_addresses(ctx->context, addrs);
146 memcpy(local_kaddr.contents, addrs[
[all...]
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_line2.c57 Dwarf_Addr ** addrs,
101 *addrs = laddrs;
55 _dwarf_line_address_offsets(Dwarf_Debug dbg, Dwarf_Die die, Dwarf_Addr ** addrs, Dwarf_Off ** offs, Dwarf_Unsigned * returncount, Dwarf_Error * err) argument
H A Ddwarf_arange.c338 Dwarf_Addr ** addrs,
402 *addrs = arange_addrs;
337 _dwarf_get_aranges_addr_offsets(Dwarf_Debug dbg, Dwarf_Addr ** addrs, Dwarf_Off ** offsets, Dwarf_Signed * count, Dwarf_Error * error) argument
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dinet6_rthdr.c99 struct in6_addr *addrs; local
106 addrs = (struct in6_addr *)((char *)rthdr + sizeof (*rthdr));
107 addrs[rthdr->ip6r0_segleft++] = *addr;
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_meminfo.c40 pr_meminfo(struct ps_prochandle *Pr, const uint64_t *addrs, argument
85 if (Pwrite(Pr, addrs, inarraysize, inaddr) != inarraysize) {
/illumos-gate/usr/src/cmd/mdb/common/modules/arp/
H A Darp.c91 uchar_t addrs[4 * ARP_MAX_ADDR_LEN]; member in struct:__anon908
154 if (mdb_vread(&arp.addrs, blen, addr + sizeof (arp.arh)) == -1) {
159 print_arp('s', arp.addrs, &arp.arh, ptype);
160 print_arp('t', arp.addrs + arp.arh.arh_hlen + arp.arh.arh_plen,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.h103 union any_in_addr *addrs; /* address list */ member in struct:hostinfo
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dfwd_tgt.c53 krb5_address **addrs = NULL; local
172 retval = krb5_os_hostaddr(context, rhost, &addrs);
186 addrs, &creds, &pcreds))) {
190 addrs, &creds, &pcreds)))
213 if (addrs)
214 krb5_free_addresses(context, addrs);
H A Dgic_keytab.c208 krb5_address *const *addrs, krb5_enctype *ktypes,
221 options, addrs, ktypes,
207 krb5_get_in_tkt_with_keytab(krb5_context context, krb5_flags options, krb5_address *const *addrs, krb5_enctype *ktypes, krb5_preauthtype *pre_auth_types, krb5_keytab arg_keytab, krb5_ccache ccache, krb5_creds *creds, krb5_kdc_rep **ret_as_reply) argument
H A Dsend_tgs.c43 addrs, if non-NULL, is used for addresses " " "
136 krb5_const_principal sname, krb5_address *const *addrs,
143 sname, addrs,
158 krb5_const_principal sname, krb5_address *const *addrs,
201 tgsreq.addresses = (krb5_address **) addrs;
134 krb5_send_tgs(krb5_context context, krb5_flags kdcoptions, const krb5_ticket_times *timestruct, const krb5_enctype *ktypes, krb5_const_principal sname, krb5_address *const *addrs, krb5_authdata *const *authorization_data, krb5_pa_data *const *padata, const krb5_data *second_ticket, krb5_creds *in_cred, krb5_response *rep) argument
156 krb5_send_tgs2(krb5_context context, krb5_flags kdcoptions, const krb5_ticket_times *timestruct, const krb5_enctype *ktypes, krb5_const_principal sname, krb5_address *const *addrs, krb5_authdata *const *authorization_data, krb5_pa_data *const *padata, const krb5_data *second_ticket, krb5_creds *in_cred, krb5_response *rep, char **hostname_used) argument
H A Dgic_pwd.c517 krb5_flags options, krb5_address * const *addrs, krb5_enctype *ktypes,
526 if (addrs)
527 krb5_get_init_creds_opt_set_address_list(opt, (krb5_address **) addrs);
561 If addrs is non-NULL, it is used for the addresses requested. If it is
575 krb5_address *const *addrs, krb5_enctype *ktypes,
601 options, addrs, ktypes,
515 krb5int_populate_gic_opt( krb5_context context, krb5_gic_opt_ext **opte, krb5_flags options, krb5_address * const *addrs, krb5_enctype *ktypes, krb5_preauthtype *pre_auth_types, krb5_creds *creds) argument
574 krb5_get_in_tkt_with_password(krb5_context context, krb5_flags options, krb5_address *const *addrs, krb5_enctype *ktypes, krb5_preauthtype *pre_auth_types, const char *password, krb5_ccache ccache, krb5_creds *creds, krb5_kdc_rep **ret_as_reply) argument
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dkadm_host_srv_names.c32 struct sockaddr *addrs; local
88 struct sockaddr *addrs; local
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dchangepw.c216 krb5_address **addrs; local
218 krb5_os_localaddr(context, &addrs);
220 local_kaddr.magic = addrs[0]->magic;
221 local_kaddr.addrtype = addrs[0]->addrtype;
222 local_kaddr.length = addrs[0]->length;
223 local_kaddr.contents = malloc(addrs[0]->length);
224 memcpy(local_kaddr.contents, addrs[0]->contents,
225 addrs[0]->length);
227 krb5_free_addresses(context, addrs);
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_findzonecut.c60 rrset_a addrs; member in struct:rr_ns
108 *\li addrs - found server addresses
109 *\li naddrs - max number of addrs
113 *\li = 0 - zname is now valid, but addrs[] wasn't changed
114 *\li > 0 - zname is now valid, and return value is number of addrs[] found
155 char *zname, size_t zsize, struct in_addr *addrs, int naddrs)
172 addrs[i] = u[i].sin.sin_addr;
180 char *zname, size_t zsize, union res_sockaddr_union *addrs,
200 (n = satisfy(statp, mname, &nsrrs, addrs, naddrs)) > 0))
206 (n = satisfy(statp, mname, &nsrrs, addrs, naddr
154 res_findzonecut(res_state statp, const char *dname, ns_class class, int opts, char *zname, size_t zsize, struct in_addr *addrs, int naddrs) argument
179 res_findzonecut2(res_state statp, const char *dname, ns_class class, int opts, char *zname, size_t zsize, union res_sockaddr_union *addrs, int naddrs) argument
223 satisfy(res_state statp, const char *mname, rrset_ns *nsrrsp, union res_sockaddr_union *addrs, int naddrs) argument
251 add_addrs(res_state statp, rr_ns *nsrr, union res_sockaddr_union *addrs, int naddrs) argument
[all...]
/illumos-gate/usr/src/lib/libsctp/common/
H A Dsctp.c66 sctp_bindx(int sock, void *addrs, int addrcnt, int flags) argument
70 if (addrs == NULL || addrcnt == 0) {
76 switch (((struct sockaddr *)addrs)->sa_family) {
90 return (setsockopt(sock, IPPROTO_SCTP, SCTP_ADD_ADDR, addrs,
93 return (setsockopt(sock, IPPROTO_SCTP, SCTP_REM_ADDR, addrs,
105 sctp_getpaddrs(int sock, sctp_assoc_t id, void **addrs) argument
111 if (addrs == NULL) {
117 *addrs = NULL;
135 if ((*addrs = malloc(bufsz)) == NULL) {
139 opt.sopt_val = *addrs;
160 sctp_freepaddrs(void *addrs) argument
166 sctp_getladdrs(int sock, sctp_assoc_t id, void **addrs) argument
221 sctp_freeladdrs(void *addrs) argument
[all...]
/illumos-gate/usr/src/lib/libnsl/netdir/
H A Dnetdir.c161 struct nd_addrlist **addrs)
182 nssout.nd_alist = addrs;
195 nssout.nd_alist = addrs;
198 return (__classic_netdir_getbyname(tp, serv, addrs));
212 struct nd_addrlist **addrs)
226 *addrs = nn;
244 *addrs = nn;
160 netdir_getbyname(struct netconfig *tp, struct nd_hostserv *serv, struct nd_addrlist **addrs) argument
211 __classic_netdir_getbyname(struct netconfig *tp, struct nd_hostserv *serv, struct nd_addrlist **addrs) argument
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauth_time.c129 struct nd_addrlist *addrs; local
139 if (! netdir_getbyname(nc, &hs, &addrs)) {
140 for (i = 0; (i < (addrs->n_cnt)) && (num_ep < maxep);
143 taddr2uaddr(nc, &(addrs->n_addrs[i]));
146 netdir_free((char *)addrs, ND_ADDRLIST);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Ddebug_alloc.c258 struct nd_addrlist **addrs,
264 res = netdir_getbyname(tp, serv, addrs);
268 add_alloc("NETDIR_GETBYNAME", *addrs, 0, file, line);
255 my_netdir_getbyname( struct netconfig *tp, struct nd_hostserv *serv, struct nd_addrlist **addrs, const char *file, int line) argument
H A Dnfs_cast.c63 struct addrs { struct
64 struct addrs *addr_next;
77 struct addrs *tr_addrs;
136 struct addrs *a, *prev_addr;
232 a = (struct addrs *)malloc(sizeof (*a));
461 struct addrs *curr_addr;
512 struct addrs *a;
673 struct addrs *a, *tmpa = NULL;
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Drouting_events.c116 char *addrs, *if_name; local
162 addrs = (char *)ifa + sizeof (*ifa);
169 ifa->ifam_addrs, addrs)) == NULL)
182 ifa->ifam_addrs, addrs)) == NULL)
186 (RTA_IFP, ifa->ifam_addrs, addrs)) == NULL)
206 printaddrs(ifa->ifam_addrs, addrs);
231 char *addrs, *if_name; local
278 addrs = (char *)ifa + sizeof (*ifa);
285 ifa->ifam_addrs, addrs)) == NULL)
306 ifa->ifam_addrs, addrs))
388 void *addrs = rtbuf + sizeof (struct rt_msghdr); local
[all...]
/illumos-gate/usr/src/cmd/keyserv/
H A Dnewkey.c98 struct nd_addrlist *addrs; local
187 if ((netdir_getbyname(nconf, &service, &addrs) == 0) &&
188 (addrs->n_cnt != 0)) {
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_bind.c314 sctp_bindx(sctp_t *sctp, const void *addrs, int addrcnt, int bindop) argument
317 ASSERT(addrs != NULL);
322 return (sctp_bind_add(sctp, addrs, addrcnt, B_FALSE,
325 return (sctp_bind_del(sctp, addrs, addrcnt, B_FALSE));
335 sctp_bind_add(sctp_t *sctp, const void *addrs, uint32_t addrcnt, argument
394 err = sctp_get_addrlist(sctp, addrs, &addrcnt, &addrlist,
431 err = sctp_valid_addr_list(sctp, addrs, addrcnt, NULL, 0);
440 err = sctp_add_ip(sctp, addrs, addrcnt);
442 sctp_del_saddr_list(sctp, addrs, addrcnt, B_FALSE);
457 sctp_bind_del(sctp_t *sctp, const void *addrs, uint32_ argument
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dchgpwd.c241 krb5_address **addrs; local
243 krb5_os_localaddr(context, &addrs);
245 local_kaddr.magic = addrs[0]->magic;
246 local_kaddr.addrtype = addrs[0]->addrtype;
247 local_kaddr.length = addrs[0]->length;
248 if ((local_kaddr.contents = malloc(addrs[0]->length)) == 0) {
257 (void) memcpy(local_kaddr.contents, addrs[0]->contents,
258 addrs[0]->length);
261 krb5_free_addresses(context, addrs);

Completed in 105 milliseconds

123