d6da3511d6
This patch adds a generic infrastructure for policy-based dequeueing of TX packets and provides two policies: * a simple FIFO policy (which is the default) and * a priority based policy (set via socket options). Both policies honour the tx_qlen sysctl for the maximum size of the write queue (can be overridden via socket options). The priority policy uses skb->priority internally to assign an u32 priority identifier, using the same ranking as SO_PRIORITY. The skb->priority field is set to 0 when the packet leaves DCCP. The priority is supplied as ancillary data using cmsg(3), the patch also provides the requisite parsing routines. Signed-off-by: Tomasz Grobelny <tomasz@grobelny.oswiecenia.net> Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
20 lines
514 B
Makefile
20 lines
514 B
Makefile
obj-$(CONFIG_IP_DCCP) += dccp.o dccp_ipv4.o
|
|
|
|
dccp-y := ccid.o feat.o input.o minisocks.o options.o \
|
|
qpolicy.o output.o proto.o timer.o ackvec.o
|
|
|
|
dccp_ipv4-y := ipv4.o
|
|
|
|
# build dccp_ipv6 as module whenever either IPv6 or DCCP is a module
|
|
obj-$(subst y,$(CONFIG_IP_DCCP),$(CONFIG_IPV6)) += dccp_ipv6.o
|
|
dccp_ipv6-y := ipv6.o
|
|
|
|
obj-$(CONFIG_INET_DCCP_DIAG) += dccp_diag.o
|
|
obj-$(CONFIG_NET_DCCPPROBE) += dccp_probe.o
|
|
|
|
dccp-$(CONFIG_SYSCTL) += sysctl.o
|
|
|
|
dccp_diag-y := diag.o
|
|
dccp_probe-y := probe.o
|
|
|
|
obj-y += ccids/
|