1. 29 6月, 2005 1 次提交
  2. 27 6月, 2005 3 次提交
  3. 25 6月, 2005 2 次提交
  4. 24 6月, 2005 12 次提交
  5. 23 6月, 2005 3 次提交
  6. 22 6月, 2005 8 次提交
  7. 21 6月, 2005 3 次提交
    • R
      [NETLINK]: fib_lookup() via netlink · 246955fe
      Robert Olsson 提交于
      Below is a more generic patch to do fib_lookup via netlink. For others 
      we should say that we discussed this as a way to verify route selection.
      It's also possible there are others uses for this.
      
      In short the fist half of struct fib_result_nl is filled in by caller 
      and netlink call fills in the other half and returns it.
      
      In case anyone is interested there is a corresponding user app to compare 
      the full routing table this was used to test implementation of the LC-trie. 
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      246955fe
    • H
      [IPSEC]: Add XFRM_STATE_NOPMTUDISC flag · dd87147e
      Herbert Xu 提交于
      This patch adds the flag XFRM_STATE_NOPMTUDISC for xfrm states.  It is
      similar to the nopmtudisc on IPIP/GRE tunnels.  It only has an effect
      on IPv4 tunnel mode states.  For these states, it will ensure that the
      DF flag is always cleared.
      
      This is primarily useful to work around ICMP blackholes.
      
      In future this flag could also allow a larger MTU to be set within the
      tunnel just like IPIP/GRE tunnels.  This could be useful for short haul
      tunnels where temporary fragmentation outside the tunnel is desired over
      smaller fragments inside the tunnel.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Acked-by: NJames Morris <jmorris@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      dd87147e
    • H
      [IPSEC]: Add xfrm_init_state · 72cb6962
      Herbert Xu 提交于
      This patch adds xfrm_init_state which is simply a wrapper that calls
      xfrm_get_type and subsequently x->type->init_state.  It also gets rid
      of the unused args argument.
      
      Abstracting it out allows us to add common initialisation code, e.g.,
      to set family-specific flags.
      
      The add_time setting in xfrm_user.c was deleted because it's already
      set by xfrm_state_alloc.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Acked-by: NJames Morris <jmorris@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      72cb6962
  8. 19 6月, 2005 8 次提交