diff options
author | harti <harti@FreeBSD.org> | 2003-07-29 13:32:10 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-07-29 13:32:10 +0000 |
commit | e57d86c1ec38c63f22ddae8025c1dbc035586faa (patch) | |
tree | 676fa306ffbf8bb59c756cf9a9bb95f16ae21cd4 /sys/netatm/atm_vc.h | |
parent | 0b9b67134272377bf22b1b9f1092a5da3d74f251 (diff) | |
download | FreeBSD-src-e57d86c1ec38c63f22ddae8025c1dbc035586faa.zip FreeBSD-src-e57d86c1ec38c63f22ddae8025c1dbc035586faa.tar.gz |
Make the ioctl() interface cleaner with regard to types: use size_t
instead of int where the variable has to hold buffer lengths,
use u_int for things like number of network interfaces which
in principle can never be negative.
Diffstat (limited to 'sys/netatm/atm_vc.h')
-rw-r--r-- | sys/netatm/atm_vc.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netatm/atm_vc.h b/sys/netatm/atm_vc.h index 8ee4253..c4f66a5 100644 --- a/sys/netatm/atm_vc.h +++ b/sys/netatm/atm_vc.h @@ -58,12 +58,12 @@ struct vccb { u_short vc_vpi; /* Virtual Path Identifier */ u_short vc_vci; /* Virtual Channel Identifier */ Atm_connvc *vc_connvc; /* CM connection VCC instance */ - long vc_ipdus; /* PDUs received from VCC */ - long vc_opdus; /* PDUs sent to VCC */ - long vc_ibytes; /* Bytes received from VCC */ - long vc_obytes; /* Bytes sent to VCC */ - long vc_ierrors; /* Errors receiving from VCC */ - long vc_oerrors; /* Errors sending to VCC */ + u_long vc_ipdus; /* PDUs received from VCC */ + u_long vc_opdus; /* PDUs sent to VCC */ + u_long vc_ibytes; /* Bytes received from VCC */ + u_long vc_obytes; /* Bytes sent to VCC */ + u_long vc_ierrors; /* Errors receiving from VCC */ + u_long vc_oerrors; /* Errors sending to VCC */ time_t vc_tstamp; /* State transition timestamp */ }; #endif /* _KERNEL */ |