netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] add udp encapsulation port to xfrm_do_migrate
@ 2017-06-05 21:56 Antony Antony
  2017-06-05 21:56 ` [PATCH 1/2] xfrm: extend MIGRATE with UDP encapsulation port Antony Antony
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Antony Antony @ 2017-06-05 21:56 UTC (permalink / raw)
  To: netdev
  Cc: Antony Antony, Steffen Klassert, Herbert Xu, David S . Miller,
	Richard Guy Briggs

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-06-07 11:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-05 21:56 [PATCH 0/2] add udp encapsulation port to xfrm_do_migrate Antony Antony
2017-06-05 21:56 ` [PATCH 1/2] xfrm: extend MIGRATE with UDP encapsulation port Antony Antony
2017-06-06  0:05   ` Richard Guy Briggs
2017-06-05 21:56 ` [PATCH 2/2] xfrm: add UDP encapsulation port in migrate message Antony Antony
2017-06-06  0:05   ` Richard Guy Briggs
2017-06-06  4:53   ` kbuild test robot
2017-06-06  6:04   ` kbuild test robot
2017-06-06 10:12 ` [PATCH v2 1/2] xfrm: extend MIGRATE with UDP encapsulation port Antony Antony
2017-06-06 10:12 ` [PATCH v2 2/2] xfrm: add UDP encapsulation port in migrate message Antony Antony
2017-06-07 11:02   ` Steffen Klassert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).