linux/include/linux/if_arp.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * INET		An implementation of the TCP/IP protocol suite for the LINUX
 *		operating system.  INET is implemented using the  BSD Socket
 *		interface as the means of communication with the user level.
 *
 *		Global definitions for the ARP (RFC 826) protocol.
 *
 * Version:	@(#)if_arp.h	1.0.1	04/16/93
 *
 * Authors:	Original taken from Berkeley UNIX 4.3, (c) UCB 1986-1988
 *		Portions taken from the KA9Q/NOS (v2.00m PA0GRI) source.
 *		Ross Biro
 *		Fred N. van Kempen, <[email protected]>
 *		Florian La Roche,
 *		Jonathan Layes <[email protected]>
 *		Arnaldo Carvalho de Melo <[email protected]> ARPHRD_HWX25
 */
#ifndef _LINUX_IF_ARP_H
#define _LINUX_IF_ARP_H

#include <linux/skbuff.h>
#include <uapi/linux/if_arp.h>

static inline struct arphdr *arp_hdr(const struct sk_buff *skb)
{}

static inline unsigned int arp_hdr_len(const struct net_device *dev)
{}

static inline bool dev_is_mac_header_xmit(const struct net_device *dev)
{}

#endif	/* _LINUX_IF_ARP_H */