[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170605215625.11043-1-antony@phenome.org>
Date: Mon, 5 Jun 2017 23:56:23 +0200
From: Antony Antony <antony@...nome.org>
To: netdev@...r.kernel.org
Cc: Antony Antony <antony@...nome.org>,
Steffen Klassert <steffen.klassert@...unet.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S . Miller" <davem@...emloft.net>,
Richard Guy Briggs <rgb@...colour.ca>
Subject: [PATCH 0/2] add udp encapsulation port to xfrm_do_migrate
Currently xfrm_do_migrate only support migrating IP address.
This patches add UDP encapsulation port to xfrm_do_migrate.
The use case is for devices such as phones that support IKE MOBIKE.
Often when the device move from one network to the another or wake
up from sleep external NAT gateway IP address, port, or both could
change. With this patch xfrm_do_migrate will also support port change
if necessary.
Antony Antony (2):
xfrm: extend MIGRATE with UDP encapsulation port
xfrm: add UDP encapsulation port in migrate message
include/net/xfrm.h | 11 +++++++----
net/key/af_key.c | 5 +++--
net/xfrm/xfrm_policy.c | 13 +++++--------
net/xfrm/xfrm_state.c | 23 ++++++++++++++++-------
net/xfrm/xfrm_user.c | 37 +++++++++++++++++++++++++++++--------
5 files changed, 60 insertions(+), 29 deletions(-)
--
2.9.3
Powered by blists - more mailing lists