mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 09:58:01 +00:00
16 lines
330 B
C
16 lines
330 B
C
#ifndef __LINUX_IF_ARP_WRAPPER_H
|
|
#define __LINUX_IF_ARP_WRAPPER_H 1
|
|
|
|
#include_next <linux/if_arp.h>
|
|
|
|
#ifndef HAVE_SKBUFF_HEADER_HELPERS
|
|
#include <linux/skbuff.h>
|
|
|
|
static inline struct arphdr *arp_hdr(const struct sk_buff *skb)
|
|
{
|
|
return (struct arphdr *)skb_network_header(skb);
|
|
}
|
|
#endif /* !HAVE_SKBUFF_HEADER_HELPERS */
|
|
|
|
#endif
|