Searched refs:flags_mid (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/net/ |
D | nsos_fcntl.c | 35 int flags_mid = 0; in fl_to_nsos_mid_() local 40 flags_mid |= NSOS_MID_ ## _flag; \ in fl_to_nsos_mid_() 57 return flags_mid; in fl_to_nsos_mid_() 70 int fl_from_nsos_mid(int flags_mid) in fl_from_nsos_mid() argument 75 if (flags_mid & NSOS_MID_ ## _flag) { \ in fl_from_nsos_mid() 76 flags_mid &= ~NSOS_MID_ ## _flag; \ in fl_from_nsos_mid()
|
D | nsos_sockets.c | 146 int flags_mid = 0; in socket_flags_to_nsos_mid() local 149 &flags_mid, NSOS_MID_MSG_PEEK); in socket_flags_to_nsos_mid() 151 &flags_mid, NSOS_MID_MSG_TRUNC); in socket_flags_to_nsos_mid() 153 &flags_mid, NSOS_MID_MSG_DONTWAIT); in socket_flags_to_nsos_mid() 155 &flags_mid, NSOS_MID_MSG_WAITALL); in socket_flags_to_nsos_mid() 161 return flags_mid; in socket_flags_to_nsos_mid() 804 int flags_mid; in nsos_sendto() local 812 flags_mid = ret; in nsos_sendto() 824 ret = nsos_adapt_sendto(sock->poll.mid.fd, buf, len, flags_mid, in nsos_sendto() 844 int flags_mid; in nsos_sendmsg() local [all …]
|
D | nsos_adapt.c | 230 static int socket_flags_from_nsos_mid(int flags_mid) in socket_flags_from_nsos_mid() argument 234 nsos_socket_flag_convert(&flags_mid, NSOS_MID_MSG_PEEK, in socket_flags_from_nsos_mid() 236 nsos_socket_flag_convert(&flags_mid, NSOS_MID_MSG_TRUNC, in socket_flags_from_nsos_mid() 238 nsos_socket_flag_convert(&flags_mid, NSOS_MID_MSG_DONTWAIT, in socket_flags_from_nsos_mid() 240 nsos_socket_flag_convert(&flags_mid, NSOS_MID_MSG_WAITALL, in socket_flags_from_nsos_mid() 243 if (flags_mid != 0) { in socket_flags_from_nsos_mid()
|