• Geliang Tang's avatar
    selftests: mptcp: add testcases for ADD_ADDR with port · 8a127bf6
    Geliang Tang authored
    This patch adds testcases for ADD_ADDR with port and the related MIB
    counters check in chk_add_nr. The output looks like this:
    
     24 signal address with port           syn[ ok ] - synack[ ok ] - ack[ ok ]
                                           add[ ok ] - echo  [ ok ] - pt [ ok ]
                                           syn[ ok ] - synack[ ok ] - ack[ ok ]
                                           syn[ ok ] - ack   [ ok ]
     25 subflow and signal with port       syn[ ok ] - synack[ ok ] - ack[ ok ]
                                           add[ ok ] - echo  [ ok ] - pt [ ok ]
                                           syn[ ok ] - synack[ ok ] - ack[ ok ]
                                           syn[ ok ] - ack   [ ok ]
     26 remove single address with port    syn[ ok ] - synack[ ok ] - ack[ ok ]
                                           add[ ok ] - echo  [ ok ] - pt [ ok ]
                                           syn[ ok ] - synack[ ok ] - ack[ ok ]
                                           syn[ ok ] - ack   [ ok ]
                                           rm [ ok ] - sf    [ ok ]
    Signed-off-by: default avatarGeliang Tang <geliangtang@gmail.com>
    Signed-off-by: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    8a127bf6
mptcp_join.sh 29.5 KB