Home
last modified time | relevance | path

Searched refs:local_addr (Results 1 – 25 of 31) sorted by relevance

12

/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dauth_con.c57 if (auth_context->local_addr) in krb5_auth_con_free()
58 krb5_free_address(context, auth_context->local_addr); in krb5_auth_con_free()
83 …rs(krb5_context context, krb5_auth_context auth_context, krb5_address *local_addr, krb5_address *r… in krb5_auth_con_setaddrs() argument
88 if (auth_context->local_addr) in krb5_auth_con_setaddrs()
89 (void) krb5_free_address(context, auth_context->local_addr); in krb5_auth_con_setaddrs()
94 if (local_addr) in krb5_auth_con_setaddrs()
96 local_addr, in krb5_auth_con_setaddrs()
97 &auth_context->local_addr); in krb5_auth_con_setaddrs()
99 auth_context->local_addr = NULL; in krb5_auth_con_setaddrs()
112 …s(krb5_context context, krb5_auth_context auth_context, krb5_address **local_addr, krb5_address **… in krb5_auth_con_getaddrs() argument
[all …]
H A Dmk_priv.c42 …t krb5_keyblock *keyblock, krb5_replay_data *replaydata, krb5_address *local_addr, krb5_address *r… in krb5_mk_priv_basic() argument
54 privmsg_enc_part.s_address = local_addr; in krb5_mk_priv_basic()
170 if (auth_context->local_addr) { in krb5_mk_priv()
172 if (!(retval = krb5_make_fulladdr(context, auth_context->local_addr, in krb5_mk_priv()
181 plocal_fulladdr = auth_context->local_addr; in krb5_mk_priv()
214 if ((retval = krb5_gen_replay_name(context, auth_context->local_addr, in krb5_mk_priv()
H A Drd_priv.c60 …t krb5_data *inbuf, const krb5_keyblock *keyblock, const krb5_address *local_addr, const krb5_addr… in krb5_rd_priv_basic() argument
107 if (local_addr) { in krb5_rd_priv_basic()
108 if (!krb5_address_compare(context, local_addr, in krb5_rd_priv_basic()
182 if (auth_context->local_addr) { in krb5_rd_priv()
184 if (!(retval = krb5_make_fulladdr(context, auth_context->local_addr, in krb5_rd_priv()
193 plocal_fulladdr = auth_context->local_addr; in krb5_rd_priv()
H A Dmk_safe.c66 krb5_address *local_addr, krb5_address *remote_addr, in krb5_mk_safe_basic() argument
85 safemsg.s_address = (krb5_address *) local_addr; in krb5_mk_safe_basic()
204 if (auth_context->local_addr) { in krb5_mk_safe()
206 if (!(retval = krb5_make_fulladdr(context, auth_context->local_addr, in krb5_mk_safe()
215 plocal_fulladdr = auth_context->local_addr; in krb5_mk_safe()
273 if ((retval = krb5_gen_replay_name(context, auth_context->local_addr, in krb5_mk_safe()
H A Dmk_cred.c72 …, krb5_keyblock *keyblock, krb5_replay_data *replaydata, krb5_address *local_addr, krb5_address *r… in krb5_mk_ncred_basic() argument
83 if (local_addr) krb5_copy_addr(context, local_addr, &credenc.s_address); in krb5_mk_ncred_basic()
223 if (auth_context->local_addr) { in krb5_mk_ncred()
225 if ((retval = krb5_make_fulladdr(context, auth_context->local_addr, in krb5_mk_ncred()
231 plocal_fulladdr = auth_context->local_addr; in krb5_mk_ncred()
257 if ((retval = krb5_gen_replay_name(context, auth_context->local_addr, in krb5_mk_ncred()
H A Drd_safe.c194 if (auth_context->local_addr) { in krb5_rd_safe()
196 if (!(retval = krb5_make_fulladdr(context, auth_context->local_addr, in krb5_rd_safe()
205 plocal_fulladdr = auth_context->local_addr; in krb5_rd_safe()
/titanic_50/usr/src/lib/krb5/kadm5/clnt/
H A Dchangepw.c99 struct sockaddr *addr_p, local_addr, remote_addr, tmp_addr; local
189 addrlen = sizeof (local_addr);
191 if (getsockname(s2, &local_addr, &addrlen) < 0)
205 if (((struct sockaddr_in *)&local_addr)->sin_addr.s_addr != 0)
209 &local_addr)->sin_addr);
212 &local_addr)->sin_addr);
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dchangepw.c105 struct sockaddr_storage local_addr; in kpasswd_sendto_msg_callback() local
116 addrlen = sizeof(local_addr); in kpasswd_sendto_msg_callback()
118 if (getsockname(conn->fd, ss2sa(&local_addr), &addrlen) < 0) { in kpasswd_sendto_msg_callback()
126 if (ss2sin(&local_addr)->sin_addr.s_addr != 0) { in kpasswd_sendto_msg_callback()
128 local_kaddr.length = sizeof(ss2sin(&local_addr)->sin_addr); in kpasswd_sendto_msg_callback()
129 local_kaddr.contents = (krb5_octet *) &ss2sin(&local_addr)->sin_addr; in kpasswd_sendto_msg_callback()
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Disns_client.c151 static boolean_t find_listening_addr(iscsi_addr_t *local_addr,
154 iscsi_addr_t **local_addr, void **listening_so);
1724 iscsi_addr_t local_addr; in isns_create_dev_attr_reg_pdu() local
1824 rval = find_listening_addr(&local_addr, instance_listening_so); in isns_create_dev_attr_reg_pdu()
1837 local_port = local_addr.a_port; in isns_create_dev_attr_reg_pdu()
1840 &(local_addr.a_addr.i_addr.in4), in isns_create_dev_attr_reg_pdu()
1841 local_addr.a_addr.i_insize) != 0) { in isns_create_dev_attr_reg_pdu()
3098 find_listening_addr(iscsi_addr_t *local_addr, void *listening_so) in find_listening_addr() argument
3108 if (local_addr == NULL || listening_so == NULL) { in find_listening_addr()
3122 local_addr->a_addr.i_addr.in4.s_addr = in find_listening_addr()
[all …]
/titanic_50/usr/src/lib/krb5/kadm5/
H A Dkadm_host_srv_names.c246 krb5_address **local_addr = NULL; in kadm5_is_master() local
263 if (ret = krb5_os_localaddr(context, &local_addr)) { in kadm5_is_master()
271 if (krb5_address_search(context, *tmp_addr, local_addr)) { in kadm5_is_master()
277 krb5_free_addresses(context, local_addr); in kadm5_is_master()
/titanic_50/usr/src/stand/lib/sock/
H A Dsock_test.c471 struct sockaddr_in local_addr; in st_bind() local
473 if (st_get_addr_and_port(&(local_addr.sin_addr.s_addr), in st_bind()
474 &(local_addr.sin_port)) < 0) { in st_bind()
478 local_addr.sin_family = AF_INET; in st_bind()
479 if (st_local_bind(g_sock_fd, (struct sockaddr *)&local_addr, in st_bind()
480 sizeof (local_addr)) < 0) { in st_bind()
484 printf("@ Socket bound to %s/%d\n", inet_ntoa(local_addr.sin_addr), in st_bind()
485 ntohs(local_addr.sin_port)); in st_bind()
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dser_actx.c132 if (!kret && auth_context->local_addr) { in krb5_auth_context_size()
135 (krb5_pointer) auth_context->local_addr, in krb5_auth_context_size()
279 if (!kret && auth_context->local_addr) { in krb5_auth_context_externalize()
284 auth_context->local_addr, in krb5_auth_context_externalize()
295 auth_context->local_addr, in krb5_auth_context_externalize()
457 local_addr, in krb5_auth_context_internalize()
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/ncaconfd/
H A Dncaconfd.c73 struct in_addr local_addr; member
337 nca_set_nif(int fd, struct in_addr local_addr, uchar_t *ether_addr) in nca_set_nif() argument
349 nca_ioctl.local_addr = local_addr.s_addr; in nca_set_nif()
390 if (nif_list[i].local_addr.s_addr == 0) { in nca_setup()
436 if (nca_set_nif(fd, nif_list[i].local_addr, in nca_setup()
515 nif_list[i].local_addr = sin->sin_addr; in get_if_ip_addr()
535 nif_list[i].local_addr.s_addr = 0; in get_if_ip_addr()
1117 nca_ioctl.local_addr = 0; in nca_del_nif()
1241 nif_list[i].local_addr.s_addr == 0) in daemon_work()
1270 nif_list[i].local_addr, in daemon_work()
/titanic_50/usr/src/lib/krb5/kadm5/srv/
H A Dchgpwd.c61 struct sockaddr local_addr, remote_addr; in process_chpw_request() local
219 addrlen = sizeof (local_addr); in process_chpw_request()
221 if (getsockname(s, &local_addr, &addrlen) < 0) { in process_chpw_request()
234 if (((struct sockaddr_in *)&local_addr)->sin_addr.s_addr != 0) { in process_chpw_request()
237 &local_addr)->sin_addr); in process_chpw_request()
239 local_kaddr.contents = (krb5_octet *) &(((struct sockaddr_in *)&local_addr)->sin_addr); in process_chpw_request()
/titanic_50/usr/src/uts/common/io/ib/clients/rds/
H A Drdssubr.c273 rds_fanout(ipaddr_t local_addr, ipaddr_t rem_addr, in rds_fanout() argument
284 if ((RDS_MATCH(rds, local_port, local_addr)) && in rds_fanout()
285 ((local_addr != INADDR_LOOPBACK) || in rds_fanout()
/titanic_50/usr/src/uts/common/inet/nca/
H A Dncaconf.h50 ipaddr_t local_addr; member
/titanic_50/usr/src/cmd/cmd-inet/etc/ike/
H A Dconfig.sample85 local_addr 10.1.1.1
98 local_addr 0.0.0.0/0
121 local_addr 10.1.86.51
/titanic_50/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c397 free(tlx->local_addr.buf); in destroy_tlx_info()
414 ret->local_addr.maxlen = sizeof (struct sockaddr_storage); in create_tlx_info()
415 if ((ret->local_addr.buf = calloc(1, ret->local_addr.maxlen)) == NULL) in create_tlx_info()
422 ret->local_addr.len = sizeof (struct sockaddr_in); in create_tlx_info()
424 ((struct sockaddr_in *)(ret->local_addr.buf))->sin_family = AF_INET; in create_tlx_info()
426 ((struct sockaddr_in *)(ret->local_addr.buf))->sin_addr.s_addr = in create_tlx_info()
817 ss = &si->local_addr; in valid_props()
905 ti->local_addr.buf, se.s_port); in valid_props()
914 SS_SETPORT(si->local_addr, se.s_port); in valid_props()
H A Dinetsvc.h213 struct netbuf local_addr; member
228 struct sockaddr_storage local_addr; member
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dauth_con.h9 krb5_address * local_addr; member
/titanic_50/usr/src/uts/common/sys/
H A Drds.h252 u_int32_t local_addr; member
265 u_int32_t local_addr; member
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dtlx.c214 return ((isrpc || (memcmp(ti->local_addr.buf, ti2->local_addr.buf, in tlx_info_equal()
358 reqaddr = &(tlx_info->local_addr); in create_bound_endpoint()
H A Dconfig.c235 return ((isrpc || (memcmp(&si->local_addr, &si2->local_addr, in socket_info_equal()
236 sizeof (si->local_addr)) == 0)) && in socket_info_equal()
/titanic_50/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_name_service.c591 uchar_t *netmask, *local_addr, *dest_addr; in dapls_ns_subnet_match_v6() local
619 local_addr = (uchar_t *)&((struct sockaddr_in6 *)&lifreq.lifr_addr)-> in dapls_ns_subnet_match_v6()
624 if (((local_addr[i] ^ dest_addr[i]) & netmask[i]) != 0) { in dapls_ns_subnet_match_v6()
/titanic_50/usr/src/uts/common/sys/ib/clients/rds/
H A Drdsib_ep.h343 int rds_deliver_new_msg(mblk_t *mp, ipaddr_t local_addr, ipaddr_t rem_addr,

12