Skip to content

Commit

Permalink
mptcpd 0.7
Browse files Browse the repository at this point in the history
- MPTCP path management generic netlink events recently added to the
  upstream Linux kernel are now supported, and propagated to mptcpd
  plugins.  The same API is also found in the multipath-tcp.org
  kernel.  Differences between the two kernels are transparent to
  mptcpd plugins.

- Mptcpd now supports the upstream Linux kernel server-oriented
  MPTCP_PM_CMD_SET_FLAGS generic netlink command through the new
  mptcpd_pm_set_flags() function.  It allows the user to set MPTCP
  flags for a specific local IP address.

- An incorrect buffer size calculation when calling
  mptcpd_pm_add_addr() when using an IPv6 addresses on platforms
  running the upstream Linux kernel was corrected.

- An "operation not supported" error that occurred when attempting to
  retrieve MPTCP resource limits through the mptcpd_pm_get_limits()
  function was fixed.

- A network interface lookup problem in the "sspi" plugin was
  corrected.

- Building mptcpd against ELL 0.39 is now supported.
  • Loading branch information
Ossama Othman authored Apr 13, 2021
1 parent daf9c24 commit c9c5671
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 15 deletions.
26 changes: 25 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
- A network interface lookup problem in the "sspi" plugin was fixed.
13 April 2021 - mptcpd 0.7

- MPTCP path management generic netlink events recently added to the
upstream Linux kernel are now supported, and propagated to mptcpd
plugins. The same API is also found in the multipath-tcp.org
kernel. Differences between the two kernels are transparent to
mptcpd plugins.

- Mptcpd now supports the upstream Linux kernel server-oriented
MPTCP_PM_CMD_SET_FLAGS generic netlink command through the new
mptcpd_pm_set_flags() function. It allows the user to set MPTCP
flags for a specific local IP address.

- An incorrect buffer size calculation when calling
mptcpd_pm_add_addr() when using an IPv6 addresses on platforms
running the upstream Linux kernel was corrected.

- An "operation not supported" error that occurred when attempting to
retrieve MPTCP resource limits through the mptcpd_pm_get_limits()
function was fixed.

- A network interface lookup problem in the "sspi" plugin was
corrected.

- Building mptcpd against ELL 0.39 is now supported.

25 January 2021 - mptcpd 0.6

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

AC_PREREQ([2.69])
AC_INIT([mptcpd],
[0.6],
[0.7],
[[email protected]],
[],
[https://github.com/intel/mptcpd])
Expand Down
27 changes: 14 additions & 13 deletions include/mptcpd/path_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,19 +207,6 @@ MPTCPD_API int mptcpd_pm_set_limits(struct mptcpd_pm *pm,
struct mptcpd_limit const *limits,
size_t len);

/**
* @brief Set MPTCP resource limits.
*
* @param[in] pm The mptcpd path manager object.
* @param[in] addr Local IP address.
* @param[in] flags Flags to be associated with @a addr.
*
* @return @c 0 if operation was successful. -1 or @c errno otherwise.
*/
MPTCPD_API int mptcpd_pm_set_flags(struct mptcpd_pm *pm,
struct sockaddr const *addr,
mptcpd_flags_t flags);

/**
* @brief Get MPTCP resource limits.
*
Expand All @@ -233,6 +220,20 @@ MPTCPD_API int mptcpd_pm_set_flags(struct mptcpd_pm *pm,
MPTCPD_API int mptcpd_pm_get_limits(struct mptcpd_pm *pm,
mptcpd_pm_get_limits_cb callback,
void *data);

/**
* @brief Set MPTCP flags for a local IP address.
*
* @param[in] pm The mptcpd path manager object.
* @param[in] addr Local IP address.
* @param[in] flags Flags to be associated with @a addr.
*
* @return @c 0 if operation was successful. -1 or @c errno otherwise.
*/
MPTCPD_API int mptcpd_pm_set_flags(struct mptcpd_pm *pm,
struct sockaddr const *addr,
mptcpd_flags_t flags);

//@}

/**
Expand Down

0 comments on commit c9c5671

Please sign in to comment.