Searched refs:fl (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/samples/net/sockets/echo_async/src/ |
D | socket_echo.c | 58 int fl, res; in setblocking() local 60 fl = fcntl(fd, F_GETFL, 0); in setblocking() 61 if (fl == -1) { in setblocking() 66 fl &= ~O_NONBLOCK; in setblocking() 68 fl |= O_NONBLOCK; in setblocking() 71 res = fcntl(fd, F_SETFL, fl); in setblocking() 72 if (fl == -1) { in setblocking()
|
/Zephyr-latest/samples/net/sockets/echo_async_select/src/ |
D | socket_echo_select.c | 60 int fl, res; in setblocking() local 62 fl = fcntl(fd, F_GETFL, 0); in setblocking() 63 if (fl == -1) { in setblocking() 68 fl &= ~O_NONBLOCK; in setblocking() 70 fl |= O_NONBLOCK; in setblocking() 73 res = fcntl(fd, F_SETFL, fl); in setblocking() 74 if (fl == -1) { in setblocking()
|
/Zephyr-latest/tests/net/socket/af_packet/src/ |
D | main.c | 158 int fl, res; in setblocking() local 160 fl = zsock_fcntl(fd, F_GETFL, 0); in setblocking() 161 zassert_not_equal(fl, -1, "Fail to set fcntl"); in setblocking() 164 fl &= ~O_NONBLOCK; in setblocking() 166 fl |= O_NONBLOCK; in setblocking() 169 res = zsock_fcntl(fd, F_SETFL, fl); in setblocking()
|
/Zephyr-latest/subsys/net/ip/ |
D | tcp.c | 924 uint8_t fl = th_get(pkt)->th_flags; in tcp_send_process_no_lock() local 925 bool forget = ACK == fl || PSH == fl || (ACK | PSH) == fl || in tcp_send_process_no_lock() 926 RST & fl; in tcp_send_process_no_lock() 2804 uint8_t next = 0, fl = 0; in tcp_in() local 2819 fl = th_flags(th) & ~(ECN | CWR); in tcp_in() 2843 if (FL(&fl, &, RST)) { in tcp_in() 2862 fl = th_flags(th); in tcp_in() 2863 if (FL(&fl, ==, RST | ACK)) { in tcp_in() 2881 tcp_validate_seq(conn, th) && FL(&fl, &, SYN)) { in tcp_in() 2927 if (FL(&fl, ==, SYN)) { in tcp_in() [all …]
|