.\" 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 "LAN_HDRS_INIT" "" "06 October 2005" "" "" .SH NAME lan_hdrs_init \- fills MAC header fields .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp u16 lan_hdrs_init (struct sk_buff * \fIskb\fB, u8 * \fIsa\fB, u8 * \fIda\fB); \fR .SH "ARGUMENTS" .TP \fB\fIskb\fB\fR Address of the frame to initialize its MAC header .TP \fB\fIsa\fB\fR The MAC source address .TP \fB\fIda\fB\fR The MAC destination address .SH "DESCRIPTION" .PP Fills MAC header fields, depending on MAC type. Returns 0, If MAC type is a valid type and initialization completes correctly 1, otherwise.