1. 31 1月, 2009 1 次提交
  2. 16 12月, 2008 1 次提交
    • Y
      ipv6: Add IPV6_PKTINFO sticky option support to setsockopt() · b24a2516
      Yang Hongyang 提交于
      There are three reasons for me to add this support:
      1.When no interface is specified in an IPV6_PKTINFO ancillary data
        item, the interface specified in an IPV6_PKTINFO sticky optionis 
        is used.
      
      RFC3542:
      6.7.  Summary of Outgoing Interface Selection
      
         This document and [RFC-3493] specify various methods that affect the
         selection of the packet's outgoing interface.  This subsection
         summarizes the ordering among those in order to ensure deterministic
         behavior.
      
         For a given outgoing packet on a given socket, the outgoing interface
         is determined in the following order:
      
         1. if an interface is specified in an IPV6_PKTINFO ancillary data
            item, the interface is used.
      
         2. otherwise, if an interface is specified in an IPV6_PKTINFO sticky
            option, the interface is used.
      
      2.When no IPV6_PKTINFO ancillary data is received,getsockopt() should 
        return the sticky option value which set with setsockopt().
      
      RFC 3542:
         Issuing getsockopt() for the above options will return the sticky
         option value i.e., the value set with setsockopt().  If no sticky
         option value has been set getsockopt() will return the following
         values:
      
      3.Make the setsockopt implementation POSIX compliant.
      Signed-off-by: NYang Hongyang <yanghy@cn.fujitsu.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b24a2516
  3. 22 7月, 2008 1 次提交
  4. 03 7月, 2008 2 次提交
  5. 11 6月, 2008 1 次提交
  6. 14 4月, 2008 1 次提交
  7. 05 4月, 2008 1 次提交
  8. 26 3月, 2008 1 次提交
  9. 25 3月, 2008 4 次提交
  10. 01 2月, 2008 2 次提交
  11. 11 10月, 2007 1 次提交
  12. 31 7月, 2007 1 次提交
  13. 11 7月, 2007 3 次提交
  14. 31 5月, 2007 1 次提交
  15. 26 4月, 2007 4 次提交
  16. 25 4月, 2007 1 次提交
  17. 03 12月, 2006 1 次提交
  18. 29 9月, 2006 2 次提交
  19. 23 9月, 2006 6 次提交
  20. 26 4月, 2006 1 次提交
  21. 21 3月, 2006 4 次提交