Source-Changes archive

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

CVS commit: src

Module Name:    src
Committed By:   minskim
Date:           Thu Jul 16 04:09:51 UTC 2009

Modified Files:
        src/share/man/man4: ip.4
        src/sys/netinet: in.h in_pcb.h ip_input.c ip_output.c

Log Message:
Add the IP_RECVTTL option support.

If the IP_RECVTTL option is enabled on a SOCK_DGRAM socket, the
recvmsg(2) call will return the TTL of the received datagram.  The
msg_control field in the msghdr structure points to a buffer that
contains a cmsghdr structure followed by the TTL value.

Modeled after FreeBSD implementation.

To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/share/man/man4/ip.4
cvs rdiff -u -r1.83 -r1.84 src/sys/netinet/in.h
cvs rdiff -u -r1.45 -r1.46 src/sys/netinet/in_pcb.h
cvs rdiff -u -r1.281 -r1.282 src/sys/netinet/ip_input.c
cvs rdiff -u -r1.203 -r1.204 src/sys/netinet/ip_output.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index