Home
last modified time | relevance | path

Searched refs:l3mdev_accept (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/include/net/netns/
H A Dsctp.h180 int l3mdev_accept; member
/kernel/linux/linux-5.10/include/net/
H A Dinet_sock.h144 static inline bool inet_bound_dev_eq(bool l3mdev_accept, int bound_dev_if, in inet_bound_dev_eq() argument
148 return !sdif || l3mdev_accept; in inet_bound_dev_eq()
/kernel/linux/linux-6.6/include/net/
H A Dinet_sock.h145 static inline bool inet_bound_dev_eq(bool l3mdev_accept, int bound_dev_if, in inet_bound_dev_eq() argument
149 return !sdif || l3mdev_accept; in inet_bound_dev_eq()
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dsctp_vrf.sh123 ip netns exec $SERVER_NS sysctl -w net.sctp.l3mdev_accept=1 2>&1 >/dev/null
124 echo -n "TEST 01: nobind, connect from client 1, l3mdev_accept=1, Y "
128 echo -n "TEST 02: nobind, connect from client 2, l3mdev_accept=1, N "
132 ip netns exec $SERVER_NS sysctl -w net.sctp.l3mdev_accept=0 2>&1 >/dev/null
133 echo -n "TEST 03: nobind, connect from client 1, l3mdev_accept=0, N "
137 echo -n "TEST 04: nobind, connect from client 2, l3mdev_accept=0, N "
/kernel/linux/linux-6.6/net/sctp/
H A Dinput.c983 bool l3mdev_accept = true; in sctp_sk_bound_dev_eq() local
986 l3mdev_accept = !!READ_ONCE(net->sctp.l3mdev_accept); in sctp_sk_bound_dev_eq()
988 return inet_bound_dev_eq(l3mdev_accept, bound_dev_if, dif, sdif); in sctp_sk_bound_dev_eq()
H A Dsysctl.c362 .procname = "l3mdev_accept",
363 .data = &init_net.sctp.l3mdev_accept,
H A Dprotocol.c1394 net->sctp.l3mdev_accept = 1; in sctp_defaults_init()

Completed in 8 milliseconds