tmp_suning_uos_patched/include/asm-sh
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
..
cpu-sh2 [PATCH] Optimize D-cache alias handling on fork 2006-12-13 09:27:08 -08:00
cpu-sh2a sh: Drop CPU subtype IRQ headers. 2006-12-06 10:45:37 +09:00
cpu-sh3 sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
cpu-sh4 sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
dreamcast
hd64465
landisk sh: Remove board-specific ide.h headers. 2006-10-19 16:30:32 +09:00
mpc1211
saturn
sh03 sh: Remove board-specific ide.h headers. 2006-10-19 16:30:32 +09:00
.gitignore
a.out.h
adc.h
addrspace.h
atomic-irq.h sh: Split out atomic ops logically. 2006-12-12 08:42:08 +09:00
atomic-llsc.h sh: Split out atomic ops logically. 2006-12-12 08:42:08 +09:00
atomic.h sh: Split out atomic ops logically. 2006-12-12 08:42:08 +09:00
auxvec.h
bitops.h
bug.h sh: BUG() handling through trapa vector. 2006-12-12 08:42:08 +09:00
bugs.h sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
byteorder.h
cache.h sh: Use L1_CACHE_BYTES for .data.cacheline_aligned. 2007-03-05 14:13:26 +09:00
cacheflush.h sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
checksum.h sh: Shut up csum_ipv6_magic() warnings. 2006-12-12 08:42:07 +09:00
clock.h sh: Clock framework tidying. 2006-12-06 10:45:40 +09:00
cpu-features.h
cputime.h
current.h
delay.h
device.h Driver core: add dev_archdata to struct device 2006-12-01 14:52:01 -08:00
div64.h
dma-mapping.h sh: define dma noncoherent API functions. 2007-02-13 11:11:22 +09:00
dma.h sh: dma-api channel capability extensions. 2006-12-06 10:45:39 +09:00
edosk7705.h sh: Add some missing board headers. 2006-10-19 17:31:22 +09:00
elf.h sh: Preliminary support for SH-X2 MMU. 2006-12-06 10:45:37 +09:00
emergency-restart.h
entry-macros.S sh: Fixup various PAGE_SIZE == 4096 assumptions. 2006-12-06 10:45:39 +09:00
errno.h
fcntl.h
fixmap.h
flat.h
floppy.h
freq.h
futex.h
hardirq.h
hd64461.h
hp6xx.h sh: Trivial fix for hp6xx build. 2007-03-28 19:45:59 +09:00
hs7751rvoip.h sh: Add some missing board headers. 2006-10-19 17:31:22 +09:00
hw_irq.h
ide.h
io_generic.h
io.h
ioctl.h
ioctls.h sh: Convert struct ioctls to static defines. 2007-03-12 16:12:45 +09:00
ipc.h
ipcbuf.h
irq_regs.h
irq.h sh: Fix bogus regs pointer in do_IRQ(). 2007-03-14 13:03:35 +09:00
irqflags.h sh: stacktrace/lockdep/irqflags tracing support. 2006-12-06 10:45:40 +09:00
Kbuild sh: Add cpu-features header to asm/Kbuild. 2007-02-13 10:54:46 +09:00
kexec.h
keyboard.h
kgdb.h sh: Use a jump call table for debug trap handlers. 2007-02-13 10:54:43 +09:00
kmap_types.h
linkage.h
local.h
machvec_init.h
machvec.h
mc146818rtc.h
microdev.h
mman.h
mmu_context.h sh: Use a per-cpu ASID cache. 2007-02-13 10:54:45 +09:00
mmu.h sh: Use a per-cpu ASID cache. 2007-02-13 10:54:45 +09:00
module.h
msgbuf.h
mutex.h
namei.h
page.h sh: Move __KERNEL__ up in asm/page.h. 2007-02-13 10:54:46 +09:00
param.h
pci.h
percpu.h
pgalloc.h sh: pmd rework. 2006-12-06 10:45:38 +09:00
pgtable.h sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
pm.h
poll.h
posix_types.h
processor.h sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
ptrace.h
push-switch.h sh: push-switch fixups for work_struct API damage. 2006-12-12 08:42:07 +09:00
r7780rp.h sh: Convert INTC2 to IRQ table registration. 2006-10-20 15:30:55 +09:00
resource.h
rtc.h
rts7751r2d.h sh: rts7751r2d board updates. 2007-02-15 18:20:52 +09:00
rwsem.h sh: stacktrace/lockdep/irqflags tracing support. 2006-12-06 10:45:40 +09:00
scatterlist.h
sci.h
se7206.h sh: SE7206 build fixes. 2006-12-06 10:45:37 +09:00
se7300.h
se7343.h
se7751.h
se73180.h
se.h
sections.h
segment.h
semaphore-helper.h
semaphore.h
sembuf.h
serial.h sh: rts7751r2d board updates. 2007-02-15 18:20:52 +09:00
setup.h [PATCH] cleanup asm/setup.h userspace visibility 2006-12-07 08:39:46 -08:00
sfp-machine.h
sh_bios.h
shmbuf.h
shmin.h sh: Add some missing board headers. 2006-10-19 17:31:22 +09:00
shmparam.h
sigcontext.h
siginfo.h
signal.h
smc37c93x.h
smp.h
snapgear.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_types.h
spinlock.h
stat.h
statfs.h
string.h
system.h sh: Fixup __cmpxchg() compile breakage with gcc4. 2007-03-28 17:26:19 +09:00
systemh7751.h
termbits.h [PATCH] tty: preparatory structures for termios revamp 2006-12-08 08:28:56 -08:00
termios.h [PATCH] consolidate line discipline number definitions 2007-02-11 10:51:26 -08:00
thread_info.h sh: Clear UBC when not in use. 2007-03-05 14:13:25 +09:00
timer.h sh: dyntick infrastructure. 2006-12-06 10:45:40 +09:00
timex.h
titan.h sh: sh775x/titan fixes for irq header changes. 2006-12-06 12:05:02 +09:00
tlb.h
tlbflush.h sh: Local TLB flushing variants for SMP prep. 2007-02-13 10:54:45 +09:00
topology.h
types.h [PATCH] Centralise definitions of sector_t and blkcnt_t 2006-12-04 19:41:15 -08:00
uaccess.h
ubc.h sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
ucontext.h
unaligned.h
unistd.h sh: Define missing __NR_readahead. 2007-03-12 15:55:19 +09:00
user.h
voyagergx.h sh: rts7751r2d board updates. 2007-02-15 18:20:52 +09:00
watchdog.h
xor.h