Home
last modified time | relevance | path

Searched refs:addrtype (Results 1 – 25 of 41) sorted by relevance

12

/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_init.c56 uint16_t *addrtype; in sctp_supaddr_param() local
61 addrtype = (uint16_t *)(sph + 1); in sctp_supaddr_param()
64 *addrtype++ = htons(PARM_ADDR4); in sctp_supaddr_param()
65 *addrtype = 0; in sctp_supaddr_param()
66 sph->sph_len = htons(sizeof (*sph) + sizeof (*addrtype)); in sctp_supaddr_param()
69 *addrtype++ = htons(PARM_ADDR6); in sctp_supaddr_param()
71 *addrtype = htons(PARM_ADDR4); in sctp_supaddr_param()
73 sizeof (*addrtype) * 2); in sctp_supaddr_param()
75 *addrtype = 0; in sctp_supaddr_param()
77 sizeof (*addrtype)); in sctp_supaddr_param()
[all …]
H A Dsctp_bind.c640 mlp_type_t addrtype, mlptype; in sctp_bindi() local
655 addrtype = tsol_mlp_addr_type( in sctp_bindi()
671 if (addrtype == mlptSingle) { in sctp_bindi()
676 port, addrtype); in sctp_bindi()
695 addrtype == mlptShared && in sctp_bindi()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Daddr_comp.c55 switch (addr1->addrtype) { in krb5_address_compare()
66 addr1->addrtype); in krb5_address_compare()
70 switch (addr2->addrtype) { in krb5_address_compare()
81 addr2->addrtype); in krb5_address_compare()
87 if (addr1->addrtype != addr2->addrtype){ in krb5_address_compare()
H A Daddr_order.c48 if (addr1->addrtype != addr2->addrtype) in krb5_address_order()
/titanic_41/usr/src/uts/sun4v/io/
H A Dmach_rootnex.c149 uint_t addrtype; in rootnex_name_child_impl() local
211 addrtype = BUSTYPE_TO_ADDRTYPE(rp->regspec_bustype); in rootnex_name_child_impl()
213 if (bus_addrtype[addrtype] == NULL) in rootnex_name_child_impl()
216 else if (addrtype == BUS_ADDRTYPE_CONFIG || addrlow == 0) in rootnex_name_child_impl()
218 bus_addrtype[addrtype], in rootnex_name_child_impl()
222 bus_addrtype[addrtype], in rootnex_name_child_impl()
/titanic_41/usr/src/cmd/krb5/slave/
H A Dutils.c29 krbap->addrtype = ADDRTYPE_INET; in cvtkaddr()
42 krbap->addrtype = ADDRTYPE_INET; in cvtkaddr()
52 krbap->addrtype = ADDRTYPE_INET6; in cvtkaddr()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dmk_faddr.c55 raddr->addrtype = ADDRTYPE_ADDRPORT; in krb5_make_fulladdr()
58 tmp16 = kaddr->addrtype; in krb5_make_fulladdr()
73 tmp16 = kport->addrtype; in krb5_make_fulladdr()
H A Dchangepw.c127 local_kaddr.addrtype = ADDRTYPE_INET; in kpasswd_sendto_msg_callback()
138 local_kaddr.addrtype = addrs[0]->addrtype; in kpasswd_sendto_msg_callback()
262 remote_kaddr.addrtype = ADDRTYPE_INET; in krb5_change_set_password()
H A Dgenaddrs.c49 (TARG).addrtype = (TYPE))
62 ap->addr.addrtype = ADDRTYPE_INET; in cvtaddr()
H A Dgen_port.c41 if (addr->addrtype != ADDRTYPE_INET) in krb5_gen_portaddr()
H A Dport2ip.c45 if (inaddr->addrtype != ADDRTYPE_ADDRPORT) in krb5_unpack_full_ipaddr()
H A Dfull_ipadr.c51 retaddr->addrtype = ADDRTYPE_ADDRPORT; in krb5_make_full_ipaddr()
H A Dhostaddr.c119 addrs[i]->addrtype = atype; in krb5_os_hostaddr()
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_bind.c314 mlp_type_t addrtype, mlptype; in tcp_bind_select_lport() local
359 addrtype = tsol_mlp_addr_type( in tcp_bind_select_lport()
363 if (addrtype == mlptSingle) { in tcp_bind_select_lport()
367 PMAPPORT, addrtype); in tcp_bind_select_lport()
411 addrtype = tsol_mlp_addr_type( in tcp_bind_select_lport()
415 if (addrtype == mlptSingle) { in tcp_bind_select_lport()
419 requested_port, addrtype); in tcp_bind_select_lport()
439 if (mlptype == mlptShared && addrtype == mlptShared) { in tcp_bind_select_lport()
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_bcast.c264 mac_addrtype_t addrtype) in mac_bcast_add() argument
276 ASSERT(addrtype == MAC_ADDRTYPE_MULTICAST || in mac_bcast_add()
277 addrtype == MAC_ADDRTYPE_BROADCAST); in mac_bcast_add()
283 if (addrtype == MAC_ADDRTYPE_MULTICAST) { in mac_bcast_add()
360 grp->mbg_addrtype = addrtype; in mac_bcast_add()
426 ASSERT(grp->mbg_addrtype == addrtype); in mac_bcast_add()
/titanic_41/usr/src/lib/krb5/kadm5/clnt/
H A Dchangepw.c207 local_kaddr.addrtype = ADDRTYPE_INET;
221 local_kaddr.addrtype = addrs[0]->addrtype;
241 remote_kaddr.addrtype = ADDRTYPE_INET;
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dns_fnmount.c312 addrtype_t addrtype; in process_ref() local
324 (addr_from_ref(ref, cname, &addrtype, addrdata, LINESZ) == 0)) { in process_ref()
326 switch (addrtype) { in process_ref()
501 addrtype_t addrtype; in frontier_aux() local
528 at_frontier = (addr_from_ref(ref, cname, &addrtype, NULL, 0) == 0); in frontier_aux()
534 if (at_frontier && (addrtype == ADDR_HOST)) { in frontier_aux()
615 *typep = addrtype(addr); in addr_from_ref()
H A Dns_fnutils.h95 addrtype(const FN_ref_addr_t *);
H A Dns_fnutils.c129 addrtype(const FN_ref_addr_t *addr) in addrtype() function
/titanic_41/usr/src/lib/krb5/kadm5/srv/
H A Dchgpwd.c235 local_kaddr.addrtype = ADDRTYPE_INET; in process_chpw_request()
246 local_kaddr.addrtype = addrs[0]->addrtype; in process_chpw_request()
275 remote_kaddr.addrtype = ADDRTYPE_INET; in process_chpw_request()
280 remote_kaddr.addrtype = ADDRTYPE_INET; in process_chpw_request()
/titanic_41/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_door.c231 ipadm_addr_type_t addrtype = IPADM_ADDR_NONE; in i_ipmgmt_nvl2aobjnode() local
246 addrtype = IPADM_ADDR_STATIC; in i_ipmgmt_nvl2aobjnode()
249 addrtype = IPADM_ADDR_DHCP; in i_ipmgmt_nvl2aobjnode()
252 addrtype = IPADM_ADDR_STATIC; in i_ipmgmt_nvl2aobjnode()
259 addrtype = IPADM_ADDR_IPV6_ADDRCONF; in i_ipmgmt_nvl2aobjnode()
281 nodep->am_atype = addrtype; in i_ipmgmt_nvl2aobjnode()
282 if (addrtype == IPADM_ADDR_IPV6_ADDRCONF) { in i_ipmgmt_nvl2aobjnode()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dser_addr.c114 (void) krb5_ser_pack_int32((krb5_int32) address->addrtype, in krb5_address_externalize()
169 address->addrtype = (krb5_addrtype) ibuf; in krb5_address_internalize()
/titanic_41/usr/src/cmd/krb5/klist/
H A Dklist.c722 switch (a->addrtype) {
727 a->addrtype, a->length);
754 printf(gettext("unknown addr type %d"), a->addrtype);
763 printf (gettext("unprintable address (type %d, error %d %s)"), a->addrtype, err,
/titanic_41/usr/src/lib/libcommputil/common/
H A Dsdp.c299 uint64_t ver, const char *nettype, const char *addrtype, in sdp_add_origin() argument
306 addrtype == NULL || address == NULL) { in sdp_add_origin()
322 if ((ret = commp_add_str(&origin->o_addrtype, addrtype, in sdp_add_origin()
323 strlen(addrtype))) != 0) { in sdp_add_origin()
410 sdp_add_connection(sdp_conn_t **conn, const char *nettype, const char *addrtype, in sdp_add_connection() argument
417 if (conn == NULL || nettype == NULL || addrtype == NULL || in sdp_add_connection()
430 if ((ret = commp_add_str(&new_conn->c_addrtype, addrtype, in sdp_add_connection()
431 strlen(addrtype))) != 0) { in sdp_add_connection()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Ddispatch.c63 name = (char *) inet_ntop (ADDRTYPE2FAMILY (from->address->addrtype), in dispatch()

12