Files
linux/tools/testing/selftests/net
Kuniyuki Iwashima e0f60ba041 selftest: af_unix: Add test for SO_INQ.
Let's add a simple test to check the basic functionality of SO_INQ.

The test does the following:

  1. Create socketpair in self->fd[]
  2. Enable SO_INQ
  3. Send data via self->fd[0]
  4. Receive data from self->fd[1]
  5. Compare the SCM_INQ cmsg with ioctl(SIOCINQ)

Signed-off-by: Kuniyuki Iwashima <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2025-07-08 18:05:26 -07:00
..
2024-11-11 16:40:44 -08:00
2025-06-03 13:08:15 +02:00
2025-04-11 18:58:10 -07:00
2025-02-27 18:38:23 -08:00
2024-10-04 15:34:07 -07:00
…
…
…
…