Searched refs:IFF_UP (Results 1 - 25 of 64) sorted by relevance

123

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dcan_use_af.c55 lifn.lifn_flags = IFF_UP & !(IFF_NOXMIT | IFF_DEPRECATED);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dif_mpadm.c162 if (ifaddrlistx(ifname, IFF_UP, 0, &ifaddrs) == -1)
170 ifaddrp->ia_flags & ~IFF_UP))
190 if (ifaddrlistx(ifname, 0, IFF_UP, &ifaddrs) == -1)
197 if (!set_lifflags(ifaddrp->ia_name, ifaddrp->ia_flags | IFF_UP))
H A Din.rwhod.c601 (np->n_flags & IFF_UP) &&
646 if ((np->n_flags & IFF_UP) == 0 ||
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd_impl.h170 (((ip)->vip_flags & IFF_UP) && ((intf)->vvi_af != AF_INET6 || \
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dget_myaddress.c106 if ((ifreq.ifr_flags & IFF_UP) == 0)
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_ip_route.c309 if ((ifflags & IFF_LOOPBACK | IFF_UP) ==
310 IFF_UP && addr != INADDR_ANY &&
489 if ((ifflags & IFF_LOOPBACK|IFF_UP) == IFF_UP &&
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_impl.c200 if ((lifr.lifr_flags & IFF_UP) != IFF_UP)
255 if ((lifr.lifr_flags & IFF_UP) != IFF_UP)
404 if ((((ushort_t)ifr.ifr_flags) & IFF_UP) != IFF_UP)
469 if ((((ushort_t)ifr.ifr_flags) & IFF_UP) != IFF_UP)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c437 if ((ifp->ifa_flags & IFF_UP) == 0)
442 ifp->ifa_flags &= ~IFF_UP;
454 ifp->ifa_flags &= ~IFF_UP;
460 if ((ifp2->ifa_flags & IFF_UP) == 0)
466 ifp->ifa_flags &= ~IFF_UP;
479 if (ifp->ifa_flags & IFF_UP)
594 if ((lifreq.lifr_flags & IFF_UP) == 0) {
766 if ((lifreq.iflr_flags & IFF_UP) == 0) {
982 if ((ifreq.ifr_flags & IFF_UP) == 0) {
H A Dforeachaddr.c281 if ((lifreq.lifr_flags & IFF_UP) == 0) {
/illumos-gate/usr/src/lib/libbc/inc/include/net/
H A Dif.h85 #define IFF_UP 0x1 /* interface is up */ macro
/illumos-gate/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c212 if (!(flifr.lifr_flags & IFF_UP) ||
219 * IFF_UP interface with a non-zero address is
228 * If we don't find an IFF_UP interface with a
229 * non-zero address, we'll return the last IFF_UP
313 * That is, if there are any IFF_UP and non-IFF_VIRTUAL
321 * at least IFF_UP non-IFF_VIRTUAL interface (which there
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_ndpd.c196 lifr.lifr_flags |= IFF_UP;
213 lifr.lifr_flags &= ~IFF_UP;
H A Dipadm_if.c51 * IFF_UP in the addresses in `ifa'.
66 * address that is IFF_UP. So, we need to return B_FALSE.
69 (ifap->ifa_flags & IFF_UP)) {
73 /* We did not find any IFF_UP addresses. */
463 (void) i_ipadm_set_flags(iph, ifname, AF_INET6, IFF_UP, 0);
879 * logical interface and set IFF_UP in the interface flags.
897 IFF_UP, 0);
1017 if (ifaddrlistx(ifname, IFF_UP|IFF_DUPLICATE,
1040 if (lifrl.lifr_flags & IFF_UP) {
1043 AF_INET6), 0, IFF_UP);
[all...]
/illumos-gate/usr/src/cmd/hal/addons/network-devices/
H A Dcommon.c291 if ((r.lifr_flags & (IFF_UP | IFF_LOOPBACK)) != IFF_UP) {
/illumos-gate/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;
467 offflags |= IFF_UP;
1499 if ((value & IFF_NOFAILOVER) && (lifr.lifr_flags & IFF_UP)) {
1506 lifr.lifr_flags &= ~IFF_UP;
1512 if ((value & (IFF_UP | IFF_NOFAILOVER)) &&
1542 (lifr.lifr_flags & (IFF_UP|IFF_IPV
[all...]
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetifaddrs.c140 if ((flags & LIFC_ENABLED) && !(lifrl.lifr_flags & IFF_UP))
/illumos-gate/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)
/illumos-gate/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) &&
1045 * If we received an RTM_NEWADDR and the IFF_UP flags has not
1046 * been set, ignore this IF_STATE event. Once the IFF_UP flag
1049 if (addr_added & !(flags & IFF_UP)) {
1051 "address %s added on %s without IFF_UP flag (%x), "
/illumos-gate/usr/src/uts/common/inet/kifconf/
H A Dkifconf.c138 if (rc = ksetifflags(tiptr, IFF_UP, ifname)) {
/illumos-gate/usr/src/lib/libresolv/
H A Dres_init.c155 if ((flags & IFF_UP) && ((flags & IFF_LOOPBACK) == 0))
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c595 * IFF_UP bit can be set. Plumbing the device causes one DLPI_INFO_REQ
797 if ((fl & (IFF_UP|IFF_BROADCAST|IFF_POINTOPOINT|IFF_LOOPBACK))
798 != (IFF_UP | IFF_BROADCAST)) {
1703 * DOWN (its IFF_UP bit is cleared) or is going away. Therefore,
1706 * for real, and only take the necessary actions when IFF_UP
1712 rc = giflags(IFF_UP, &iff_up_isset);
1725 rc = giflags(IFF_UP, &iff_up_isset);
2383 } else if (!siflags(IFF_UP, 1)) {
2407 } else if (!siflags(IFF_UP, 0)) {
2792 if ((ifreq.ifr_flags & (IFF_UP|IFF_BROADCAS
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinterface.c1019 lifr.lifr_flags |= IFF_UP | IFF_DHCPRUNNING;
1183 * IFF_DHCPRUNNING (since the subsequent IFF_UP would lead to
1358 * If we bound to INADDR_ANY, we have no IFF_UP source address to use.
1407 * (since the subsequent IFF_UP would lead to migration). We set
1422 * lease on is IFF_UP.
1424 if (bringup && !(lifr.lifr_flags & IFF_UP)) {
1430 lifr.lifr_flags |= IFF_UP;
1438 * When bringing 0.0.0.0 IFF_UP, the kernel changes the
1456 * least one address on the group interface is IFF_UP.
1465 if (!(lifr.lifr_flags & IFF_UP)) {
[all...]
/illumos-gate/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))
/illumos-gate/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 */
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_net_utils.c276 if (!(ifr.ifr_flags & IFF_UP)) {

Completed in 236 milliseconds

123