Home
last modified time | relevance | path

Searched refs:size_subflow_data (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/selftests/net/mptcp/ !
Dmptcp_sockopt.c57 __u32 size_subflow_data; /* size of this structure in userspace */ member
246 good_data.size_subflow_data = olen; in do_getsockopt_bogus_sf_data()
283 bd.d.size_subflow_data = sizeof(bd); in do_getsockopt_bogus_sf_data()
291 assert(bd.d.size_subflow_data == sizeof(bd)); in do_getsockopt_bogus_sf_data()
294 bd.d.size_subflow_data += 1; in do_getsockopt_bogus_sf_data()
296 olen = bd.d.size_subflow_data + 1; in do_getsockopt_bogus_sf_data()
305 assert(bd.d.size_subflow_data == sizeof(good_data) + 1); in do_getsockopt_bogus_sf_data()
343 ti.d.size_subflow_data = sizeof(struct mptcp_subflow_data); in do_getsockopt_tcp_info()
395 addrs.d.size_subflow_data = sizeof(struct mptcp_subflow_data); in do_getsockopt_subflow_addrs()
431 addrs.d.size_subflow_data = sizeof(struct mptcp_subflow_data); in do_getsockopt_subflow_addrs()
/linux-6.1.9/net/mptcp/ !
Dsockopt.c940 u32 copylen = min_t(u32, sfd->size_subflow_data, sizeof(*sfd)); in mptcp_put_subflow_data()
943 copied += sfd->size_subflow_data; in mptcp_put_subflow_data()
979 if (sfd->size_subflow_data > INT_MAX || in mptcp_get_subflow_data()
983 if (sfd->size_subflow_data < MIN_INFO_OPTLEN_SIZE || in mptcp_get_subflow_data()
984 sfd->size_subflow_data > len) in mptcp_get_subflow_data()
990 return len - sfd->size_subflow_data; in mptcp_get_subflow_data()
1011 infoptr = optval + sfd.size_subflow_data; in mptcp_getsockopt_tcpinfo()
1103 addrptr = optval + sfd.size_subflow_data; in mptcp_getsockopt_subflow_addrs()
/linux-6.1.9/include/uapi/linux/ !
Dmptcp.h216 __u32 size_subflow_data; /* size of this structure in userspace */ member