summaryrefslogtreecommitdiff
path: root/include/net/esp.h
blob: a43be85aedc44594265695e98452ae491b852d83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _NET_ESP_H
#define _NET_ESP_H

#include <linux/skbuff.h>

struct ip_esp_hdr;

static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb)
{
	return (struct ip_esp_hdr *)skb_transport_header(skb);
}

#endif
oad'/>
authorLinus Torvalds <torvalds@linux-foundation.org>2016-11-24 09:40:26 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-11-24 09:40:26 -0800
commite2b6535d47ce223e327de053b804d2e572a98bbc (patch)
tree9fe058979fb2e8c038ed68ac57b5f0901c977e37 /net/kcm
parent18594e9bc4a27e72d7961a7afe4250a502d1538d (diff)
parentd443a0aa3a291e5f78072f2fa464e03bc83fafad (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
Pull HID fixes from Jiri Kosina: - DMA-on-stack fixes for a couple drivers, from Benjamin Tissoires - small memory sanitization fix for sensor-hub driver, from Song Hongyan * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: HID: hid-sensor-hub: clear memory to avoid random data HID: rmi: make transfer buffers DMA capable HID: magicmouse: make transfer buffers DMA capable HID: lg: make transfer buffers DMA capable HID: cp2112: make transfer buffers DMA capable
Diffstat (limited to 'net/kcm')