android_kernel_xiaomi_sm8350/include/asm-xtensa
Eric Dumazet 92f37fd2ee [NET]: Adding SO_TIMESTAMPNS / SCM_TIMESTAMPNS support
Now that network timestamps use ktime_t infrastructure, we can add a new
SOL_SOCKET sockopt  SO_TIMESTAMPNS.

This command is similar to SO_TIMESTAMP, but permits transmission of
a 'timespec struct' instead of a 'timeval struct' control message.
(nanosecond resolution instead of microsecond)

Control message is labelled SCM_TIMESTAMPNS instead of SCM_TIMESTAMP

A socket cannot mix SO_TIMESTAMP and SO_TIMESTAMPNS : the two modes are
mutually exclusive.

sock_recv_timestamp() became too big to be fully inlined so I added a
__sock_recv_timestamp() helper function.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
CC: linux-arch@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-25 22:24:21 -07:00
..
platform-iss [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
variant-fsf [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
a.out.h
asmmacro.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
atomic.h
auxvec.h
bitops.h
bootparam.h
bug.h [PATCH] xtensa: fix irq and misc fixes 2006-12-10 09:55:39 -08:00
bugs.h
byteorder.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
cache.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
cacheasm.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
cacheflush.h [PATCH] Optimize D-cache alias handling on fork 2006-12-13 09:27:08 -08:00
checksum.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
coprocessor.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
cpumask.h
cputime.h
current.h
delay.h
device.h
div64.h [NET]: div64_64 consolidate (rev3) 2007-04-25 22:23:33 -07:00
dma-mapping.h [PATCH] Pass struct dev pointer to dma_cache_sync() 2006-12-07 08:39:41 -08:00
dma.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
elf.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
emergency-restart.h
errno.h
fcntl.h [PATCH] xtensa: fix system call interface 2006-12-10 09:55:39 -08:00
futex.h
hardirq.h
highmem.h
hw_irq.h
ide.h
io.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h [PATCH] xtensa: fix irq and misc fixes 2006-12-10 09:55:39 -08:00
irq.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
Kbuild
kmap_types.h
linkage.h
local.h
mman.h [PATCH] Remove final references to deprecated "MAP_ANON" page protection flag 2007-02-11 10:51:17 -08:00
mmu_context.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
mmu.h
module.h
msgbuf.h
mutex.h
namei.h
page.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
param.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
pci-bridge.h
pci.h
percpu.h
pgalloc.h
pgtable.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
platform.h
poll.h
posix_types.h [PATCH] FD_ZERO build fix 2007-01-11 18:18:22 -08:00
processor.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
ptrace.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
regs.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
resource.h
rmap.h
rwsem.h
scatterlist.h
sections.h
segment.h
semaphore.h
sembuf.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
serial.h
setup.h
shmbuf.h [PATCH] xtensa: fix system call interface 2006-12-10 09:55:39 -08:00
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h [NET]: Adding SO_TIMESTAMPNS / SCM_TIMESTAMPNS support 2007-04-25 22:24:21 -07:00
sockios.h [NET]: Introduce SIOCGSTAMPNS ioctl to get timestamps with nanosec resolution 2007-04-25 22:24:04 -07:00
spinlock.h
stat.h [PATCH] xtensa: fix system call interface 2006-12-10 09:55:39 -08:00
statfs.h
string.h
syscall.h [PATCH] xtensa: fix system call interface 2006-12-10 09:55:39 -08:00
system.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
termbits.h [PATCH] Xtensa: Add ktermios and minor filename fix 2006-12-13 09:05:50 -08:00
termios.h [PATCH] consolidate line discipline number definitions 2007-02-11 10:51:26 -08:00
thread_info.h
timex.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
tlb.h
tlbflush.h [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
topology.h
types.h
uaccess.h [PATCH] Xtensa: Add ktermios and minor filename fix 2006-12-13 09:05:50 -08:00
ucontext.h
unaligned.h
unistd.h [PATCH] xtensa: fix system call interface 2006-12-10 09:55:39 -08:00
user.h
vga.h
xor.h