add a 'is broadcast' flag to the rpc context structure
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 26 Jun 2011 08:18:59 +0000 (18:18 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 26 Jun 2011 08:18:59 +0000 (18:18 +1000)
this is used for broadcast udp rpc calls (==pormatp/callit)

include/libnfs-private.h

index 9863b0cded8edf702cac2d7a4987e2d6fc3a11ca..d9c812c17f2b14006075befd7ec1c494288af0ab 100644 (file)
@@ -41,6 +41,7 @@ struct rpc_context {
 
        /* special fields for UDP, which can sometimes be BROADCASTed */
        int is_udp;
+       int is_broadcast;
 };
 
 struct rpc_pdu {