MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / process_hello_reply

Function process_hello_reply

net/net_evbuffer.c:1364–1381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1362}
1363
1364static int process_hello_reply(struct event_info *e)
1365{
1366 if (e->state == 0) {
1367 ++e->state;
1368 hello_hdr_common(e);
1369 return 0;
1370 }
1371 clear_distress(e);
1372 if (!e->got_hello_reply) {
1373 e->got_hello_reply = 1;
1374 hputs("GOT HELLO REPLY\n");
1375 }
1376 if (hello_msg_common(e) != 0) {
1377 return -1;
1378 }
1379 message_done(e);
1380 return 0;
1381}
1382
1383static int process_ack_no_payload(struct event_info *e)
1384{

Callers 1

process_payloadFunction · 0.70

Calls 4

hello_hdr_commonFunction · 0.85
clear_distressFunction · 0.85
hello_msg_commonFunction · 0.85
message_doneFunction · 0.85

Tested by

no test coverage detected