Home
last modified time | relevance | path

Searched refs:IFF_UP (Results 1 – 25 of 65) sorted by relevance

123

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Dif_mpadm.c162 if (ifaddrlistx(ifname, IFF_UP, 0, &ifaddrs) == -1) in do_offline()
170 ifaddrp->ia_flags & ~IFF_UP)) in do_offline()
190 if (ifaddrlistx(ifname, 0, IFF_UP, &ifaddrs) == -1) in undo_offline()
197 if (!set_lifflags(ifaddrp->ia_name, ifaddrp->ia_flags | IFF_UP)) in undo_offline()
/titanic_41/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_ip_route.c309 if ((ifflags & IFF_LOOPBACK | IFF_UP) == in get_ip_route()
310 IFF_UP && addr != INADDR_ANY && in get_ip_route()
489 if ((ifflags & IFF_LOOPBACK|IFF_UP) == IFF_UP && in find_best_server_int()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c437 if ((ifp->ifa_flags & IFF_UP) == 0) in foreach_localaddr()
442 ifp->ifa_flags &= ~IFF_UP; in foreach_localaddr()
454 ifp->ifa_flags &= ~IFF_UP; in foreach_localaddr()
460 if ((ifp2->ifa_flags & IFF_UP) == 0) in foreach_localaddr()
466 ifp->ifa_flags &= ~IFF_UP; in foreach_localaddr()
479 if (ifp->ifa_flags & IFF_UP) in foreach_localaddr()
594 if ((lifreq.lifr_flags & IFF_UP) == 0) { in foreach_localaddr()
766 if ((lifreq.iflr_flags & IFF_UP) == 0) { in foreach_localaddr()
982 if ((ifreq.ifr_flags & IFF_UP) == 0) { in foreach_localaddr()
H A Dforeachaddr.c281 if ((lifreq.lifr_flags & IFF_UP) == 0) { in foreach_localaddr()
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dcan_use_af.c55 lifn.lifn_flags = IFF_UP & !(IFF_NOXMIT | IFF_DEPRECATED); in __can_use_af()
/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()
255 if ((lifr.lifr_flags & IFF_UP) != IFF_UP) in rdsv3_do_ip_ioctl()
404 if ((((ushort_t)ifr.ifr_flags) & IFF_UP) != IFF_UP) in rdsv3_do_ip_ioctl_old()
469 if ((((ushort_t)ifr.ifr_flags) & IFF_UP) != IFF_UP) in rdsv3_do_ip_ioctl_old()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c38 { IFF_UP, "UP" },
245 { "up", IFF_UP, setifflags, 0, AF_ANY },
246 { "down", -IFF_UP, setifflags, 0, AF_ANY },
344 { IFF_UP, AF_UNSPEC, "up" },
464 onflags |= IFF_UP; in main()
467 offflags |= IFF_UP; in main()
1499 if ((value & IFF_NOFAILOVER) && (lifr.lifr_flags & IFF_UP)) { in setifflags()
1506 lifr.lifr_flags &= ~IFF_UP; in setifflags()
1512 if ((value & (IFF_UP | IFF_NOFAILOVER)) && in setifflags()
1542 (lifr.lifr_flags & (IFF_UP|IFF_IPV6)) == (IFF_UP|IFF_IPV6) && in setifflags()
[all …]
/titanic_41/usr/src/ucblib/librpcsoc/
H A Dget_myaddress.c106 if ((ifreq.ifr_flags & IFF_UP) == 0) in get_myaddress()
/titanic_41/usr/src/lib/libipadm/common/
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 Dipadm_if.c69 (ifap->ifa_flags & IFF_UP)) { in i_ipadm_is_if_down()
463 (void) i_ipadm_set_flags(iph, ifname, AF_INET6, IFF_UP, 0); in i_ipadm_create_ipmp()
897 IFF_UP, 0); in i_ipadm_plumb_if()
1017 if (ifaddrlistx(ifname, IFF_UP|IFF_DUPLICATE, in i_ipadm_unplumb_if()
1040 if (lifrl.lifr_flags & IFF_UP) { in i_ipadm_unplumb_if()
1043 AF_INET6), 0, IFF_UP); in i_ipadm_unplumb_if()
H A Dlibipadm.c374 if (index == msg.ifm.ifm_index && (msg.ifm.ifm_flags & IFF_UP)) in i_ipadm_dad_wait()
416 if (!(oflags & IFF_UP) && (on_flags & IFF_UP)) in i_ipadm_set_flags()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd_impl.h170 (((ip)->vip_flags & IFF_UP) && ((intf)->vvi_af != AF_INET6 || \
/titanic_41/usr/src/cmd/hal/addons/network-devices/
H A Dcommon.c291 if ((r.lifr_flags & (IFF_UP | IFF_LOOPBACK)) != IFF_UP) { in broadcast_address()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c797 if ((fl & (IFF_UP|IFF_BROADCAST|IFF_POINTOPOINT|IFF_LOOPBACK))
798 != (IFF_UP | IFF_BROADCAST)) {
1712 rc = giflags(IFF_UP, &iff_up_isset); in handle_unbind()
1725 rc = giflags(IFF_UP, &iff_up_isset); in handle_unbind()
2383 } else if (!siflags(IFF_UP, 1)) {
2407 } else if (!siflags(IFF_UP, 0)) {
2792 if ((ifreq.ifr_flags & (IFF_UP|IFF_BROADCAST|IFF_POINTOPOINT| in get_ether_addr()
2793 IFF_LOOPBACK|IFF_NOARP)) != (IFF_UP|IFF_BROADCAST)) { in get_ether_addr()
3343 } else if (!sif6flags(IFF_UP, 1)) {
3367 } else if (!sif6flags(IFF_UP, 0)) {
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c596 if ((lifreq.lifr_flags & IFF_UP) == 0)
611 if ((lifreq.lifr_flags & IFF_UP) == 0)
777 if ((u.ifreq.ifr_flags & IFF_UP) == 0)
793 if ((u.ifreq.ifr_flags & IFF_UP) == 0)
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinterface.c1019 lifr.lifr_flags |= IFF_UP | IFF_DHCPRUNNING; in plumb_lif()
1424 if (bringup && !(lifr.lifr_flags & IFF_UP)) { in open_ip_lif()
1430 lifr.lifr_flags |= IFF_UP; in open_ip_lif()
1465 if (!(lifr.lifr_flags & IFF_UP)) { in open_ip_lif()
1466 lifr.lifr_flags |= IFF_UP; in open_ip_lif()
/titanic_41/usr/src/lib/libbc/inc/include/net/
H A Dif.h85 #define IFF_UP 0x1 /* interface is up */ macro
/titanic_41/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c212 if (!(flifr.lifr_flags & IFF_UP) || in get_first_interface()
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncu_ip.c52 #define STATELESS_RUNNING (IFF_RUNNING | IFF_UP | IFF_ADDRCONF)
53 #define DHCP_RUNNING (IFF_RUNNING | IFF_UP | IFF_DHCPRUNNING)
1026 if ((flags & IFF_UP) && in nwamd_ncu_handle_if_state_event()
1049 if (addr_added & !(flags & IFF_UP)) { in nwamd_ncu_handle_if_state_event()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSUNP.c176 ifi->ifi_flags = IFF_UP; in get_ifi_info_linuxv6()
268 if ((ifflags & IFF_UP) == 0) in select_src_ifi_info_solaris()
600 if ((flags & IFF_UP) == 0) in get_ifi_info()
/titanic_41/usr/src/lib/libresolv/
H A Dres_init.c154 if ((flags & IFF_UP) && ((flags & IFF_LOOPBACK) == 0)) in res_init()
/titanic_41/usr/src/lib/libsocket/inet/
H A Dgetifaddrs.c140 if ((flags & LIFC_ENABLED) && !(lifrl.lifr_flags & IFF_UP)) in getallifaddrs()
/titanic_41/usr/src/uts/common/inet/kifconf/
H A Dkifconf.c138 if (rc = ksetifflags(tiptr, IFF_UP, ifname)) { in kdlifconfig()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Ddefs.h419 #define IS_IFF_UP(f) (((f) & (IFF_UP|IFF_RUNNING)) == (IFF_UP|IFF_RUNNING))
/titanic_41/usr/src/uts/common/inet/
H A Dip_if.h83 #define IFF_LOGINT_FLAGS (IFF_UP|IFF_BROADCAST|IFF_POINTOPOINT| \
117 #define IPIF_UP IFF_UP /* interface is up */

123