Skip to content
  1. Mar 29, 2017
  2. Mar 28, 2017
  3. Mar 26, 2017
    • Jonas Bonn's avatar
      gtp: support SGSN-side tunnels · 91ed81f9
      Jonas Bonn authored
      
      
      The GTP-tunnel driver is explicitly GGSN-side as it searches for PDP
      contexts based on the incoming packets _destination_ address.  If we
      want to place ourselves on the SGSN side of the  tunnel, then we want
      to be identifying PDP contexts based on _source_ address.
      
      Let it be noted that in a "real" configuration this module would never
      be used:  the SGSN normally does not see IP packets as input.  The
      justification for this functionality is for PGW load-testing applications
      where the input to the SGSN is locally generally IP traffic.
      
      This patch adds a "role" argument at GTP-link creation time to specify
      whether we are on the GGSN or SGSN side of the tunnel; this flag is then
      used to determine which part of the IP packet to use in determining
      the PDP context.
      
      Signed-off-by: default avatarJonas Bonn <jonas@southpole.se>
      Acked-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
      Acked-by: default avatarHarald Welte <laforge@gnumonks.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      91ed81f9
    • Jonas Bonn's avatar
      gtp: rename SGSN netlink attribute · ae6336b5
      Jonas Bonn authored
      
      
      This is a mostly cosmetic rename of the SGSN netlink attribute to
      the GTP link.  The justification for this is that we will be making
      the module support decapsulation of "downstream" SGSN packets, in
      which case the netlink parameter actually refers to the upstream GGSN
      peer.  Renaming the parameter makes the relationship clearer.
      
      The legacy name is maintained as a define in the header file in order
      to not break existing code.
      
      Signed-off-by: default avatarJonas Bonn <jonas@southpole.se>
      Acked-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
      Acked-by: default avatarHarald Welte <laforge@gnumonks.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ae6336b5
  4. Mar 25, 2017
  5. Mar 24, 2017
  6. Mar 22, 2017
Loading