cvs commit: src/sys/netinet raw_ip.c
Nate Lawson
nate at root.org
Tue Oct 4 11:14:52 PDT 2005
Andre Oppermann wrote:
> andre 2005-10-04 18:07:11 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/netinet raw_ip.c
> Log:
> Make SO_BINTIME timestamps available on raw_ip sockets.
>
> Sponsored by: TCP/IP Optimization Fundraise 2005
>
> Revision Changes Path
> 1.153 +1 -1 src/sys/netinet/raw_ip.c
>
>
> Index: src/sys/netinet/raw_ip.c
> diff -u src/sys/netinet/raw_ip.c:1.152 src/sys/netinet/raw_ip.c:1.153
> --- src/sys/netinet/raw_ip.c:1.152 Mon Sep 26 20:25:16 2005
> +++ src/sys/netinet/raw_ip.c Tue Oct 4 18:07:11 2005
> @@ -166,7 +166,7 @@
>
> so = last->inp_socket;
> if ((last->inp_flags & INP_CONTROLOPTS) ||
> - (so->so_options & SO_TIMESTAMP))
> + (so->so_options & SO_TIMESTAMP | SO_BINTIME))
> ip_savecontrol(last, &opts, ip, n);
> SOCKBUF_LOCK(&so->so_rcv);
> if (sbappendaddr_locked(&so->so_rcv,
main() { printf("%d\n", 0 & 1 | 8); }
8
--
Nate
More information about the cvs-src
mailing list