IB_UD_HEADER_INIT

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ib_ud_header_init - Initialize UD header structure  

SYNOPSIS

"SYNOPSIS"

void ib_ud_header_init (int payload_bytes, int grh_present, struct ib_ud_header * header);  

ARGUMENTS

payload_bytes
Length of packet payload
grh_present
GRH flag (if non-zero, GRH will be included)
header
Structure to initialize
 

DESCRIPTION

ib_ud_header_init initializes the lrh.link_version, lrh.link_next_header, lrh.packet_length, grh.ip_version, grh.payload_length, grh.next_header, bth.opcode, bth.pad_count and bth.transport_header_version fields of a &struct ib_ud_header given the payload length and whether a GRH will be included.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:15 GMT, October 09, 2005