Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 1995 12:43:34 -0800
From:      "Andrey A. Chernov" <ache>
To:        CVS-commiters, cvs-sys
Subject:   cvs commit: src/sys/net if_sl.c if_slvar.h slip.h
Message-ID:  <199503302043.MAA08424@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
ache        95/03/30 12:43:33

  Modified:    sys/net  if_sl.c if_slvar.h slip.h
  Log:
  This sl enhancement helps to keep serial line (modem) connection alive.
  It is common case when modem hangs with carier on but don't
  receive anything from another side.
  This thing commonly healed with hangup and redialing.
  Enhancements below allows to determine when such action
  is needed and inform attach program with SIGURG signal.
  There two ioctls set: outfill and keepalive, used from both
  sides of connection. Outfill repeatedly sends FRAME_END with
  specified timeout (i.e. 40 seconds). It is needed to get input on
  other side even if no user activity on slip line currently.
  Keepalive checks FRAME_ENDs from other side, and if no one
  got in specified timeout (i.e. 60 seconds, max modem retrain time),
  send SIGURG to attach program.
  I plan to add code to slattach to handle this thing too.
  
  Reviewed by: wollman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503302043.MAA08424>