[BACK]Return to channels.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/channels.h between version 1.132 and 1.133

version 1.132, 2018/10/04 00:10:11 version 1.133, 2020/01/25 22:49:38
Line 105 
Line 105 
 /* Callbacks for mux channels back into client-specific code */  /* Callbacks for mux channels back into client-specific code */
 typedef int mux_callback_fn(struct ssh *, struct Channel *);  typedef int mux_callback_fn(struct ssh *, struct Channel *);
   
   /*
    * NB. channel IDs on the wire and in c->remote_id are uint32, but local
    * channel IDs (e.g. c->self) only ever use the int32 subset of this range,
    * because we use local channel ID -1 for housekeeping. Remote channels have
    * a dedicated "have_remote_id" flag to indicate their validity.
    */
   
 struct Channel {  struct Channel {
         int     type;           /* channel type/state */          int     type;           /* channel type/state */
   
         int     self;           /* my own channel identifier */          int     self;           /* my own channel identifier */
         uint32_t remote_id;     /* channel identifier for remote peer */          uint32_t remote_id;     /* channel identifier for remote peer */
         int     have_remote_id; /* non-zero if remote_id is valid */          int     have_remote_id; /* non-zero if remote_id is valid */

Legend:
Removed from v.1.132  
changed lines
  Added in v.1.133