Home
last modified time | relevance | path

Searched refs:lifr_flags (Results 1 – 25 of 48) sorted by relevance

12

/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinterface.c124 if (lifr.lifr_flags & IFF_VRRP) { in insert_pif()
467 lif->lif_flags = lifr.lifr_flags; in insert_lif()
473 if ((lifr.lifr_flags & IFF_RUNNING) && !pif->pif_running) { in insert_lif()
475 } else if (!(lifr.lifr_flags & IFF_RUNNING) && pif->pif_running) { in insert_lif()
479 if (lifr.lifr_flags & IFF_POINTOPOINT) { in insert_lif()
487 } else if (!pif->pif_isv6 && (lifr.lifr_flags & IFF_BROADCAST)) { in insert_lif()
753 if ((lif->lif_flags ^ lifr.lifr_flags) & DHCP_IFF_WATCH) { in verify_lif()
756 lifr.lifr_flags, (lif->lif_flags ^ lifr.lifr_flags) & in verify_lif()
872 lif->lif_flags = lifr.lifr_flags; in canonize_lif()
874 if (dhcponly && !(lifr.lifr_flags & IFF_DHCPRUNNING)) { in canonize_lif()
[all …]
H A Dagent.c1206 lifr.lifr_flags = 0; in check_lif()
1225 } else if (lifr.lifr_flags & IFF_DUPLICATE) { in check_lif()
1289 } else if (lifr.lifr_flags & IFF_DUPLICATE) { in check_main_lif()
1335 !(lifr.lifr_flags & IFF_RUNNING)) { in process_link_up_down()
/titanic_41/usr/src/lib/libipadm/common/
H A Dipadm_if.c150 if (lifrl.lifr_flags & IFF_BROADCAST) in i_ipadm_active_if_info()
152 if (lifrl.lifr_flags & IFF_MULTICAST) in i_ipadm_active_if_info()
154 if (lifrl.lifr_flags & IFF_POINTOPOINT) in i_ipadm_active_if_info()
156 if (lifrl.lifr_flags & IFF_VIRTUAL) in i_ipadm_active_if_info()
158 if (lifrl.lifr_flags & IFF_IPMP) in i_ipadm_active_if_info()
160 if (lifrl.lifr_flags & IFF_STANDBY) in i_ipadm_active_if_info()
162 if (lifrl.lifr_flags & IFF_INACTIVE) in i_ipadm_active_if_info()
164 if (lifrl.lifr_flags & IFF_VRRP) in i_ipadm_active_if_info()
166 if (lifrl.lifr_flags & IFF_NOACCEPT) in i_ipadm_active_if_info()
168 if (lifrl.lifr_flags & IFF_IPV4) in i_ipadm_active_if_info()
[all …]
H A Dipadm_ndpd.c196 lifr.lifr_flags |= IFF_UP; in i_ipadm_create_linklocal()
213 lifr.lifr_flags &= ~IFF_UP; in i_ipadm_create_linklocal()
H A Dlibipadm.c423 lifr.lifr_flags = oflags; in i_ipadm_set_flags()
461 *flags = lifr.lifr_flags; in i_ipadm_get_flags()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dstartup.c114 if (!(lifr.lifr_flags & IFF_IPV6) || in initifs()
115 !(lifr.lifr_flags & IFF_MULTICAST) || in initifs()
116 (lifr.lifr_flags & IFF_LOOPBACK)) in initifs()
122 if (lifr.lifr_flags & IFF_POINTOPOINT) in initifs()
124 if (lifr.lifr_flags & IFF_NORTEXCH) in initifs()
126 if (lifr.lifr_flags & IFF_PRIVATE) in initifs()
128 if (lifr.lifr_flags & IFF_UP) { in initifs()
/titanic_41/usr/src/lib/libinetutil/common/
H A Difaddrlistx.c123 if (set != 0 && ((lifrp->lifr_flags & set) == 0) || in ifaddrlistx()
124 (lifrp->lifr_flags & clear) != 0) in ifaddrlistx()
134 ifaddrp->ia_flags = lifrp->lifr_flags; in ifaddrlistx()
H A Difaddrlist.c140 al->flags = lifrp->lifr_flags; in ifaddrlist()
/titanic_41/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c212 if (!(flifr.lifr_flags & IFF_UP) || in get_first_interface()
213 (flifr.lifr_flags & (IFF_VIRTUAL|IFF_POINTOPOINT))) in get_first_interface()
241 *dhcpflag = (flifr.lifr_flags & IFF_DHCPRUNNING) != 0; in get_first_interface()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Drevarp.c85 if ((lifr.lifr_flags & IFF_LOOPBACK) || in doifrevarp()
86 (lifr.lifr_flags & IFF_NOARP) || in doifrevarp()
87 (lifr.lifr_flags & IFF_IPMP) || in doifrevarp()
88 (lifr.lifr_flags & IFF_POINTOPOINT)) { in doifrevarp()
H A Difconfig.c1499 if ((value & IFF_NOFAILOVER) && (lifr.lifr_flags & IFF_UP)) { in setifflags()
1506 lifr.lifr_flags &= ~IFF_UP; in setifflags()
1511 lifr.lifr_flags &= ~value; in setifflags()
1513 (lifr.lifr_flags & IFF_DUPLICATE)) { in setifflags()
1522 value = lifr.lifr_flags; in setifflags()
1525 lifr.lifr_flags = value; in setifflags()
1528 lifr.lifr_flags |= value; in setifflags()
1542 (lifr.lifr_flags & (IFF_UP|IFF_IPV6)) == (IFF_UP|IFF_IPV6) && in setifflags()
1555 if (!(lifrl.lifr_flags & IFF_UP)) { in setifflags()
1556 lifrl.lifr_flags |= IFF_UP; in setifflags()
[all …]
/titanic_41/usr/src/uts/common/io/
H A Dstrplumb.c369 lifr.lifr_flags |= IFF_IPV4; in strplumb_dev()
370 lifr.lifr_flags &= ~IFF_IPV6; in strplumb_dev()
376 lifr.lifr_flags |= IFF_IPV6; in strplumb_dev()
377 lifr.lifr_flags &= ~IFF_IPV4; in strplumb_dev()
407 if (lifr.lifr_flags & (IFF_NOARP | IFF_IPV6)) in strplumb_dev()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Dif_mpadm.c144 return ((lifr.lifr_flags & IFF_OFFLINE) != 0); in is_offline()
228 lifr.lifr_flags = flags; in set_lifflags()
/titanic_41/usr/src/lib/libsocket/inet/
H A Dgetifaddrs.c140 if ((flags & LIFC_ENABLED) && !(lifrl.lifr_flags & IFF_UP)) in getallifaddrs()
159 curr->ifa_flags = lifrl.lifr_flags; in getallifaddrs()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dforeachaddr.c275 if (lifreq.lifr_flags & IFF_LOOPBACK) { in foreach_localaddr()
281 if ((lifreq.lifr_flags & IFF_UP) == 0) { in foreach_localaddr()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c233 pi->pi_flags = lifr.lifr_flags; in phyint_init_from_k()
430 if (!(lifr.lifr_flags & IFF_ROUTER) && pi->pi_AdvSendAdvertisements) { in phyint_init_from_k()
431 lifr.lifr_flags |= IFF_ROUTER; in phyint_init_from_k()
437 pi->pi_flags = lifr.lifr_flags; in phyint_init_from_k()
1224 pr->pr_flags = lifr.lifr_flags; in prefix_init_from_k()
1229 if (lifr.lifr_flags & IFF_DHCPRUNNING) { in prefix_init_from_k()
1234 if (!(lifr.lifr_flags & IFF_UP) || in prefix_init_from_k()
1437 old_flags = lifr.lifr_flags; in prefix_modify_flags()
1438 lifr.lifr_flags |= onflags; in prefix_modify_flags()
1439 lifr.lifr_flags &= ~offflags; in prefix_modify_flags()
[all …]
H A Dmain.c450 if (!(lifr.lifr_flags & IFF_MULTICAST) || in if_process()
451 (lifr.lifr_flags & (IFF_LOOPBACK|IFF_VRRP))) { in if_process()
455 if (!(lifr.lifr_flags & IFF_IPV6)) in if_process()
557 if ((lifr.lifr_flags & IFF_DUPLICATE) && in if_process()
558 !(lifr.lifr_flags & IFF_DHCPRUNNING) && in if_process()
2450 if ((lifr.lifr_flags & IFF_ADDRCONF) || in ndpd_delete_addrs()
2451 (lifr.lifr_flags & IFF_DHCPRUNNING)) { in ndpd_delete_addrs()
2469 if (lifr.lifr_flags & IFF_DHCPRUNNING) in ndpd_delete_addrs()
/titanic_41/usr/src/lib/libresolv2/common/resolv/
H A Dres_init.c336 if ((lreq.lifr_flags & IFF_UP) && in __res_vinit()
337 !(lreq.lifr_flags & IFF_NOLOCAL) && in __res_vinit()
338 !(lreq.lifr_flags & IFF_NOXMIT) && in __res_vinit()
339 !(lreq.lifr_flags & IFF_LOOPBACK)) { in __res_vinit()
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_impl.c200 if ((lifr.lifr_flags & IFF_UP) != IFF_UP) in rdsv3_do_ip_ioctl()
202 if (lifr.lifr_flags & in rdsv3_do_ip_ioctl()
255 if ((lifr.lifr_flags & IFF_UP) != IFF_UP) in rdsv3_do_ip_ioctl()
257 if (lifr.lifr_flags & in rdsv3_do_ip_ioctl()
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c531 nc->nic_sysflags = lifrr.lifr_flags; in smb_nic_getinfo()
687 if (lifrl.lifr_flags & IFF_LOOPBACK) { in smb_nic_hlist_sysget()
691 if ((lifrl.lifr_flags & IFF_UP) == 0) { in smb_nic_hlist_sysget()
/titanic_41/usr/src/uts/common/inet/kifconf/
H A Dkifconf.c235 lifr.lifr_flags |= value; in ksetifflags()
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c500 #define lifr_flags iflr_flags macro
596 if ((lifreq.lifr_flags & IFF_UP) == 0)
611 if ((lifreq.lifr_flags & IFF_UP) == 0)
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c1374 if ((lifreq.lifr_flags & IFF_UP) == 0) in initifs()
1376 if (lifreq.lifr_flags & IFF_LOOPBACK) in initifs()
1378 if ((lifreq.lifr_flags & (IFF_MULTICAST | IFF_BROADCAST)) == 0) in initifs()
1413 if (!getconfig(sock, lifreq.lifr_flags, &ifr->ifr_addr, in initifs()
1448 if (!getconfig(sock, lifreq.lifr_flags, &ifr->ifr_addr, in initifs()
/titanic_41/usr/src/lib/libdscp/
H A Dlibdscp.c281 flags = lifr.lifr_flags; in dscpAddr()
/titanic_41/usr/src/uts/common/inet/sockmods/
H A Dsockmod_pfp.c980 lifreq.lifr_flags = IFF_RUNNING; in sdpfp_ioctl()
982 lifreq.lifr_flags |= IFF_PROMISC; in sdpfp_ioctl()
1001 if ((lifreq.lifr_flags & IFF_PROMISC) != 0) in sdpfp_ioctl()

12