Lines Matching refs:header
69 * Helper function to create a PIMFOR management frame header.
83 * Helper function to analyze a PIMFOR management frame header.
202 /* create the header directly in the fragment data area */
293 pimfor_header_t *header;
309 /* The device only returns the size of the header(s) here. */
327 /* Perform endianess conversion for PIMFOR header in-place. */
328 header = pimfor_decode_header(buf->mem, frag_len);
329 if (!header) {
330 printk(KERN_WARNING "%s: no PIMFOR header found\n",
338 header->device_id = priv->ndev->ifindex;
343 header->operation, header->oid, header->device_id,
344 header->flags, header->length);
347 display_buffer((char *) header, PIMFOR_HEADER_SIZE);
348 display_buffer((char *) header + PIMFOR_HEADER_SIZE,
349 header->length);
353 if (header->flags & PIMFOR_FLAG_APPLIC_ORIGIN) {
361 size = PIMFOR_HEADER_SIZE + header->length;
367 ndev->name, header->oid);
371 memcpy(&frame->buf, header, size);
372 frame->header = (pimfor_header_t *) frame->buf;
377 "frame: header: %p, data: %p, size: %d\n",
378 frame->header, frame->data, size);
381 if (header->operation == PIMFOR_OP_TRAP) {
385 header->oid, header->device_id, header->flags,
386 header->length);
481 if (frame->header->oid == oid) {
489 frame->header->oid);