1. 01 May, 2013 1 commit
    • Alexander Duyck's avatar
      iproute2: act_ipt fix xtables breakage on older versions. · cfa292de
      Alexander Duyck authored
      In trying to build on a RHEL6.3 I ran into several build issues that are
      addressed in this patch.
      
      The first is that xtables_merge_options only has 3 parameters.  It appears
      this is how this code was originally.  As such for the case where the version
      is less than 6 I am assuming it would be correct to maintain the original
      setup that only had 3 parameters being passed instead of 4.
      
      I also ran into an issue with the define for __ALIGN_KERNEL not being present.
      I believe this may be due to the fact that __ALIGN_KERNEL was moved into a
      separate header from ALIGN after the UAPI changes.  In order to just cover all
      of the bases I have moved the main definition for the macros into
      __ALIGN_KERNEL_MASK and __ALIGN_KERNEL and if ALIGN is also needed then it is
      just a direct redefine to __ALIGN_KERNEL.
      
      Cc: Hasan Chowdhury <shemonc@gmail.com>
      Cc: Jamal Hadi Salim <jhs@mojatatu.com>
      Signed-off-by: default avatarAlexander Duyck <alexander.h.duyck@intel.com>
      Signed-off-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
      cfa292de
  2. 30 Apr, 2013 1 commit
  3. 26 Apr, 2013 1 commit
  4. 17 Apr, 2013 3 commits
  5. 12 Apr, 2013 2 commits
  6. 05 Apr, 2013 1 commit
  7. 01 Apr, 2013 1 commit
  8. 28 Mar, 2013 10 commits
  9. 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
  10. 22 Mar, 2013 1 commit
  11. 20 Mar, 2013 1 commit
  12. 18 Mar, 2013 1 commit
  13. 16 Mar, 2013 4 commits
  14. 14 Mar, 2013 3 commits
  15. 13 Mar, 2013 1 commit
  16. 12 Mar, 2013 1 commit
  17. 11 Mar, 2013 1 commit
  18. 06 Mar, 2013 3 commits
    • Stephen Hemminger's avatar
      bridge: cleanup usage message · 8ae66094
      Stephen Hemminger authored
      Fdb usage message got too long.
      8ae66094
    • Vlad Yasevich's avatar
      bridge: Update bridge man pages to include vlan command · ab938710
      Vlad Yasevich authored
      Add the vlan command documentation to bridge man page.
      Signed-off-by: default avatarVlad Yasevich <vyasevic@redhat.com>
      ab938710
    • Vlad Yasevich's avatar
      bridge: Add vlan configuration support · 9eff0e5c
      Vlad Yasevich authored
      Recent kernel patches added support for VLAN filtering on the bridge.
      This functionality allows one to turn a basic bridge into a VLAN bridge,
      where VLANs dicatate packet forwarding and header transformation.
      
      To configure the VLANs on the bridge and its ports a new command is
      added to the 'bridge' utility.
      
         # bridge vlan add dev eth0 vid 10 pvid untagged brdev
         # bridge vlan add
         # bridge vlan delete dev eth0 vid 10
         # bridge vlan show
      
      This command supports the following flags:
         master - peform the operation on the software bridge device.  This is
      	    the default behavior.
         self  -  perform the operation on the hardware associated with the port.
                  This flag is required when the device is the bridge device and
      	    the configuration is desired on the bridge device itself (not
      	    one of the ports).
         pvid  -  Set the PVID (port vlan id) for a given port.  Any untagged
                  frames arriving on the port will be assigned to this vlan.
         untagged - Sets the egress policy of for a given vlan.  Default port
                  egress policy is tagged.  Set this flag if you wish traffic
                  associated with this VLAN to exit the port untagged.
      Signed-off-by: default avatarVlad Yasevich <vyasevic@redhat.com>
      9eff0e5c