diff options
author | Alexey Kodanev <alexey.kodanev@oracle.com> | 2018-04-19 15:42:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-20 11:20:05 -0400 |
commit | 5edbea6987b305346a6ba9cf854e148b4ae814f0 (patch) | |
tree | a93cc803720429be1ff88eb92b086f9a0b4091dd /net/sched/cls_basic.c | |
parent | 4c52a889ab8ea7e965dc0ba40968768c5e91972f (diff) |
geneve: cleanup hard coded value for Ethernet header length
Use ETH_HLEN instead and introduce two new macros: GENEVE_IPV4_HLEN
and GENEVE_IPV6_HLEN that include Ethernet header length, corresponded
IP header length and GENEVE_BASE_HLEN.
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions