diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/llc_conn.h | 10 | ||||
| -rw-r--r-- | include/net/llc_mac.h | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/include/net/llc_conn.h b/include/net/llc_conn.h index 3cefd5ce2642..202ee73ad2be 100644 --- a/include/net/llc_conn.h +++ b/include/net/llc_conn.h @@ -69,6 +69,16 @@ struct llc_opt { #define llc_sk(__sk) ((struct llc_opt *)(__sk)->sk_protinfo) +static __inline__ void llc_set_backlog_type(struct sk_buff *skb, char type) +{ + skb->cb[sizeof(skb->cb) - 1] = type; +} + +static __inline__ char llc_backlog_type(struct sk_buff *skb) +{ + return skb->cb[sizeof(skb->cb) - 1]; +} + extern struct sock *llc_sk_alloc(int family, int priority); extern void llc_sk_free(struct sock *sk); diff --git a/include/net/llc_mac.h b/include/net/llc_mac.h index c078f2153988..ec4ebb4e6dc1 100644 --- a/include/net/llc_mac.h +++ b/include/net/llc_mac.h @@ -19,14 +19,4 @@ extern int llc_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt); extern u16 lan_hdrs_init(struct sk_buff *skb, u8 *sa, u8 *da); - -static __inline__ void llc_set_backlog_type(struct sk_buff *skb, char type) -{ - skb->cb[sizeof(skb->cb) - 1] = type; -} - -static __inline__ char llc_backlog_type(struct sk_buff *skb) -{ - return skb->cb[sizeof(skb->cb) - 1]; -} #endif /* LLC_MAC_H */ |
