.\" 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 "LLC_MAC_HDR_INIT" "9" "09 October 2005" "" "" .SH NAME llc_mac_hdr_init \- fills MAC header fields .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int llc_mac_hdr_init (struct sk_buff * \fIskb\fB, unsigned char * \fIsa\fB, unsigned char * \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.