Commit 26d1ad46 authored by Marlene Böhmer's avatar Marlene Böhmer

Extended get_sock_opt

parent 277a8914
Pipeline #3564 passed with stages
in 2 minutes and 22 seconds
......@@ -570,6 +570,9 @@ uint32_t PrrtSocket_get_sock_opt(PrrtSocket *s, const char *name) {
return PrrtPace_get_external(s->appSendPace);
} else if(strcmp(name, "appSend_pace_effective") == 0) {
return PrrtPace_get_effective(s->appSendPace);
} else if(strcmp(name, "appSend_pace_total") == 0) {
return PrrtPace_get_total(s->appSendPace);
} else if(strcmp(name, "prrtTransmit_pace_internal") == 0) {
return PrrtPace_get_internal(s->prrtTransmitPace);
} else if(strcmp(name, "prrtTransmit_pace_dependent") == 0) {
......@@ -578,6 +581,9 @@ uint32_t PrrtSocket_get_sock_opt(PrrtSocket *s, const char *name) {
return PrrtPace_get_external(s->prrtTransmitPace);
} else if(strcmp(name, "prrtTransmit_pace_effective") == 0) {
return PrrtPace_get_effective(s->prrtTransmitPace);
} else if(strcmp(name, "prrtTransmit_pace_total") == 0) {
return PrrtPace_get_total(s->prrtTransmitPace);
} else if(strcmp(name, "prrtReceive_pace_internal") == 0) {
return PrrtPace_get_internal(s->prrtReceivePace);
} else if(strcmp(name, "prrtReceive_pace_dependent") == 0) {
......@@ -586,6 +592,9 @@ uint32_t PrrtSocket_get_sock_opt(PrrtSocket *s, const char *name) {
return PrrtPace_get_external(s->prrtReceivePace);
} else if(strcmp(name, "prrtReceive_pace_effective") == 0) {
return PrrtPace_get_effective(s->prrtReceivePace);
} else if(strcmp(name, "prrtReceive_pace_total") == 0) {
return PrrtPace_get_total(s->prrtReceivePace);
} else if(strcmp(name, "appDeliver_pace_internal") == 0) {
return PrrtPace_get_internal(s->appDeliverPace);
} else if(strcmp(name, "appDeliver_pace_dependent") == 0) {
......@@ -594,6 +603,9 @@ uint32_t PrrtSocket_get_sock_opt(PrrtSocket *s, const char *name) {
return PrrtPace_get_external(s->appDeliverPace);
} else if(strcmp(name, "appDeliver_pace_effective") == 0) {
return PrrtPace_get_effective(s->appDeliverPace);
} else if(strcmp(name, "appDeliver_pace_total") == 0) {
return PrrtPace_get_total(s->appDeliverPace);
} else if (strcmp(name, "send_peer_btl_pace") == 0) {
return s->send_peer_btl_pace;
} else if (strcmp(name, "recv_peer_btl_pace") == 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment