From: Ronnie Sahlberg Date: Sun, 26 Jun 2011 07:17:59 +0000 (+1000) Subject: add rpc_context field to track if a UDP connection was requested X-Git-Tag: upstream/1.9.6^2~384 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=d16a3ca4bb71493adbe569d34f2e3370dea2342f;p=deb_libnfs.git add rpc_context field to track if a UDP connection was requested --- diff --git a/include/libnfs-private.h b/include/libnfs-private.h index 8fb305f..ca67216 100644 --- a/include/libnfs-private.h +++ b/include/libnfs-private.h @@ -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 {