Searched refs:cong_control (Results 1 – 2 of 2) sorted by relevance
/external/netperf/src/ |
D | nettest_omni.c | 3498 get_transport_cong_control(SOCKET socket, int protocol, char cong_control[], int len) in get_transport_cong_control() argument 3503 strncpy(cong_control,"TCP Only",len); in get_transport_cong_control() 3506 protocol, TCP_CONGESTION, cong_control, &my_len) == in get_transport_cong_control() 3508 snprintf(cong_control,len,"%d errno",errno); in get_transport_cong_control() 3511 strncpy(cong_control,"Unavailable",len); in get_transport_cong_control() 3513 cong_control[len-1] = '\0'; in get_transport_cong_control() 3517 set_transport_cong_control(SOCKET socket, int protocol, char cong_control[], int len) in set_transport_cong_control() argument 3522 setsockopt(socket, protocol, TCP_CONGESTION, cong_control, len); in set_transport_cong_control() 3960 strncpy(omni_request->cong_control, in send_omni_inner() 3962 sizeof(omni_request->cong_control)); in send_omni_inner() [all …]
|
D | nettest_bsd.h | 96 char cong_control[16]; /* the requested congestion control alg */ member 185 char cong_control[16]; /* what the congestion control alg was */ member
|