]> rtime.felk.cvut.cz Git - frescor/fwp.git/blobdiff - fwp/lib/core/fwp_endpoint.c
Merge branch 'martin-devel'
[frescor/fwp.git] / fwp / lib / core / fwp_endpoint.c
index e72d27fb149ca252027112059fe9a6a4c77b9857..f61f3d06a047ad51e21357ab521305168bc10ae9 100644 (file)
@@ -28,27 +28,27 @@ static fwp_endpoint_attr_t fwp_epoint_attr_default ={
 typedef
 struct fwp_endpoint{
        fwp_endpoint_type_t     type;
-       /**< endpoint attributes */
+       /** endpoint attributes */
        fwp_endpoint_attr_t     attr;
-       /**< the vres descriptor the send endpoint is bound to */       
+       /** the vres descriptor the send endpoint is bound to */        
        fwp_vres_d_t            vresd;
-       /**< for send enpoint it contains destination address
-        * for receive endpoint it is filled with the msg source address
+       /** for send enpoint it contains destination address for
+        * receive endpoint it is filled with the msg source address
         */
        struct fwp_sockaddr     peer;   
-       /**< source/destination port */
+       /** source/destination port */
        unsigned int            port;   
-       /**< destination node */
+       /** destination node */
        int                     node;
-       /**< socket descriptor
-        * in case of rebliable epoint it is a listen socket
+       /** Socket descriptor.
+        * In case of rebliable epoint it is a listen socket.
         * */
        int                     sockd; 
        fd_set                  fdset;
        fd_set                  testfds;
        int                     *c_sockd;
        unsigned int            nr_connections;
-       /**< specific operation options*/
+       /** specific operation options*/
        int                     flags;  
        fwp_endpoint_status_t   status;
 } fwp_endpoint_t;
@@ -420,8 +420,8 @@ ssize_t fwp_recv(fwp_endpoint_d_t epointd, void *buffer, size_t buffer_size,
                        peer->addr, &peer->addrlen);
                return len;
        }
-
 next_recv:
+       /* FIXME: What about using a loop here and continue instead of goto???? */
        /* FWP_EPOINT_RELIABLE */
        fdset = epoint->fdset;
        FWP_DEBUG("Before select\n");