![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _X25DEVICE_H 0003 #define _X25DEVICE_H 0004 0005 #include <linux/if_ether.h> 0006 #include <linux/if_packet.h> 0007 #include <linux/if_x25.h> 0008 #include <linux/skbuff.h> 0009 0010 static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev) 0011 { 0012 skb->dev = dev; 0013 skb_reset_mac_header(skb); 0014 skb->pkt_type = PACKET_HOST; 0015 0016 return htons(ETH_P_X25); 0017 } 0018 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |