Whamcloud - gitweb
smash the HEAD with the contents of b_cmd. HEAD_PRE_CMD_SMASH and
[fs/lustre-release.git] / lnet / ulnds / bridge.h
index 90ce324..9a90ab8 100644 (file)
 #define TCPNAL_PROCBRIDGE_H
 
 #include <portals/lib-p30.h>
-#include <portals/nal.h>
-
-#define PTL_IFACE_TCP 1
-#define PTL_IFACE_ER 2
-#define PTL_IFACE_SS 3
-#define PTL_IFACE_MAX 4
 
 typedef struct bridge {
     int alive;
@@ -28,6 +22,12 @@ typedef struct bridge {
 } *bridge;
 
 
+nal_t *bridge_init(ptl_interface_t nal,
+                   ptl_pid_t pid_request,
+                   ptl_ni_limits_t *desired,
+                   ptl_ni_limits_t *actual,
+                   int *rc);
+
 typedef int (*nal_initialize)(bridge);
 extern nal_initialize nal_table[PTL_IFACE_MAX];