EXPORT_SYMBOL_GPL(xtnu_skb_linearize);
#endif
+void *HX_memmem(const void *space, size_t spacesize,
+ const void *point, size_t pointsize)
+{
+ size_t i;
+
+ if (pointsize > spacesize)
+ return NULL;
+ for (i = 0; i <= spacesize - pointsize; ++i)
+ if (memcmp(space + i, point, pointsize) == 0)
+ return (void *)space + i;
+ return NULL;
+}
+EXPORT_SYMBOL_GPL(HX_memmem);
+
MODULE_LICENSE("GPL");
__be32, __be32, bool);
extern int xtnu_skb_linearize(struct sk_buff *);
+extern void *HX_memmem(const void *, size_t, const void *, size_t);
+
#endif /* _COMPAT_XTNU_H */