1. 28 Mar, 2013 9 commits
  2. 27 Mar, 2013 4 commits
    • James Chapman's avatar
      iproute2: update ip-l2tp man page · 9c064b53
      James Chapman authored
      Add documentation about the new l2spec_type parameter for "ip l2tp add
      session".
      Signed-off-by: default avatarJames Chapman <jchapman@katalix.com>
      9c064b53
    • James Chapman's avatar
      iproute2: add l2spec_type param to l2tp add session · dd10baa5
      James Chapman authored
      When unmanaged L2TP sessions are created using "ip l2tp add session",
      there is no option to allow the session's Layer2SpecificHeader type to
      be selected - the kernel's default setting is always used. For
      interopability with some vendor equipment, it might be necessary to
      use a different setting. So add a new l2spec_type parameter to the "ip
      l2tp add session" parameter list, allowing operators to set a specific
      Layer2SpecificHeader type. The kernel already exposes the setting as a
      netlink attribute so it is straightforward to add support for it in
      iproute2.
      
      This change allows unmanaged L2TP sessions to be configured between
      Linux and some Cisco equipment by specifying "l2spec_type none" in "ip
      l2tp add session" command parameters.
      Signed-off-by: default avatarJames Chapman <jchapman@katalix.com>
      dd10baa5
    • Stephen Hemminger's avatar
      ll_map: use net/if.h to get prototype · 5f218239
      Stephen Hemminger authored
      Better to get prototype from system headers
      5f218239
    • Stephen Hemminger's avatar
      ll_map: remove unused address fields · 3e26112a
      Stephen Hemminger authored
      The address was being stored but not used by current code.
      3e26112a
  3. 22 Mar, 2013 1 commit
  4. 20 Mar, 2013 1 commit
  5. 18 Mar, 2013 1 commit
  6. 16 Mar, 2013 4 commits
  7. 14 Mar, 2013 3 commits
  8. 13 Mar, 2013 1 commit
  9. 12 Mar, 2013 1 commit
  10. 11 Mar, 2013 1 commit
  11. 06 Mar, 2013 8 commits
  12. 04 Mar, 2013 1 commit
  13. 28 Feb, 2013 2 commits
  14. 27 Feb, 2013 3 commits
    • Stephen Hemminger's avatar
      ip: fix ipv6 ntable on ppc64 · a7c28824
      Stephen Hemminger authored
      Add casts to handle printf format when
       sizeof(unsigned long long) != sizeof(__u64)
      a7c28824
    • Vijay Subramanian's avatar
      Fix compilation error of m_ipt.c with -Werror enabled · 92351956
      Vijay Subramanian authored
      Commit (5a650703 Makefile: make warnings into
      errors ) causes the following build error.
      
      gcc -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
      -Wmissing-declarations -Wold-style-definition -O2 -I../include
      -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\"
      -D_GNU_SOURCE -DCONFIG_GACT -DCONFIG_GACT_PROB -DIPT_LIB_DIR=\"/lib/xtables\"
      -DYY_NO_INPUT   -c -o m_ipt.o m_ipt.c
      cc1: warnings being treated as errors
      m_ipt.c:72: error: no previous prototype for 'xtables_register_target'
      m_ipt.c:361: error: no previous prototype for 'build_st'
      make[1]: *** [m_ipt.o] Error 1
      
      This is fixed by adding the prototype in the header include/iptables.h
      
      I am not sure if this is due to something wrong on my build system but I am
      using current glibc 2.17.
      Signed-off-by: default avatarVijay Subramanian <subramanian.vijay@gmail.com>
      92351956
    • Hannes Frederic Sowa's avatar
      ss: show socket memory stats for unix sockets if requested · 51ff9f24
      Hannes Frederic Sowa authored
      The output format is the same as for tcp sockets but only the following
      fields are currently non-zero: sk_rcvbuf, sk_wmem_alloc and sk_sndbuf.
      
      Cc: Stephen Hemminger <stephen@networkplumber.org>
      Signed-off-by: default avatarHannes Frederic Sowa <hannes@stressinduktion.org>
      51ff9f24