1. 30 Nov, 2014 3 commits
  2. 29 Nov, 2014 11 commits
  3. 22 Nov, 2014 1 commit
  4. 07 Nov, 2014 8 commits
    • Tom Herbert's avatar
      iproute2: Man pages for fou and gue · e4fc7e26
      Tom Herbert authored
      Man pages for Foo-over-UDP and Generic UDP Encapsulation receive
      port configuration. gue man page links to fou one.
      Signed-off-by: default avatarTom Herbert <therbert@google.com>
      e4fc7e26
    • Tom Herbert's avatar
      ip link gre: Add support to configure FOU and GUE · 80c24b09
      Tom Herbert authored
      This patch adds support to configure foo-over-udp (FOU) and Generic
      UDP Encapsulation for GRE tunnels. This configuration allows selection
      of FOU or GUE for the tunnel, specification of the source and
      destination ports for UDP tunnel, and enabling TX checksum. This
      configuration only affects the transmit side of a tunnel.
      
      Example:
      
      ip link add name tun1 type gre remote 192.168.1.1 local 192.168.1.2 \
         ttl 225 encap fou encap-sport auto encap-dport 7777 encap-csum
      
      This would create an GRE tunnel in GUE encapsulation where the source
      port is automatically selected (based on hash of inner packet) and
      checksums in the encapsulating UDP header are enabled.
      Signed-off-by: default avatarTom Herbert <therbert@google.com>
      80c24b09
    • Tom Herbert's avatar
      ip link ipip: Add support to configure FOU and GUE · c1159152
      Tom Herbert authored
      This patch adds support to configure foo-over-udp (FOU) and Generic
      UDP Encapsulation for IPIP and sit tunnels. This configuration allows
      selection of FOU or GUE for the tunnel, specification of the source and
      destination ports for UDP tunnel, and enabling TX checksum. This
      configuration only affects the transmit side of a tunnel.
      
      Example:
      
      ip link add name tun1 type ipip remote 192.168.1.1 local 192.168.1.2 \
         ttl 225 encap gue encap-sport auto encap-dport 9999 encap-csum
      
      This would create an IPIP tunnel in GUE encapsulation where the source
      port is automatically selected (based on hash of inner packet) and
      checksums in the encapsulating UDP header are enabled.
      Signed-off-by: default avatarTom Herbert <therbert@google.com>
      c1159152
    • Tom Herbert's avatar
      ip fou: Support to configure foo-over-udp RX · 6928747b
      Tom Herbert authored
      Added 'ip fou...' commands to enable/disable UDP ports for doing
      foo-over-udp and Generic UDP Encapsulation variant. Arguments are port
      number to bind to and IP protocol to map to port (for direct FOU).
      
      Examples:
      
      ip fou add port 7777 gue
      ip fou add port 8888 ipproto 4
      
      The first command creates a GUE port, the second creates a direct FOU
      port for IPIP (receive payload is a assumed to be an IPv4 packet).
      Signed-off-by: default avatarTom Herbert <therbert@google.com>
      6928747b
    • Masatake YAMATO's avatar
      man: ip-link: fix a typo · e37a9c73
      Masatake YAMATO authored
      Signed-off-by: default avatarMasatake YAMATO <yamato@redhat.com>
      e37a9c73
    • Christian Hesse's avatar
    • vadimk's avatar
      doc ip-cref: Added missing ip options · 5cb6aa03
      vadimk authored
      Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
      5cb6aa03
    • Christian Hesse's avatar
      ip-link: fix column alignment · f4fe81d2
      Christian Hesse authored
      Width is the maximum number of characters used for the value, excluding a
      field separator. So append a single whitespace.
      f4fe81d2
  5. 02 Nov, 2014 3 commits
    • Stephen Hemminger's avatar
      ip: add iec formatted option and cleanup code · 1e264abc
      Stephen Hemminger authored
      Add a new -iec option in addition to -human.
      Cleanup code so the formatting of numbers is done in one function,
      not 2 ways and 2 sizes.
      1e264abc
    • Christian Hesse's avatar
      ip-link: add switch to show human readable output · b68d9837
      Christian Hesse authored
      Byte and packet count can increase to really big numbers. This adds a
      switch to show human readable output.
      
      4: wl: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
          link/ether 00:de:ad:be:ee:ef brd ff:ff:ff:ff:ff:ff
          RX: bytes  packets  errors  dropped overrun mcast
          1523846973 3969051  0       0       0       0
          TX: bytes  packets  errors  dropped carrier collsns
          8710088361 6077735  0       0       0       0
      4: wl: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
          link/ether 00:de:ad:be:ee:ef brd ff:ff:ff:ff:ff:ff
          RX: bytes  packets  errors  dropped overrun mcast
          1.5G       3.9M     0       0       0       0
          TX: bytes  packets  errors  dropped carrier collsns
          8.7G       6.0M     0       0       0       0
      b68d9837
    • Alexey Andriyanov's avatar
      iproute2: ip6_tunnel mode bugfixes: any,vti6 · a0638e18
      Alexey Andriyanov authored
      - any ipv6 tunnel mode (proto == 0) could not be set
      due to incomplete set of cases in do_add, do_del.
      - vti6 logic was inverted: it was using "ip6_vti0" basedev
      UNLESS mode is set to vti6.
      
      We don't need a switch by p.proto in do_add()/do_del(): it
      already exists in parse_args(). So if parse_args() call
      was successful, no need to check tunnel mode again.
      Signed-off-by: default avatarAlexey Andriyanov <alan@al-an.info>
      a0638e18
  6. 30 Oct, 2014 12 commits
  7. 09 Oct, 2014 2 commits