.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "__GET_DUPLEX" "9" "09 October 2005" "" "" .SH NAME __get_duplex \- get a port's duplex .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp u8 __get_duplex (struct port * \fIport\fB); \fR .SH "ARGUMENTS" .TP \fB\fIport\fB\fR the port we're looking at .SH "DESCRIPTION" .PP Return \fIport\fR\&'s duplex in 802.3ad bitmask format. i.e.: 0x01 if in full duplex 0x00 otherwise