aboutsummaryrefslogtreecommitdiffstats
path: root/samples/uhid
diff options
context:
space:
mode:
authorAlexey Kodanev <alexey.kodanev@oracle.com>2018-04-19 15:42:30 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-20 11:20:05 -0400
commit5edbea6987b305346a6ba9cf854e148b4ae814f0 (patch)
treea93cc803720429be1ff88eb92b086f9a0b4091dd /samples/uhid
parentgeneve: remove white-space before '#if IS_ENABLED(CONFIG_IPV6)' (diff)
downloadlinux-dev-5edbea6987b305346a6ba9cf854e148b4ae814f0.tar.xz
linux-dev-5edbea6987b305346a6ba9cf854e148b4ae814f0.zip
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 'samples/uhid')
0 files changed, 0 insertions, 0 deletions