ipoib_peer Struct Reference

IPoIB peer address. More...


Data Fields

uint8_t key
 Key.
struct ipoib_mac mac
 MAC address.


Detailed Description

IPoIB peer address.

The IPoIB link-layer header is only four bytes long and so does not have sufficient room to store IPoIB MAC address(es). We therefore maintain a cache of MAC addresses identified by a single-byte key, and abuse the spare two bytes within the link-layer header to communicate these MAC addresses between the link-layer code and the netdevice driver.

Definition at line 104 of file ipoib.c.


Field Documentation

Key.

Definition at line 106 of file ipoib.c.

Referenced by ipoib_cache_peer(), ipoib_complete_recv(), ipoib_lookup_peer_by_key(), and ipoib_push().

struct ipoib_mac ipoib_peer::mac [read]

MAC address.

Definition at line 108 of file ipoib.c.

Referenced by ipoib_cache_peer(), ipoib_pull(), and ipoib_transmit().


The documentation for this struct was generated from the following file:

Generated on Tue Apr 6 20:02:06 2010 for gPXE by  doxygen 1.5.7.1