linux/include/net/ipv6_frag.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _IPV6_FRAG_H
#define _IPV6_FRAG_H
#include <linux/icmpv6.h>
#include <linux/kernel.h>
#include <net/addrconf.h>
#include <net/ipv6.h>
#include <net/inet_frag.h>

enum ip6_defrag_users {};

/*
 *	Equivalent of ipv4 struct ip
 */
struct frag_queue {};

#if IS_ENABLED(CONFIG_IPV6)
static inline void ip6frag_init(struct inet_frag_queue *q, const void *a)
{}

static inline u32 ip6frag_key_hashfn(const void *data, u32 len, u32 seed)
{}

static inline u32 ip6frag_obj_hashfn(const void *data, u32 len, u32 seed)
{}

static inline int
ip6frag_obj_cmpfn(struct rhashtable_compare_arg *arg, const void *ptr)
{}

static inline void
ip6frag_expire_frag_queue(struct net *net, struct frag_queue *fq)
{}

/* Check if the upper layer header is truncated in the first fragment. */
static inline bool
ipv6frag_thdr_truncated(struct sk_buff *skb, int start, u8 *nexthdrp)
{}

#endif
#endif