On 4/22/19 9:27 AM, Kristian Evensen wrote: > This patch adds support for binding FOU ports using iproute2. > Kernel-support was added in 1713cb37bf67 ("fou: Support binding FoU > socket"). > > The parse function now handles new arguments for setting the > binding-related attributes, while the print function writes the new > attributes if they are set. Also, the man page has been updated. > > v2->v3: > * Remove redundant ll_init_map()-calls (thanks David Ahren). > > v1->v2 (all changes suggested by David Ahren): > * Fix reverse Christmas tree ordering. > * Remove redundant peer_port_set-variable, it is enough to check > peer_port. > * Add proper error handling of invalid local/peer addresses. > * Use interface name and not index. > * Remove updating fou-header file, it is already done. > > Signed-off-by: Kristian Evensen <kristian.even...@gmail.com> > --- > ip/ipfou.c | 135 +++++++++++++++++++++++++++++++++++++++++++--- > man/man8/ip-fou.8 | 49 ++++++++++++++++- > 2 files changed, 175 insertions(+), 9 deletions(-) >
applied to iproute2-next. Thanks