Home
last modified time | relevance | path

Searched refs:netaddr (Results 1 – 25 of 30) sorted by relevance

12

/titanic_44/usr/src/cmd/nscd/
H A Dgetnet.c71 if (argp->key.netaddr.type == AF_INET) { in netaddr_getlogstr()
75 net = htonl(argp->key.netaddr.net); in netaddr_getlogstr()
97 argp->key.netaddr.net, argp->key.netaddr.type); in netaddr_getlogstr()
108 if (e1->key.netaddr.type > e2->key.netaddr.type) in netaddr_compar()
110 else if (e1->key.netaddr.type < e2->key.netaddr.type) in netaddr_compar()
113 return (_NSC_INT_KEY_CMP(e1->key.netaddr.net, e2->key.netaddr.net)); in netaddr_compar()
118 return (db_gethash(&key->netaddr.net, in netaddr_gethash()
119 sizeof (key->netaddr.net), htsize)); in netaddr_gethash()
/titanic_44/usr/src/lib/libsocket/inet/
H A Dlink_addr.c71 uchar_t *netaddr; in _link_aton() local
109 if ((netaddr = malloc(numcolons + 1)) == NULL) { in _link_aton()
122 netaddr[idx++] = num; in _link_aton()
129 netaddr[idx++] = num; in _link_aton()
134 return (netaddr); in _link_aton()
H A Dgetnetent_r.c86 arg.key.netaddr.net = (uint32_t)net; in getnetbyaddr_r()
87 arg.key.netaddr.type = type; in getnetbyaddr_r()
/titanic_44/usr/src/uts/common/rpc/sec/
H A Dkey_call.c234 struct netbuf netaddr; in key_call() local
247 netaddr.len = netaddr.maxlen = 17; in key_call()
248 netaddr.buf = "localhost.keyserv"; in key_call()
266 RPCLOG(8, "len %d, ", netaddr.len); in key_call()
267 RPCLOG(8, "maxlen %d, ", netaddr.maxlen); in key_call()
268 RPCLOG(8, "name %p\n", (void *)netaddr.buf); in key_call()
273 error = clnt_tli_kcreate(configp, &netaddr, KEY_PROG, KEY_VERS, in key_call()
/titanic_44/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_init.c229 get_connection(struct netconfig *nconf, struct netbuf netaddr) in get_connection() argument
258 netaddr.len = netaddr.maxlen = __rpc_get_a_size(tinfo.addr); in get_connection()
259 sndcall.addr = netaddr; in get_connection()
306 struct netbuf netaddr; in _kadm5_initialize_rpcsec_gss_handle() local
379 (void) memset(&netaddr, 0, sizeof (netaddr)); in _kadm5_initialize_rpcsec_gss_handle()
380 netaddr.buf = (char *)sin; in _kadm5_initialize_rpcsec_gss_handle()
383 fd = get_connection(nconf, netaddr); in _kadm5_initialize_rpcsec_gss_handle()
401 printf("netaddr: maxlen %d, buf: %s, len: %d\n", netaddr.maxlen, in _kadm5_initialize_rpcsec_gss_handle()
402 netaddr.buf, netaddr.len); in _kadm5_initialize_rpcsec_gss_handle()
/titanic_44/usr/src/lib/nsswitch/files/common/
H A Dgetnetent.c82 return (AF_INET == argp->key.netaddr.type && in check_addr()
83 linenet == argp->key.netaddr.net); in check_addr()
/titanic_44/usr/src/uts/common/avs/ns/rdc/
H A Drdc_prot.x82 opaque netaddr[RDC_MAXADDR]; member
94 struct netbuf netaddr; member
H A Drdc_clnt.c176 bcopy(urdc->primary.addr.buf, s4.netaddr, s4.netaddrlen); in rdc_net_state()
188 s.netaddr.buf = neta; in rdc_net_state()
190 bcopy(urdc->primary.addr.buf, s.netaddr.buf, s.netaddrlen); in rdc_net_state()
192 s.netaddr.len = urdc->primary.addr.len; in rdc_net_state()
194 s.netaddr.maxlen = urdc->primary.addr.len; in rdc_net_state()
196 sp = (unsigned short *)s.netaddr.buf; in rdc_net_state()
292 s.netaddr.buf = neta; in rdc_net_getstate()
294 bcopy(urdc->primary.addr.buf, s.netaddr.buf, s.netaddrlen); in rdc_net_getstate()
296 sp = (unsigned short *) s.netaddr.buf; in rdc_net_getstate()
300 s.netaddr.len = urdc->primary.addr.len; in rdc_net_getstate()
[all …]
H A Drdc_svc.c1483 bcopy(state.netaddr, rdc_set.primary.addr.buf, in r_net_state4()
1726 sp = (unsigned short *)(state.netaddr.buf); in r_net_state()
1728 bcopy(state.netaddr.buf, rdc_set.primary.addr.buf, in r_net_state()
1947 free_rdc_netbuf(&(state.netaddr)); in r_net_state()
1968 bcopy(state.netaddr, rdc_set.primary.addr.buf, in r_net_getstate4()
2020 sp = (unsigned short *)(state.netaddr.buf); in r_net_getstate7()
2022 bcopy(state.netaddr.buf, rdc_set.primary.addr.buf, in r_net_getstate7()
/titanic_44/usr/src/uts/common/inet/ipf/netinet/
H A Dip_h323_pxy.c63 u_32_t addr, netaddr; local
73 netaddr = ntohl(ipaddr);
77 if (netaddr == addr)
/titanic_44/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_name_service.c547 uint32_t netmask, netaddr, netaddr_dest; in dapls_ns_subnet_match_v4() local
573 netaddr = ((struct sockaddr_in *)&lifreq.lifr_addr)-> in dapls_ns_subnet_match_v4()
577 if (netaddr != netaddr_dest) { in dapls_ns_subnet_match_v4()
580 "local %x, remote %x\n", netaddr, netaddr_dest); in dapls_ns_subnet_match_v4()
/titanic_44/usr/src/lib/nsswitch/nis/common/
H A Dgetnetent.c63 if (nettoa((int)argp->key.netaddr.net, addrstr, 16, &pnull) != 0)
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drtquery.c123 in_addr_t netaddr, netmask; in main() local
166 rflag = getnet(optarg, &netaddr, &netmask); in main()
168 OMSG.rip_nets[0].n_dst = htonl(netaddr); in main()
/titanic_44/usr/src/uts/common/io/rtls/
H A Drtls.c482 rtls_get_mac_addr(rtlsp, rtlsp->netaddr); in rtls_attach()
531 macp->m_src_addr = rtlsp->netaddr; in rtls_attach()
706 bcopy(macaddr, rtlsp->netaddr, ETHERADDRL); in rtls_m_unicst()
708 rtls_set_mac_addr(rtlsp, rtlsp->netaddr); in rtls_m_unicst()
1757 rtls_set_mac_addr(rtlsp, rtlsp->netaddr); in rtls_chip_init()
H A Drtls.h170 uint8_t netaddr[ETHERADDRL]; /* mac address */ member
/titanic_44/usr/src/lib/nsswitch/ldap/common/
H A Dgetnetent.c245 if (nettoa((int)argp->key.netaddr.net, addrstr, addrstr2, in getbyaddr()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c548 *uptr++ = (nssuint_t)arg->key.netaddr.net; in nss_pack_key2str()
549 *uptr++ = (nssuint_t)arg->key.netaddr.type; in nss_pack_key2str()
950 arg->key.netaddr.net = (uint32_t)(*uptr++); in nss_upack_key2arg()
951 arg->key.netaddr.type = (int)(*uptr++); in nss_upack_key2arg()
/titanic_44/usr/src/psm/stand/
H A DREADME50 b). lib/fs/nfs_inet/netaddr.h: MAX_PKT_SIZE different between i386 and sparc
/titanic_44/usr/src/uts/intel/io/dnet/
H A Ddnet.h345 uchar_t netaddr[ETHERADDRL]; member
H A Ddnet.c662 dnetp->sr.netaddr[ETHERADDRL-1] += secondary; /* unique ether addr */ in dnet_attach()
664 BCOPY((caddr_t)dnetp->sr.netaddr, in dnet_attach()
667 BCOPY((caddr_t)dnetp->sr.netaddr, in dnet_attach()
4006 sr->netaddr[i] = *p++; in dnet_parse_srom()
4022 ether_mfg = (ether_mfg << 8) | sr->netaddr[i]; in dnet_parse_srom()
4054 sr->netaddr[i] = mac[i]; in dnet_parse_srom()
4500 uchar_t *a = sr->netaddr; in dnet_print_srom()
/titanic_44/usr/src/uts/sun4u/starfire/io/
H A Didn_dlpi.c1644 idn_netaddr_t netaddr; local
1684 netaddr.net.chan = channel;
1696 netaddr.net.netid = IDN_BROADCAST_ALLNETID;
1704 netaddr.net.netid = idn_domain[domid].dnetid;
1754 rv = idn_send_data(domid, netaddr, wq, mp);
/titanic_44/usr/src/head/
H A Dnss_dbdefs.h421 } netaddr; member
/titanic_44/usr/src/lib/libldap5/include/ldap/
H A Dsolaris-int.h360 LDAP *ld, struct sockaddr *netaddr, char *buffer, int buflen);
/titanic_44/usr/src/uts/common/io/rge/
H A Drge.h419 uint8_t netaddr[ETHERADDRL]; /* mac address */ member
H A Drge_main.c860 bcopy(macaddr, rgep->netaddr, ETHERADDRL); in rge_m_unicst()
1827 macp->m_src_addr = rgep->netaddr; in rge_attach()

12