Searched refs:msg_match (Results 1 - 2 of 2) sorted by last modified time

/seL4-camkes-master/projects/camkes/apps/picotcp_tcp_echo/components/Echo/src/
H A Dutilization_socket.c29 #define msg_match(msg, match) (strncmp(msg, match, strlen(match))==0) macro
56 if (msg_match(echo_recv_buf, HELLO)) {
59 } else if (msg_match(echo_recv_buf, LOAD)) {
62 } else if (msg_match(echo_recv_buf, SETUP)) {
65 } else if (msg_match(echo_recv_buf, START)) {
67 } else if (msg_match(echo_recv_buf, STOP)) {
84 } else if (msg_match(echo_recv_buf, QUIT)) {
/seL4-camkes-master/projects/camkes/apps/picotcp_single_component/src/
H A Dutilization_socket.c61 #define msg_match(msg, match) (strncmp(msg, match, strlen(match))==0) macro
88 if (msg_match(utilz_mesg, HELLO)) {
90 } else if (msg_match(utilz_mesg, LOAD)) {
92 } else if (msg_match(utilz_mesg, SETUP)) {
94 } else if (msg_match(utilz_mesg, START)) {
96 } else if (msg_match(utilz_mesg, STOP)) {
115 } else if (msg_match(utilz_mesg, QUIT)) {

Completed in 37 milliseconds