Alexander Aring
b5af9bdbfe
6lowpan: rework tc and flow label handling
...
This patch reworks the handling of compression/decompression of traffic
class and flow label handling. The current method is hard to understand,
also doesn't checks if we can read the buffer from skb length.
I tried to put the shifting operations into static inline functions and
comment each steps which I did there to make it hopefully somewhat more
readable. The big mess to deal with that is the that the ipv6 header
bring the order "DSCP + ECN" but iphc uses "ECN + DSCP". Additional the
DCSP + ECN bits are splitted in ipv6_hdr inside the priority and
flow_lbl[0] fields.
I tested these compressions by using fakelb 802.15.4 driver and
manipulate the tc and flow label fields manually in function
"__ip6_local_out" before the skb will be send to lower layers. Then I
looked up the tc and flow label fields in wireshark on a wpan and lowpan
interface.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-10-21 00:49:25 +02:00
..
6lowpan
6lowpan: rework tc and flow label handling
2015-10-21 00:49:25 +02:00
9p
802
8021q
appletalk
atm
atm: deal with setting entry before mkip was called
2015-09-17 22:13:32 -07:00
ax25
batman-adv
bluetooth
6lowpan: cleanup lowpan_header_decompress
2015-10-21 00:49:24 +02:00
bridge
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2015-10-17 14:28:03 +02:00
caif
can
can: avoid using timeval for uapi
2015-10-13 17:42:34 +02:00
ceph
rbd: use writefull op for object size writes
2015-10-16 16:49:01 +02:00
core
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2015-10-20 06:08:27 -07:00
dcb
net/dcb: make dcbnl.c explicitly non-modular
2015-10-09 07:52:27 -07:00
dccp
tcp/dccp: add inet_csk_reqsk_queue_drop_and_put() helper
2015-10-16 00:52:18 -07:00
decnet
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2015-10-17 14:28:03 +02:00
dns_resolver
dsa
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2015-10-20 06:08:27 -07:00
ethernet
net: help compiler generate better code in eth_get_headlen
2015-09-28 22:51:15 -07:00
hsr
ieee802154
6lowpan: remove lowpan_is_addr_broadcast
2015-10-21 00:49:25 +02:00
ipv4
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2015-10-20 06:08:27 -07:00
ipv6
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2015-10-20 06:08:27 -07:00
ipx
irda
iucv
s390/iucv: do not use arrays as argument
2015-09-21 16:03:04 -07:00
key
l2tp
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2015-10-02 07:21:25 -07:00
l3mdev
net: Add netif_is_l3_slave
2015-10-07 04:27:43 -07:00
lapb
llc
mac80211
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2015-10-20 06:08:27 -07:00
mac802154
mac802154: llsec: use kzfree
2015-10-21 00:49:24 +02:00
mpls
dst: Pass net into dst->output
2015-10-08 04:27:03 -07:00
netfilter
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2015-10-17 14:28:03 +02:00
netlabel
netlink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2015-10-20 06:08:27 -07:00
netrom
nfc
openvswitch
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2015-10-20 06:08:27 -07:00
packet
ipv4: Pass struct net into ip_defrag and ip_check_defrag
2015-10-12 19:44:16 -07:00
phonet
rds
RDS: fix rds-ping deadlock over TCP transport
2015-10-18 22:45:55 -07:00
rfkill
rose
rxrpc
rxrpc: Replace get_seconds with ktime_get_seconds
2015-09-20 21:53:56 -07:00
sched
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2015-10-20 06:08:27 -07:00
sctp
net: sctp: avoid incorrect time_t use
2015-10-05 03:16:48 -07:00
sunrpc
Changes for 4.3-rc5
2015-10-15 13:44:35 -07:00
switchdev
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2015-10-20 06:08:27 -07:00
tipc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2015-10-20 06:08:27 -07:00
unix
net/unix: fix logic about sk_peek_offset
2015-10-05 06:33:09 -07:00
vmw_vsock
wimax
wireless
For the current cycle, we have the following right now:
2015-10-07 04:29:18 -07:00
x25
xfrm
dst: Pass net into dst->output
2015-10-08 04:27:03 -07:00
compat.c
Kconfig
net: Introduce L3 Master device abstraction
2015-09-29 20:40:32 -07:00
Makefile
net: Introduce L3 Master device abstraction
2015-09-29 20:40:32 -07:00
socket.c
sysctl_net.c