diff options
| author | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2003-09-16 06:01:48 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2003-09-16 06:01:48 -0300 |
| commit | e58ceb0716f7be77a59852c04eee24bf66ec7098 (patch) | |
| tree | 9790a8a7d395cc16f869c1344073669700ded583 /include | |
| parent | 06f3b6fdcece983da6aa1144bbff0c6adf74c5da (diff) | |
o LLC: move the connection related functions to llc_conn
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 */ |
