Home
last modified time | relevance | path

Searched refs:MSG_OOB (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.15/tools/testing/selftests/net/af_unix/
H A Dmsg_oob.c196 if (flags & MSG_OOB) { in __sendpair()
351 sendpair("x", 1, MSG_OOB); in TEST_F()
362 sendpair("x", 1, MSG_OOB); in TEST_F()
483 sendpair("x", 1, MSG_OOB); in TEST_F()
505 sendpair("x", 1, MSG_OOB); in TEST_F()
530 sendpair("x", 1, MSG_OOB); in TEST_F()
538 sendpair("y", 1, MSG_OOB); in TEST_F()
565 sendpair("ld", 2, MSG_OOB); in TEST_F()
604 sendpair("x", 1, MSG_OOB); in TEST_F()
693 sendpair("x", 1, MSG_OOB); in TEST_F()
[all …]
H A Dscm_rights.c48 .flags = MSG_OOB, in FIXTURE_VARIANT_ADD()
64 .flags = MSG_OOB, in FIXTURE_VARIANT_ADD()
/linux-6.15/net/unix/
H A DKconfig24 Support for MSG_OOB in UNIX domain sockets. If unsure, say Y.
H A Dunix_bpf.c58 if (flags & MSG_OOB) in unix_bpf_recvmsg()
H A Daf_unix.c1967 if (msg->msg_flags & MSG_OOB) { in unix_dgram_sendmsg()
2244 if (msg->msg_flags & MSG_OOB) { in unix_stream_sendmsg()
2334 if (msg->msg_flags & MSG_OOB) { in unix_stream_sendmsg()
2411 if (flags&MSG_OOB) in __unix_dgram_recvmsg()
2635 state->msg->msg_flags |= MSG_OOB; in unix_stream_recv_urg()
2761 if (unlikely(flags & MSG_OOB)) { in unix_stream_read_generic()
/linux-6.15/net/x25/
H A Daf_x25.c1116 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_OOB|MSG_EOR|MSG_CMSG_COMPAT)) in x25_sendmsg()
1120 if (!(msg->msg_flags & (MSG_EOR|MSG_OOB))) in x25_sendmsg()
1173 if ((msg->msg_flags & MSG_OOB) && len > 32) in x25_sendmsg()
1216 if (msg->msg_flags & MSG_OOB) { in x25_sendmsg()
1255 if (msg->msg_flags & MSG_OOB) in x25_sendmsg()
1304 if (flags & MSG_OOB) { in x25_recvmsg()
1325 msg->msg_flags |= MSG_OOB; in x25_recvmsg()
/linux-6.15/net/smc/
H A Dsmc_tx.c210 if (msg->msg_flags & MSG_OOB) in smc_tx_sendmsg()
221 if (msg->msg_flags & MSG_OOB) in smc_tx_sendmsg()
279 if ((msg->msg_flags & MSG_OOB) && !send_remaining) in smc_tx_sendmsg()
H A Dsmc_rx.c299 msg->msg_flags |= MSG_OOB; in smc_rx_recv_urg()
367 if (flags & MSG_OOB) in smc_rx_recvmsg()
/linux-6.15/tools/testing/selftests/landlock/
H A Dscoped_signal_test.c498 ASSERT_EQ(1, send(client_socket, ".", 1, MSG_OOB)); in TEST_F()
550 ASSERT_EQ(1, recv(recv_socket, &buffer_parent, 1, MSG_OOB)); in TEST_F()
/linux-6.15/net/caif/
H A Dcaif_socket.c277 if (flags & MSG_OOB) in caif_seqpkt_recvmsg()
353 if (flags&MSG_OOB) in caif_stream_recvmsg()
530 if (msg->msg_flags&MSG_OOB) in caif_seqpkt_sendmsg()
597 if (unlikely(msg->msg_flags&MSG_OOB)) in caif_stream_sendmsg()
/linux-6.15/net/phonet/
H A Dpep.c1269 if (flags & ~(MSG_OOB|MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_WAITALL| in pep_recvmsg()
1276 if ((flags & MSG_OOB) || sock_flag(sk, SOCK_URGINLINE)) { in pep_recvmsg()
1286 msg->msg_flags |= MSG_OOB; in pep_recvmsg()
1289 if (flags & MSG_OOB) in pep_recvmsg()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_listen.c1412 if (send_flags & MSG_OOB) { in pairs_redir_to_connected()
1415 n = recv(peer1, &b, 1, MSG_OOB | MSG_DONTWAIT); in pairs_redir_to_connected()
1425 n = recv(peer1, &b, 1, MSG_OOB | MSG_DONTWAIT); in pairs_redir_to_connected()
1810 REDIR_EGRESS, MSG_OOB); in unix_inet_skb_redir_to_connected()
1830 REDIR_INGRESS, MSG_OOB); in unix_inet_skb_redir_to_connected()
/linux-6.15/net/bluetooth/
H A Daf_bluetooth.c331 if (flags & MSG_OOB) in bt_sock_recvmsg()
412 if (flags & MSG_OOB) in bt_sock_stream_recvmsg()
/linux-6.15/net/l2tp/
H A Dl2tp_ip6.c541 if (msg->msg_flags & MSG_OOB) in l2tp_ip6_sendmsg()
689 if (flags & MSG_OOB) in l2tp_ip6_recvmsg()
H A Dl2tp_ip.c546 if (flags & MSG_OOB) in l2tp_ip_recvmsg()
/linux-6.15/tools/perf/trace/beauty/include/linux/
H A Dsocket.h304 #define MSG_OOB 1 macro
/linux-6.15/include/linux/
H A Dsocket.h304 #define MSG_OOB 1 macro
/linux-6.15/drivers/isdn/mISDN/
H A Dsocket.c118 if (flags & (MSG_OOB)) in mISDN_sock_recvmsg()
178 if (msg->msg_flags & MSG_OOB) in mISDN_sock_sendmsg()
/linux-6.15/net/nfc/
H A Dllcp_sock.c788 if (msg->msg_flags & MSG_OOB) in llcp_sock_sendmsg()
848 if (flags & (MSG_OOB)) in llcp_sock_recvmsg()
/linux-6.15/net/ieee802154/
H A Dsocket.c249 if (msg->msg_flags & MSG_OOB) { in raw_sendmsg()
618 if (msg->msg_flags & MSG_OOB) { in dgram_sendmsg()
/linux-6.15/net/ipv4/
H A Draw.c509 if (msg->msg_flags & MSG_OOB) /* Mirror BSD error message */ in raw_sendmsg()
748 if (flags & MSG_OOB) in raw_recvmsg()
H A Dping.c667 if (msg->msg_flags & MSG_OOB) in ping_common_sendmsg()
862 if (flags & MSG_OOB) in ping_recvmsg()
/linux-6.15/net/rxrpc/
H A Drecvmsg.c293 if (flags & (MSG_OOB | MSG_TRUNC)) in rxrpc_recvmsg()
/linux-6.15/net/ipv6/
H A Draw.c442 if (flags & MSG_OOB) in rawv6_recvmsg()
767 if (msg->msg_flags & MSG_OOB) in rawv6_sendmsg()
/linux-6.15/net/vmw_vsock/
H A Daf_vsock.c1207 if (msg->msg_flags & MSG_OOB) in vsock_dgram_sendmsg()
1949 if (msg->msg_flags & MSG_OOB) in vsock_connectible_sendmsg()
2325 if (flags & MSG_OOB) { in __vsock_connectible_recvmsg()

12