22 Jul, 2008

1 commit


03 Jul, 2008

2 commits


11 Jun, 2008

1 commit


14 Apr, 2008

2 commits


05 Apr, 2008

1 commit


26 Mar, 2008

1 commit


25 Mar, 2008

4 commits


01 Feb, 2008

2 commits


11 Oct, 2007

1 commit

  • This patch removes the duplicate ipv6_{auth,esp,comp}_hdr structures since
    they're identical to the IPv4 versions. Duplicating them would only create
    problems for ourselves later when we need to add things like extended
    sequence numbers.

    I've also added transport header type conversion headers for these types
    which are now used by the transforms.

    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Herbert Xu
     

31 Jul, 2007

1 commit

  • net/if_inet6.h includes linux/ipv6.h which also tries to include
    net/if_inet6.h. Since the latter only needs it for forward
    declarations, we can fix this by adding the declarations.

    A number of files are implicitly including net/if_inet6.h through
    linux/ipv6.h. They also use net/ipv6.h so this patch includes
    net/if_inet6.h there.

    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Herbert Xu
     

11 Jul, 2007

3 commits

  • Because reversing RH0 is no longer supported by deprecation
    of RH0, let's make IPV6_{RECV,2292}RTHDR boolean options.
    Boolean are more appropriate from standard POV.

    Signed-off-by: YOSHIFUJI Hideaki
    Signed-off-by: David S. Miller

    YOSHIFUJI Hideaki
     
  • Based on .

    Signed-off-by: YOSHIFUJI Hideaki
    Signed-off-by: David S. Miller

    YOSHIFUJI Hideaki
     
  • This patch makes MIPv6 loadable module named "mip6".

    Here is a modprobe.conf(5) example to load it automatically
    when user application uses XFRM state for MIPv6:

    alias xfrm-type-10-43 mip6
    alias xfrm-type-10-60 mip6

    Some MIPv6 feature is not included by this modular, however,
    it should not be affected to other features like either IPsec
    or IPv6 with and without the patch.
    We may discuss XFRM, MH (RAW socket) and ancillary data/sockopt
    separately for future work.

    Loadable features:
    * MH receiving check (to send ICMP error back)
    * RO header parsing and building (i.e. RH2 and HAO in DSTOPTS)
    * XFRM policy/state database handling for RO

    These are NOT covered as loadable:
    * Home Address flags and its rule on source address selection
    * XFRM sub policy (depends on its own kernel option)
    * XFRM functions to receive RO as IPv6 extension header
    * MH sending/receiving through raw socket if user application
    opens it (since raw socket allows to do so)
    * RH2 sending as ancillary data
    * RH2 operation with setsockopt(2)

    Signed-off-by: Masahide NAKAMURA
    Signed-off-by: David S. Miller

    Masahide NAKAMURA
     

31 May, 2007

1 commit


26 Apr, 2007

4 commits

  • For the places where we need a pointer to the transport header, it is
    still legal to touch skb->h.raw directly if just adding to,
    subtracting from or setting it to another layer header.

    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Arnaldo Carvalho de Melo
     
  • Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Arnaldo Carvalho de Melo
     
  • Now the skb->nh union has just one member, .raw, i.e. it is just like the
    skb->mac union, strange, no? I'm just leaving it like that till the transport
    layer is done with, when we'll rename skb->mac.raw to skb->mac_header (or
    ->mac_header_offset?), ditto for ->{h,nh}.

    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Arnaldo Carvalho de Melo
     
  • Nominally an autoconfigured IPv6 address is added to an interface in the
    Tentative state (as per RFC 2462). Addresses in this state remain in this
    state while the Duplicate Address Detection process operates on them to
    determine their uniqueness on the network. During this period, these
    tentative addresses may not be used for communication, increasing the time
    before a node may be able to communicate on a network. Using Optimistic
    Duplicate Address Detection, autoconfigured addresses may be used
    immediately for communication on the network, as long as certain rules are
    followed to avoid conflicts with other nodes during the Duplicate Address
    Detection process.

    Signed-off-by: Neil Horman
    Signed-off-by: YOSHIFUJI Hideaki
    Signed-off-by: David S. Miller

    Neil Horman
     

25 Apr, 2007

1 commit


03 Dec, 2006

1 commit


29 Sep, 2006

2 commits

  • Signed-off-by: Al Viro
    Signed-off-by: David S. Miller

    Al Viro
     
  • INET_MATCH() and friends depend on an interesting set of kludges:
    * there's a pair of adjacent fields in struct inet_sock - __be16 dport
    followed by __u16 num. We want to search by pair, so we combine the keys into
    a single 32bit value and compare with 32bit value read from &...->dport.
    * on 64bit targets we combine comparisons with pair of adjacent __be32
    fields in the same way.

    Make sure that we don't mix those values with anything else and that pairs
    we form them from have correct types.

    Signed-off-by: Al Viro
    Signed-off-by: David S. Miller

    Al Viro
     

23 Sep, 2006

6 commits


26 Apr, 2006

1 commit


21 Mar, 2006

5 commits