Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
agent.c File Reference
#include <linux/slab.h>
#include <linux/string.h>
#include "agent.h"
#include "smi.h"
#include "mad_priv.h"

Go to the source code of this file.

Data Structures

struct  ib_agent_port_private
 

Macros

#define SPFX   "ib_agent: "
 

Functions

void agent_send_response (struct ib_mad *mad, struct ib_grh *grh, struct ib_wc *wc, struct ib_device *device, int port_num, int qpn)
 
int ib_agent_port_open (struct ib_device *device, int port_num)
 
int ib_agent_port_close (struct ib_device *device, int port_num)
 

Macro Definition Documentation

#define SPFX   "ib_agent: "

Definition at line 46 of file agent.c.

Function Documentation

void agent_send_response ( struct ib_mad mad,
struct ib_grh grh,
struct ib_wc wc,
struct ib_device device,
int  port_num,
int  qpn 
)

Definition at line 81 of file agent.c.

int ib_agent_port_close ( struct ib_device device,
int  port_num 
)

Definition at line 196 of file agent.c.

int ib_agent_port_open ( struct ib_device device,
int  port_num 
)

Definition at line 145 of file agent.c.