All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sriram V <vshrirama@gmail.com>
To: netdev@vger.kernel.org
Subject: network status
Date: Wed, 25 Jan 2017 01:09:54 +0530	[thread overview]
Message-ID: <CAH9_wRNWRG0zY20OCXyL_MDci3Bw+RYDjQJCu15+c82C1Eon=Q@mail.gmail.com> (raw)

Hello,

Apologies in case, this is not the right list of this question.

I wanted to check, How can i find out if a network status has changed

1. How can the user application find out if the link status has changed?
2. what changes do i need to add in the driver to indicate to the user
applications that ethernet cable has been plugged in or unplugged.

3. How should a user application know the status change (Should the
userapp poll on the interface/is there an uevent interface to indicate
the link status change)

Thanks.
Sriram

             reply	other threads:[~2017-01-24 19:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-24 19:39 Sriram V [this message]
2017-01-25 22:05 ` network status Cong Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH9_wRNWRG0zY20OCXyL_MDci3Bw+RYDjQJCu15+c82C1Eon=Q@mail.gmail.com' \
    --to=vshrirama@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.