RE: socket query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-> On Mon, 13 Sep 2004 08:19:50 +0530
-> vijay kalkoti <vijayck@gmail.com> wrote:
-> 
-> > Does this IP_HDRINCL works for IPv6 also?
-> > 
-> > man page says it works for IPv4, But there is no pointer to IPv6.
-> > 
-> > Does this PF_RAW and IP_HDRINCL work for IPv6.
-> 
-> No it does not.  Such an interface was (purposely) left out of
-> the ipv6 socket API.

  To support what David has said, read this thread about IPV6_HDRINCL 
  socket option:
  http://www.cs-ipv6.lancs.ac.uk/ipv6/mail-archive/IPng/1996-12/0068.html

  In other words, designers of IPv6 Socket API thought there won't
  be any need for IPV6_HDRINCL option simply because every IPv6
  option and extension headers can be managed by other socket options.

  That said, WinSock supports this (non-standard) option:
 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/win
sock/ipproto_ipv6_socket_options.asp

Thanks,
Venkata.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux