android_kernel_google_msm/arch/alpha/include/asm
Eric Dumazet adc3caedd0 net: introduce SO_MAX_PACING_RATE
As mentioned in commit afe4fd0624 ("pkt_sched: fq: Fair Queue packet
scheduler"), this patch adds a new socket option.

SO_MAX_PACING_RATE offers the application the ability to cap the
rate computed by transport layer. Value is in bytes per second.

u32 val = 1000000;
setsockopt(sockfd, SOL_SOCKET, SO_MAX_PACING_RATE, &val, sizeof(val));

To be effectively paced, a flow must use FQ packet scheduler.

Note that a packet scheduler takes into account the headers for its
computations. The effective payload rate depends on MSS and retransmits
if any.

I chose to make this pacing rate a SOL_SOCKET option instead of a
TCP one because this can be used by other protocols.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Steinar H. Gunderson <sesse@google.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Change-Id: Iea51b6104a5420d5c9ed1ea7382cbd53bdb8f4be
2020-11-30 19:31:32 +03:00
..
a.out-core.h
a.out.h
agp.h
agp_backend.h
asm-offsets.h
atomic.h Redefine ATOMIC_INIT and ATOMIC64_INIT to drop the casts 2012-10-02 10:29:55 -07:00
auxvec.h
barrier.h
bitops.h
bitsperlong.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
cmpxchg.h alpha: fix build failures from system.h dismemberment 2012-04-13 13:15:16 -04:00
compiler.h
console.h
core_apecs.h
core_cia.h
core_irongate.h
core_lca.h
core_marvel.h
core_mcpcia.h
core_polaris.h
core_t2.h
core_titan.h
core_tsunami.h
core_wildfire.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
elf.h
emergency-restart.h
err_common.h
err_ev6.h
err_ev7.h
errno.h
exec.h
fb.h
fcntl.h Safer ABI for O_TMPFILE 2018-12-07 22:28:48 +04:00
floppy.h
fpu.h alpha: fix fpu.h usage in userspace 2012-09-14 10:00:06 -07:00
ftrace.h
futex.h
gct.h
gentrap.h
gpio.h
hardirq.h
hw_irq.h
hwrpb.h
io.h alpha: add io{read,write}{16,32}be functions 2014-09-25 11:49:19 +08:00
io_trivial.h
ioctl.h
ioctls.h
ipcbuf.h
irq.h
irq_regs.h
irqflags.h
jensen.h
Kbuild
kdebug.h
kmap_types.h
linkage.h
local.h
local64.h
machvec.h
mc146818rtc.h
mce.h
mman.h
mmu.h
mmu_context.h
mmzone.h
module.h
msgbuf.h
mutex.h
page.h
pal.h
param.h
parport.h
pci.h
percpu.h
perf_event.h
pgalloc.h
pgtable.h
poll.h
posix_types.h
processor.h
ptrace.h
reg.h
regdef.h
resource.h
rtc.h alpha: properly define get/set_rtc_time on Marvel/SMP 2012-05-02 15:54:05 -04:00
rwsem.h
scatterlist.h
sections.h
segment.h
sembuf.h
serial.h
setup.h
sfp-machine.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h net: introduce SO_MAX_PACING_RATE 2020-11-30 19:31:32 +03:00
sockios.h
special_insns.h
spinlock.h
spinlock_types.h
stat.h
statfs.h
string.h
swab.h
switch_to.h
sysinfo.h
termbits.h
termios.h
thread_info.h
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h
user.h
vga.h
wrperfmon.h
xchg.h alpha: fix build failures from system.h dismemberment 2012-04-13 13:15:16 -04:00
xor.h