search for: dstid

Displaying 2 results from an estimated 2 matches for "dstid".

Did you mean: dsid
2015 Dec 02
5
[PATCH] Receive multiple packets at a time
.... */ - - // Try to figure out who sent this packet. - - node_t *n = lookup_node_udp(&addr); - - if(!n) { - // It might be from a 1.1 node, which might have a source ID in the packet. - pkt.offset = 2 * sizeof(node_id_t); - from = lookup_node_id(SRCID(&pkt)); - if(from && !memcmp(DSTID(&pkt), &nullid, sizeof nullid) && from->status.sptps) { - if(sptps_verify_datagram(&from->sptps, DATA(&pkt), pkt.len - 2 * sizeof(node_id_t))) - n = from; - else - goto skip_harder; +#ifndef HAVE_RECVMMSG + pkt[0].len = len; +#endif + + for (i = 0; i < num...
2015 Dec 02
0
[PATCH] Receive multiple packets at a time
...;addr); > - > - if(!n) { > - // It might be from a 1.1 node, which might have a source ID in the packet. > - pkt.offset = 2 * sizeof(node_id_t); > - from = lookup_node_id(SRCID(&pkt)); > - if(from && !memcmp(DSTID(&pkt), &nullid, sizeof nullid) && from->status.sptps) { > - if(sptps_verify_datagram(&from->sptps, DATA(&pkt), pkt.len - 2 * sizeof(node_id_t))) > - n = from; > - else > -...