Home
last modified time | relevance | path

Searched refs:laddr (Results 1 – 25 of 68) sorted by relevance

123

/titanic_41/usr/src/uts/common/inet/
H A Dipclassifier.h591 #define IPCL_BIND_MATCH(connp, proto, laddr, lport) \ argument
595 _IPCL_V4_MATCH((connp)->conn_laddr_v6, (laddr))) && \
598 #define IPCL_BIND_MATCH_V6(connp, proto, laddr, lport) \ argument
601 (IN6_ARE_ADDR_EQUAL(&(connp)->conn_laddr_v6, &(laddr)) || \
610 #define IPCL_UDP_MATCH(connp, lport, laddr, fport, faddr) \ argument
613 (_IPCL_V4_MATCH((connp)->conn_laddr_v6, (laddr)) && \
625 #define IPCL_UDP_MATCH_V6(connp, lport, laddr, fport, faddr) \ argument
628 (IN6_ARE_ADDR_EQUAL(&(connp)->conn_laddr_v6, &(laddr)) && \
633 #define IPCL_IPTUN_HASH(laddr, faddr) \ argument
634 ((ntohl(laddr) ^ ((ntohl(faddr) << 24) | (ntohl(faddr) >> 8))) % \
[all …]
/titanic_41/usr/src/cmd/sgs/libcrle/common/
H A Ddump.c211 uintptr_t laddr = 0, saddr; in filladdr() local
306 if ((laddr == 0) && in filladdr()
314 if (laddr == 0) { in filladdr()
315 laddr = _maps->pr_vaddr + _maps->pr_size; in filladdr()
319 if ((size = _maps->pr_vaddr - laddr) != 0) { in filladdr()
320 if (mmap((void *)laddr, size, PROT_NONE, in filladdr()
329 laddr = _maps->pr_vaddr + _maps->pr_size; in filladdr()
339 while (laddr) { in filladdr()
340 if (mmap((void *)laddr, syspagsz, PROT_NONE, in filladdr()
350 laddr += syspagsz; in filladdr()
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dconnection.c64 rdsv3_conn_lookup(uint32_be_t laddr, uint32_be_t faddr, avl_index_t *pos) in rdsv3_conn_lookup() argument
70 conn_info.c_laddr = laddr; in rdsv3_conn_lookup()
77 conn, NIPQUAD(laddr), NIPQUAD(faddr)); in rdsv3_conn_lookup()
119 __rdsv3_conn_create(uint32_be_t laddr, uint32_be_t faddr, in __rdsv3_conn_create() argument
127 conn = rdsv3_conn_lookup(laddr, faddr, &pos); in __rdsv3_conn_create()
146 ntohl(laddr), ntohl(faddr)); in __rdsv3_conn_create()
155 conn->c_laddr = laddr; in __rdsv3_conn_create()
164 conn->c_bucketp = rdsv3_find_ip_bucket(ntohl(laddr), GLOBAL_ZONEID); in __rdsv3_conn_create()
211 conn, NIPQUAD(laddr), NIPQUAD(faddr), in __rdsv3_conn_create()
237 found = rdsv3_conn_lookup(laddr, faddr, &pos); in __rdsv3_conn_create()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Drds.h161 u_int32_t laddr; member
171 u_int32_t laddr; member
181 u_int32_t laddr; member
190 u_int32_t laddr; member
206 u_int32_t laddr; member
217 u_int32_t laddr; member
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dgenaddrs.c80 krb5_address * laddr; in krb5_auth_con_genaddrs() local
99 laddr = &laddrs.addr; in krb5_auth_con_genaddrs()
107 laddr = NULL; in krb5_auth_con_genaddrs()
131 if (!(retval = krb5_auth_con_setaddrs(context, auth_context, laddr, raddr))) in krb5_auth_con_genaddrs()
/titanic_41/usr/src/cmd/ypcmd/
H A Dypserv_net_secure.c57 static int addrequal(sa_family_t af, inaddr_t *laddr, inaddr_t *mask,
202 addrequal(sa_family_t af, inaddr_t *laddr, inaddr_t *mask, inaddr_t *caddr) { in addrequal() argument
206 for (i = 0; i < sizeof (laddr->in6.s6_addr); i++) { in addrequal()
208 laddr->in6.s6_addr[i]) in addrequal()
214 laddr->in4.s_addr); in addrequal()
/titanic_41/usr/src/uts/common/inet/kssl/
H A Dksslioctl.c149 kssl_find_entry(in6_addr_t laddr, in_port_t port, int type, in kssl_find_entry() argument
166 if (IN6_ARE_ADDR_EQUAL(&laddr, &ep->ke_laddr) || in kssl_find_entry()
167 (wild_card_match && (IN6_IS_ADDR_UNSPECIFIED(&laddr) || in kssl_find_entry()
536 in6_addr_t laddr; in kssl_add_entry() local
554 laddr = kssl_params->kssl_addr.sin6_addr; in kssl_add_entry()
579 index = kssl_find_entry(laddr, in kssl_add_entry()
584 if (kssl_find_entry(laddr, kssl_params->kssl_proxy_port, in kssl_add_entry()
636 if ((IN6_IS_ADDR_UNSPECIFIED(&laddr) && in kssl_add_entry()
638 (!IN6_IS_ADDR_UNSPECIFIED(&laddr) && in kssl_add_entry()
662 in6_addr_t laddr; in kssl_delete_entry() local
[all …]
/titanic_41/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_scsi.c136 uint64_t laddr; in sbd_do_read_xfer() local
147 laddr = scmd->addr + scmd->current_ro; in sbd_do_read_xfer()
154 if (sbd_data_read(sl, task, laddr, (uint64_t)iolen, in sbd_do_read_xfer()
164 laddr += (uint64_t)iolen; in sbd_do_read_xfer()
720 sbd_copy_rdwr(scsi_task_t *task, uint64_t laddr, stmf_data_buf_t *dbuf, in sbd_copy_rdwr() argument
760 uio.uio_loffset = laddr; in sbd_copy_rdwr()
769 uint8_t *, NULL, uint64_t, len, uint64_t, laddr, in sbd_copy_rdwr()
776 uint8_t *, NULL, uint64_t, len, uint64_t, laddr, int, ret, in sbd_copy_rdwr()
782 uint8_t *, NULL, uint64_t, len, uint64_t, laddr, in sbd_copy_rdwr()
790 uint8_t *, NULL, uint64_t, len, uint64_t, laddr, int, ret, in sbd_copy_rdwr()
[all …]
/titanic_41/usr/src/uts/common/io/ib/clients/iser/
H A Diser.c367 iser_path_exists(idm_sockaddr_t *laddr, idm_sockaddr_t *raddr) in iser_path_exists() argument
375 iser_ib_conv_sockaddr2ibtaddr(laddr, &local_ip); in iser_path_exists()
388 iser_channel_alloc(idm_sockaddr_t *laddr, idm_sockaddr_t *raddr) in iser_channel_alloc() argument
393 iser_ib_conv_sockaddr2ibtaddr(laddr, &local_ip); in iser_channel_alloc()
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c601 in6_addr_t laddr; in sctp_getsockaddr() local
610 laddr = ipif.sctp_ipif_saddr; in sctp_getsockaddr()
651 IN6_V4MAPPED_TO_INADDR(&laddr, in sctp_getsockaddr()
668 sin6->sin6_addr = laddr; in sctp_getsockaddr()
755 struct sockaddr *laddr = in tpi_sock_print() local
757 if (mdb_vread(laddr, sotpi_sonode->st_info.sti_laddr_len, in tpi_sock_print()
764 pfiles_print_addr(laddr); in tpi_sock_print()
861 struct sockaddr *laddr = mdb_alloc(sizeof (struct sockaddr), UM_SLEEP); in sctp_sock_print() local
878 if (sctp_getsockaddr(&sctp_t, laddr) == 0) { in sctp_sock_print()
880 pfiles_print_addr(laddr); in sctp_sock_print()
H A Dfindstack.c264 uintptr_t laddr = l->se_stack[idx]; in stacks_entry_comp_impl() local
267 if (laddr == raddr) in stacks_entry_comp_impl()
271 mdb_lookup_by_addr(laddr, MDB_SYM_FUZZY, in stacks_entry_comp_impl()
278 if (laddr > raddr) in stacks_entry_comp_impl()
521 uintptr_t laddr = addr; in stacks_has_caller() local
530 laddr = (uintptr_t)sym.st_value; in stacks_has_caller()
535 if (sep->se_stack[idx] >= laddr && sep->se_stack[idx] < haddr) in stacks_has_caller()
/titanic_41/usr/src/lib/libast/common/vmalloc/
H A Dvmpool.c134 reg Vmuchar_t *laddr, *baddr; local
153 { laddr = (Vmuchar_t*)SEGBLOCK(seg);
155 if((Vmuchar_t*)addr < laddr || (Vmuchar_t*)addr >= baddr)
160 tp = (Block_t*)(laddr + (((Vmuchar_t*)addr-laddr)/size)*size );
/titanic_41/usr/src/uts/common/sys/ib/clients/rds/
H A Drds.h113 #define RDS_MATCH(rdsp, lport, laddr) \ argument
115 ((rdsp)->rds_src == laddr))
/titanic_41/usr/src/uts/common/sys/ib/clients/iser/
H A Diser.h203 boolean_t iser_path_exists(idm_sockaddr_t *laddr, idm_sockaddr_t *raddr);
205 iser_chan_t *iser_channel_alloc(idm_sockaddr_t *laddr, idm_sockaddr_t *raddr);
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_bind.c655 tcp_bindi(tcp_t *tcp, in_port_t port, const in6_addr_t *laddr, in tcp_bindi() argument
797 V6_OR_V4_INADDR_ANY(*laddr) || in tcp_bindi()
798 IN6_ARE_ADDR_EQUAL(laddr, in tcp_bindi()
843 if (!V6_OR_V4_INADDR_ANY(*laddr) && in tcp_bindi()
846 !IN6_ARE_ADDR_EQUAL(laddr, in tcp_bindi()
872 if (IN6_ARE_ADDR_EQUAL(laddr, in tcp_bindi()
/titanic_41/usr/src/uts/common/inet/sockmods/
H A Dsocksctpsubr.c365 struct sockaddr_storage laddr; in sosctp_assoc_createconn() local
378 bzero(&laddr, sizeof (laddr)); in sosctp_assoc_createconn()
379 laddr.ss_family = so->so_family; in sosctp_assoc_createconn()
381 error = SOP_BIND(so, (struct sockaddr *)&laddr, in sosctp_assoc_createconn()
382 sizeof (laddr), _SOBIND_LOCK_HELD, cr); in sosctp_assoc_createconn()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c929 struct sockaddr_storage laddr; in setifaddr() local
939 (*afp->af_getaddr)(addr, (struct sockaddr *)&laddr, &prefixlen); in setifaddr()
983 set_mask_lifreq(&lifr, &laddr, &netmask); in setifaddr()
990 sin = (struct sockaddr_in *)&laddr; in setifaddr()
994 sin6 = (struct sockaddr_in6 *)&laddr; in setifaddr()
1050 (void *)&((struct sockaddr_in *)&laddr)->sin_addr : in setifaddr()
1051 (void *)&((struct sockaddr_in6 *)&laddr)->sin6_addr; in setifaddr()
1057 lifr.lifr_addr = laddr; in setifaddr()
1311 struct sockaddr_in laddr; in setifrevarp() local
1319 if (doifrevarp(name, &laddr)) { in setifrevarp()
[all …]
/titanic_41/usr/src/cmd/sendmail/aux/
H A Detrn.pl121 ($name, my $laddr) = (gethostbyname('localhost'))[0, 4];
125 my $sinl = sockaddr_in($port, $laddr);
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_conn.c146 in6_addr_t faddr, laddr; in sctp_conn_request() local
211 IN6_IPADDR_TO_V4MAPPED(ipha->ipha_dst, &laddr); in sctp_conn_request()
214 laddr = ip6h->ip6_dst; in sctp_conn_request()
226 econnp->conn_laddr_v6 = laddr; in sctp_conn_request()
228 econnp->conn_saddr_v6 = laddr; in sctp_conn_request()
/titanic_41/usr/src/lib/libsocket/inet/
H A Drcmd.c535 struct sockaddr_storage laddr; in rresvport_af() local
537 bzero(&laddr, sizeof (laddr)); in rresvport_af()
539 laddr.ss_family = (sa_family_t)af; in rresvport_af()
544 return (rresvport_addr(alport, &laddr)); in rresvport_af()
/titanic_41/usr/src/cmd/dtrace/demo/ip/
H A Dtcprst.d45 laddr[self->conn_id], lport[self->conn_id], \
111 laddr[self->conn_id] = self->i_laddr;
278 laddr[this->conn_id] = 0;
/titanic_41/usr/src/uts/common/io/
H A Dtrill.c1548 struct sockaddr_dl *laddr; in trill_send() local
1554 if (msg->msg_name == NULL || msg->msg_namelen != sizeof (*laddr)) in trill_send()
1561 laddr = (struct sockaddr_dl *)msg->msg_name; in trill_send()
1562 if (laddr->sdl_nlen != sizeof (datalink_id_t) || in trill_send()
1563 laddr->sdl_alen != ETHERADDRL || in trill_send()
1564 (laddr->sdl_slen != sizeof (tci) && laddr->sdl_slen != 0)) in trill_send()
1579 if (laddr->sdl_slen == 0) { in trill_send()
1583 tci = *(uint16_t *)(LLADDR(laddr) + ETHERADDRL); in trill_send()
1586 mp = create_trill_header(tsock, mp, (const uchar_t *)LLADDR(laddr), in trill_send()
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsockfilter.c411 struct sockaddr_in6 *laddr, *faddr; in sof_sonode_inherit_filters() local
418 laddr = kmem_zalloc(so->so_proto_props.sopp_maxaddrlen, in sof_sonode_inherit_filters()
420 if (laddr == NULL) in sof_sonode_inherit_filters()
425 kmem_free(laddr, so->so_proto_props.sopp_maxaddrlen); in sof_sonode_inherit_filters()
431 laddr = &laddrbuf; in sof_sonode_inherit_filters()
440 (so->so_proto_handle, (struct sockaddr *)laddr, &laddrlen, kcred); in sof_sonode_inherit_filters()
468 (struct sockaddr *)laddr, laddrlen, in sof_sonode_inherit_filters()
497 if (laddr != &laddrbuf) { in sof_sonode_inherit_filters()
498 kmem_free(laddr, so->so_proto_props.sopp_maxaddrlen); in sof_sonode_inherit_filters()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mem.c1395 uint32_t *haddr, uint32_t *laddr) in emlxs_mem_map_vaddr() argument
1418 *laddr = PADDR_LO(mp->phys); in emlxs_mem_map_vaddr()
1421 *laddr = PADDR_LO(mp->phys); in emlxs_mem_map_vaddr()
1446 *laddr = PADDR_LO(mp->phys); in emlxs_mem_map_vaddr()
1449 *laddr = PADDR_LO(mp->phys); in emlxs_mem_map_vaddr()
1474 *laddr = PADDR_LO(mp->phys); in emlxs_mem_map_vaddr()
1476 *laddr = PADDR_LO(mp->phys); in emlxs_mem_map_vaddr()
1503 *laddr = PADDR_LO(mp->phys); in emlxs_mem_map_vaddr()
1506 *laddr = PADDR_LO(mp->phys); in emlxs_mem_map_vaddr()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drdisc.c159 struct sockaddr_un laddr; in get_rdisc_sock() local
190 bzero(&laddr, sizeof (laddr)); in get_rdisc_sock()
191 laddr.sun_family = AF_UNIX; in get_rdisc_sock()
193 (void) strncpy(laddr.sun_path, RDISC_SNMP_SOCKET, in get_rdisc_sock()
194 sizeof (laddr.sun_path)); in get_rdisc_sock()
199 if (bind(rdisc_mib_sock, (struct sockaddr *)&laddr, len) < 0) { in get_rdisc_sock()

123