linux/net/ieee802154/header_ops.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2014 Fraunhofer ITWM
 *
 * Written by:
 * Phoebe Buckheister <[email protected]>
 */

#include <linux/ieee802154.h>

#include <net/mac802154.h>
#include <net/ieee802154_netdev.h>

static int
ieee802154_hdr_push_addr(u8 *buf, const struct ieee802154_addr *addr,
			 bool omit_pan)
{}

static int
ieee802154_hdr_push_sechdr(u8 *buf, const struct ieee802154_sechdr *hdr)
{}

int
ieee802154_hdr_push(struct sk_buff *skb, struct ieee802154_hdr *hdr)
{}
EXPORT_SYMBOL_GPL();

int ieee802154_mac_cmd_push(struct sk_buff *skb, void *f,
			    const void *pl, unsigned int pl_len)
{}
EXPORT_SYMBOL_GPL();

int ieee802154_beacon_push(struct sk_buff *skb,
			   struct ieee802154_beacon_frame *beacon)
{}
EXPORT_SYMBOL_GPL();

static int
ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
			struct ieee802154_addr *addr)
{}

static int ieee802154_hdr_addr_len(int mode, bool omit_pan)
{}

static int
ieee802154_hdr_get_sechdr(const u8 *buf, struct ieee802154_sechdr *hdr)
{}

static int ieee802154_sechdr_lengths[4] =;

static int ieee802154_hdr_sechdr_len(u8 sc)
{}

static int ieee802154_hdr_minlen(const struct ieee802154_hdr *hdr)
{}

static int
ieee802154_hdr_get_addrs(const u8 *buf, struct ieee802154_hdr *hdr)
{}

int
ieee802154_hdr_pull(struct sk_buff *skb, struct ieee802154_hdr *hdr)
{}
EXPORT_SYMBOL_GPL();

int ieee802154_mac_cmd_pl_pull(struct sk_buff *skb,
			       struct ieee802154_mac_cmd_pl *mac_pl)
{}
EXPORT_SYMBOL_GPL();

int
ieee802154_hdr_peek_addrs(const struct sk_buff *skb, struct ieee802154_hdr *hdr)
{}
EXPORT_SYMBOL_GPL();

int
ieee802154_hdr_peek(const struct sk_buff *skb, struct ieee802154_hdr *hdr)
{}
EXPORT_SYMBOL_GPL();

int ieee802154_max_payload(const struct ieee802154_hdr *hdr)
{}
EXPORT_SYMBOL_GPL();