Commit
3a3ebcb41882427947a88a8387b42ad6ae3100a5
by lynxis
gprs_ns2_sns: move the NS-ALIVE PDU of a new NS-VC after the SNS-ACK
When adding a new NS-VC after the SNS-CONFIG is done, the new NS-VC would send out a NS-ALIVE before sending out the SNS-ACK towards the remote NSE. This isn't a big issue, because the SNS-ACK can be reordered by the network anyways, but be nice and ensure the order matches the expectation.
Commit
e0f14187bdceb6e5d8ff28fc24103e1a513a4c30
by lynxis
gprs_ns2_sns: improve search for same NS-VC
Adding a second NS-VC with the same IP+UDP isn't possible, even when the weights are different, because the NS-ALIVE wouldn't work. Also a NS-VC is identified by IP+UDP and not by the weights.
IPv6 did this already. Use the same logic for IPv4. Further relax the search of NS-VC when removing NS-VC. Only take care of IP+UDP and ignore signalling weight and data weights.