Home
last modified time | relevance | path

Searched refs:intf (Results 1 – 25 of 62) sorted by relevance

123

/titanic_50/usr/src/lib/libmvec/common/
H A D__vatanf.c46 int intf, intz, argcount; in __vatanf() local
67 intf = *(int *) x; /* upper half of x, as integer */ in __vatanf()
70 if (intf < 0) { in __vatanf()
71 intf = intf & ~0x80000000; /* abs(upper argument) */ in __vatanf()
76 if ((intf > 0x5B000000) || (intf < 0x31800000)) /* filter out special cases */ in __vatanf()
78 if (intf > 0x7f800000) in __vatanf()
82 else if (intf < 0x31800000) /* avoid underflow for small arg */ in __vatanf()
88 else if (intf > 0x5B000000) /* avoid underflow for big arg */ in __vatanf()
101 if (intf > 0x42800000) /* if (|x| > 64 */ in __vatanf()
106 else if (intf >= 0x3C800000) /* if |x| >= (1/64)... */ in __vatanf()
[all …]
H A D__vatan.c53 int index, sign, intf, intflo, intz, argcount; in __vatan() local
82 intf = HI(x); /* upper half of x, as integer */ in __vatan()
84 sign = intf & 0x80000000; /* sign of argument */ in __vatan()
85 intf = intf & ~0x80000000; /* abs(upper argument) */ in __vatan()
87 if ((intf > 0x43600000) || (intf < 0x3e300000)) /* filter out special cases */ in __vatan()
89 if ( (intf > 0x7ff00000) || ((intf == 0x7ff00000) && (intflo !=0))) in __vatan()
93 else if (intf < 0x3e300000) /* avoid underflow for small arg */ in __vatan()
99 else if (intf > 0x43600000) /* avoid underflow for big arg */ in __vatan()
113 if (intf > 0x40500000) /* if (|x| > 64 */ in __vatan()
117 else if (intf >= 0x3f900000) /* if |x| >= (1/64)... */ in __vatan()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSPosix.c230 mDNSlocal void SocketDataReady(mDNS *const m, PosixNetworkInterface *intf, int skt) in SocketDataReady() argument
242 const mDNSInterfaceID InterfaceID = intf ? intf->coreIntf.InterfaceID : NULL; in SocketDataReady()
289 if (!intf) in SocketDataReady()
296 …if (packetInfo.ipi_ifname[0] != 0) reject = (strcmp(packetInfo.ipi_ifname, intf->intfName) !=… in SocketDataReady()
297 else if (packetInfo.ipi_ifindex != -1) reject = (packetInfo.ipi_ifindex != intf->index); in SocketDataReady()
303 &intf->coreIntf.ip, intf->intfName, intf->index, skt); in SocketDataReady()
318 … &senderAddr, &destAddr, &intf->coreIntf.ip, intf->intfName, intf->index, skt); in SocketDataReady()
542 PosixNetworkInterface *intf; in SearchForInterfaceByName() local
547 intf = (PosixNetworkInterface*)(m->HostInterfaces); in SearchForInterfaceByName()
548 while ((intf != NULL) && (strcmp(intf->intfName, intfName) != 0)) in SearchForInterfaceByName()
[all …]
H A DmDNS.c357 NetworkInterfaceInfo *intf; in mDNS_AddressIsLocalSubnet() local
363 for (intf = m->HostInterfaces; intf; intf = intf->next) in mDNS_AddressIsLocalSubnet()
364 if (intf->ip.type == addr->type && intf->InterfaceID == InterfaceID && intf->McastTxRx) in mDNS_AddressIsLocalSubnet()
365 …if (((intf->ip.ip.v4.NotAnInteger ^ addr->ip.v4.NotAnInteger) & intf->mask.ip.v4.NotAnInteger) == … in mDNS_AddressIsLocalSubnet()
369 if (mDNSSameIPv4Address(intf->ip.ip.v4, addr->ip.v4)) in mDNS_AddressIsLocalSubnet()
384 for (intf = m->HostInterfaces; intf; intf = intf->next) in mDNS_AddressIsLocalSubnet()
385 if (intf->ip.type == addr->type && intf->InterfaceID == InterfaceID && intf->McastTxRx) in mDNS_AddressIsLocalSubnet()
386 if ((((intf->ip.ip.v6.l[0] ^ addr->ip.v6.l[0]) & intf->mask.ip.v6.l[0]) == 0) && in mDNS_AddressIsLocalSubnet()
387 (((intf->ip.ip.v6.l[1] ^ addr->ip.v6.l[1]) & intf->mask.ip.v6.l[1]) == 0) && in mDNS_AddressIsLocalSubnet()
388 (((intf->ip.ip.v6.l[2] ^ addr->ip.v6.l[2]) & intf->mask.ip.v6.l[2]) == 0) && in mDNS_AddressIsLocalSubnet()
[all …]
/titanic_50/usr/src/uts/common/xen/io/
H A Dxenbus_comms.c135 volatile struct xenstore_domain_interface *intf = in xb_write() local
145 while ((intf->req_prod - intf->req_cons) == in xb_write()
159 cons = intf->req_cons; in xb_write()
160 prod = intf->req_prod; in xb_write()
165 dst = get_output_chunk(cons, prod, (char *)intf->req, &avail); in xb_write()
177 intf->req_prod += avail; in xb_write()
189 volatile struct xenstore_domain_interface *intf = in xb_read() local
199 while (intf->rsp_cons == intf->rsp_prod) { in xb_read()
212 cons = intf->rsp_cons; in xb_read()
213 prod = intf->rsp_prod; in xb_read()
[all …]
/titanic_50/usr/src/lib/libmvec/common/vis/
H A D__vatan.S41 ! int index, sign, intf, intz;
63 ! intf = pf[0]; /* grab upper half */
64 ! sign = intf & 0x80000000; /* sign of argument */
65 ! intf ^= sign; /* abs(upper argument) */
67 ! pf[0] = intf;
69 ! if( (intf > 0x43600000) || (intf < 0x3e300000) ) /* filter out special cases */
71 ! if( (intf > 0x7ff00000) ||
72 ! ((intf == 0x7ff00000) && (pf[1] !=0)) ) return (*x-*x);/* return NaN if x=NaN*/
73 ! if( intf < 0x3e300000 ) /* avoid underflow for small arg */
79 ! if( intf > 0x43600000 ) /* avoid underflow for big arg */
[all …]
/titanic_50/usr/src/cmd/svc/milestone/
H A Dnet-physical122 intf=$1
124 /sbin/dladm show-iptun -P $intf > /dev/null 2>&1
131 set -- $intf
140 /sbin/dladm show-link -Pp $intf > /dev/null 2>&1
317 intf=`echo $showif_output | /usr/bin/cut -f1 -d:`
326 elif is_iptun $intf; then
329 elif [ -f /etc/hostname.$intf ] || [ -f /etc/hostname6.$intf ]; then
331 echo "found /etc/hostname.$intf "\
332 "or /etc/hostname6.$intf, "\
336 echo "Ignoring /etc/hostname*.$intf" > /dev/msglog
[all …]
H A Dnet-install421 for intf in $NET_V4IF $NET_V6IF
423 pg=`$SVCPROP -p $intf $NET_INSTALL_FMRI`
432 if [ "$intf" == "$NET_V4IF" ]; then
447 $SVCCFG -s $NET_INSTALL_FMRI delpg $intf
H A Dnet-iptun90 tunnel_interfaces=`for intf in $tunnel_links $implicit_tunnels; do \
91 echo $intf; done | /usr/bin/sort -u`
/titanic_50/usr/src/cmd/cmd-inet/etc/init.d/
H A Dpppd46 while read intf saps sapd; do
47 if [ "$intf" ]; then
49 /usr/sbin/sppptun plumb $saps pppoe $intf
51 /usr/sbin/sppptun plumb $sapd pppoed $intf
81 while read intf rest; do
82 if [ "$intf" ]; then
83 /usr/sbin/sppptun unplumb ${intf}:pppoe
84 /usr/sbin/sppptun unplumb ${intf}:pppoed
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd_impl.h152 #define IS_PRIMARY_INTF(intf) \ argument
153 (((intf)->vvi_sockfd >= 0) && ((intf)->vvi_eid != -1))
155 #define IS_VIRTUAL_INTF(intf) \ argument
156 (((intf)->vvi_sockfd >= 0) && ((intf)->vvi_eid == -1))
169 #define QUALIFY_PRIMARY_ADDR(intf, ip) \ argument
170 (((ip)->vip_flags & IFF_UP) && ((intf)->vvi_af != AF_INET6 || \
H A Dvrrpd.c363 vrrp_intf_t *intf; in vrrpd_lookup_if() local
365 TAILQ_FOREACH(intf, &vrrp_intf_list, vvi_next) { in vrrpd_lookup_if()
366 if (strcmp(ifname, intf->vvi_ifname) == 0 && in vrrpd_lookup_if()
367 af == intf->vvi_af) { in vrrpd_lookup_if()
371 return (intf); in vrrpd_lookup_if()
378 vrrp_intf_t *intf; in vrrpd_create_if() local
389 intf = *intfp; in vrrpd_create_if()
390 TAILQ_INIT(&intf->vvi_iplist); in vrrpd_create_if()
391 (void) strlcpy(intf->vvi_ifname, ifname, sizeof (intf->vvi_ifname)); in vrrpd_create_if()
392 intf->vvi_af = af; in vrrpd_create_if()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd382 local($peer,$intf);
391 $intf = $$options{"interface"};
393 unless defined($intf);
394 warn("Bad interface $intf on path to peer \"$peer\".\n"), return
395 unless $intf =~ /^ipd([0-9]+|ptp[0-9]+|ptp\*)$/;
398 if $intf =~ /^ipd[0-9]+$/ && !defined($$options{"peer_ip_address"});
734 local (@ifconfiglist,$cstr,$etherif,$intf,$ifconf,$addstr,$port);
746 foreach $intf (keys %$ifconfig) {
747 $ifconf = $$ifconfig{$intf};
748 if ($intf =~ /ipd[0-9]+/) {
[all …]
/titanic_50/usr/src/uts/common/avs/ns/rdc/
H A Drdc_io.c638 if (strncmp(utmp->primary.intf, urdc->primary.intf, in add_to_group()
644 if (strncmp(utmp->secondary.intf, urdc->secondary.intf, in add_to_group()
781 if (strncmp(utmp->primary.intf, urdc->primary.intf, in change_group()
784 if (strncmp(utmp->secondary.intf, urdc->secondary.intf, in change_group()
1094 urdc->secondary.intf, urdc->secondary.file, why); in rdc_set_flags_log()
1097 urdc->secondary.intf, urdc->secondary.file, why); in rdc_set_flags_log()
1100 urdc->secondary.intf, urdc->secondary.file, why); in rdc_set_flags_log()
1130 spcs_s_add(kstatus, RDC_EGETSIZE, urdc->secondary.intf, in check_filesize()
1144 spcs_s_add(kstatus, RDC_ESIZE, urdc->primary.intf, in check_filesize()
1145 urdc->primary.file, tmp1, urdc->secondary.intf, in check_filesize()
[all …]
H A Drdc.c541 offsetof(struct rdc_addr32, intf); in rdc_status_copy32()
544 bcopy(&urdc->primary.intf[0], &set32.primary.intf[0], tailsize); in rdc_status_copy32()
547 bcopy(&urdc->secondary.intf[0], &set32.secondary.intf[0], tailsize); in rdc_status_copy32()
949 urdc->primary.intf); in rdc_info_stats_update()
952 urdc->secondary.intf); in rdc_info_stats_update()
958 if (krdc->intf) { in rdc_info_stats_update()
959 rdc_info_stats->s_if_if_down.value.ul = krdc->intf->if_down; in rdc_info_stats_update()
961 krdc->intf->rpc_version; in rdc_info_stats_update()
1017 + strlen(urdc->primary.intf) + 1 in rdc_kstat_create()
1018 + strlen(urdc->secondary.intf) + 1; in rdc_kstat_create()
/titanic_50/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c193 read_stable_iaid(const char *intf) in read_stable_iaid() argument
201 if (strcmp(intf, ie.ie_name) == 0) { in read_stable_iaid()
218 write_stable_iaid(const char *intf, uint32_t iaid) in write_stable_iaid() argument
227 if (strcmp(intf, ie.ie_name) == 0) { in write_stable_iaid()
239 (void) strlcpy(ie.ie_name, intf, sizeof (ie.ie_name)); in write_stable_iaid()
261 make_stable_iaid(const char *intf, uint32_t hint) in make_stable_iaid() argument
/titanic_50/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dmachdep.c271 char *str, *intf; in cb_mpsetup() local
273 intf = "SUNW,stop-cpu-by-cpuid"; in cb_mpsetup()
274 has_scbc = (prom_test(intf) == 0); in cb_mpsetup()
275 CB_VPRINTF(("\n\"%s\" test %d\n", intf, has_scbc)); in cb_mpsetup()
/titanic_50/usr/src/lib/brand/solaris10/cmd/
H A Ds10_net_physical.sh435 /sbin/ifconfig -a4uD | while read intf addr rest; do
436 [ $intf = inet ] && [ $addr != 127.0.0.1 ] &&
443 /sbin/ifconfig -au6 | while read intf addr rest; do
444 [ $intf = inet6 ] && [ $addr != ::1/128 ] && exit 0
/titanic_50/usr/src/cmd/bnu/
H A Ddkdial.c80 dkndial(dest, intf) in dkndial() argument
94 sprintf(dial_dev, "/dev/dk/dial%d", intf);
/titanic_50/usr/src/lib/librdc/common/
H A Drdcconfig.c134 strncpy(urdc.primary.intf, rdc->phost, MAX_RDC_HOST_SIZE); in config2set()
137 strncpy(urdc.secondary.intf, rdc->shost, MAX_RDC_HOST_SIZE); in config2set()
168 if (self_check(rdccfg->rdc_set->primary.intf)) { in rdc_config()
178 strncpy(rc.set.phost, set->primary.intf, MAX_RDC_HOST_SIZE); in rdc_config()
180 strncpy(rc.set.shost, set->secondary.intf, MAX_RDC_HOST_SIZE); in rdc_config()
203 if (self_check(rdccfg->rdc_set->primary.intf)) { in rdc_mtconfig()
214 strncpy(rc[0]->set.phost, set->primary.intf, MAX_RDC_HOST_SIZE); in rdc_mtconfig()
217 strncpy(rc[0]->set.shost, set->secondary.intf, MAX_RDC_HOST_SIZE); in rdc_mtconfig()
241 strncpy(fromname, urdc->primary.intf, MAX_RDC_HOST_SIZE); in populate_addrs()
242 strncpy(toname, urdc->secondary.intf, MAX_RDC_HOST_SIZE); in populate_addrs()
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/
H A Dnet.c854 get_ifname(const ire_t *ire, char *intf) in get_ifname() argument
858 *intf = '\0'; in get_ifname()
863 (void) mdb_readstr(intf, MIN(LIFNAMSIZ, ill.ill_name_length), in get_ifname()
918 char flags[10], intf[LIFNAMSIZ + 1]; in netstat_irev4_cb() local
950 get_ifname(ire, intf); in netstat_irev4_cb()
955 ire->ire_mask, ADDR_V4_WIDTH, gate, intf, in netstat_irev4_cb()
963 ire->ire_ob_pkt_count + ire->ire_ib_pkt_count, intf); in netstat_irev4_cb()
998 char flags[10], intf[LIFNAMSIZ + 1]; in netstat_irev6_cb() local
1035 get_ifname(ire, intf); in netstat_irev6_cb()
1040 intf, 0, ' ', in netstat_irev6_cb()
[all …]
/titanic_50/usr/src/cmd/ed/
H A Dinc.flg29 echo_file usr/src/cmd/expr/mapfile-intf
/titanic_50/usr/src/cmd/nl/
H A Dinc.flg30 echo_file usr/src/cmd/expr/mapfile-intf
/titanic_50/usr/src/cmd/avs/rdc/
H A Dsndrsyncd.c257 if (isnewhost(rdc_info->rdc_set[i].secondary.intf)) {
275 rdc_info->rdc_set[i].secondary.intf);
279 secondary.intf, THR_BOUND|THR_DETACHED, NULL);
436 (void) strncpy(rdc_set[sets].secondary.intf, buf, in rdc_sync()
445 (void) strncpy(rdc_set[sets].primary.intf, buf, in rdc_sync()
1028 host = rdc_info->rdc_set[j].secondary.intf; in cleanup_hostlist()
1241 (void) strcpy(parms.rdc_set->primary.intf, phost); in group_complete()
1254 (void) strcpy(parms.rdc_set->secondary.intf, shost); in group_complete()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dntp.h123 struct intf { struct
132 extern struct intf addrs[]; argument

123