X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lnet%2Futils%2Fportals.c;h=1bde59f50d19172397fdb77a28e2db9c2d8ad6b4;hb=c39489126f88bb5b30643ebb11c72fbe9f9d2241;hp=0e109cb62400f0d32031d5cd7ca4e2487c7c6c3e;hpb=9d4b898b1c1c7c318fda5f0c345ed726c774c06a;p=fs%2Flustre-release.git diff --git a/lnet/utils/portals.c b/lnet/utils/portals.c index 0e109cb..1bde59f 100644 --- a/lnet/utils/portals.c +++ b/lnet/utils/portals.c @@ -37,8 +37,10 @@ #include #ifdef __CYGWIN__ + #include -#endif + +#endif /* __CYGWIN__ */ #include #include @@ -52,7 +54,12 @@ unsigned int portal_printk; static unsigned int g_nal = 0; -typedef struct { +static int g_socket_txmem = 0; +static int g_socket_rxmem = 0; +static int g_socket_nonagle = 1; + +typedef struct +{ char *name; int num; } name2num_t;