// SPDX-License-Identifier: GPL-2.0-or-later /* * History * 03-01-2007 Added forwarding for x.25 Andrew Hendry */ #define pr_fmt(fmt) … #include <linux/if_arp.h> #include <linux/init.h> #include <linux/slab.h> #include <net/x25.h> LIST_HEAD(…); DEFINE_RWLOCK(…); int x25_forward_call(struct x25_address *dest_addr, struct x25_neigh *from, struct sk_buff *skb, int lci) { … } int x25_forward_data(int lci, struct x25_neigh *from, struct sk_buff *skb) { … } void x25_clear_forward_by_lci(unsigned int lci) { … } void x25_clear_forward_by_dev(struct net_device *dev) { … }