add rpc_context field to track if a UDP connection was requested
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 26 Jun 2011 07:17:59 +0000 (17:17 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 26 Jun 2011 07:17:59 +0000 (17:17 +1000)
include/libnfs-private.h

index 8fb305f0ee8860c9ee2bfae6ad015d31588e6cdd..ca67216831e522282459c4d4151b90fee0009d81 100644 (file)
@@ -38,6 +38,9 @@ struct rpc_context {
        int inpos;
        int insize;
        char *inbuf;
+
+       /* special fields for UDP, which can sometimes be BROADCASTed */
+       int is_udp;
 };
 
 struct rpc_pdu {