Lines Matching refs:atm_vcc

92 struct atm_vcc {  struct
104 void (*release_cb)(struct atm_vcc *vcc); /* release_sock callback */ argument
105 void (*push)(struct atm_vcc *vcc,struct sk_buff *skb); argument
106 void (*pop)(struct atm_vcc *vcc,struct sk_buff *skb); /* optional */ argument
107 int (*push_oam)(struct atm_vcc *vcc,void *cell); argument
108 int (*send)(struct atm_vcc *vcc,struct sk_buff *skb); argument
118 struct atm_vcc *session; /* session VCC descriptor */ argument
125 static inline struct atm_vcc *atm_sk(struct sock *sk) in atm_sk() argument
127 return (struct atm_vcc *)sk; in atm_sk()
130 static inline struct atm_vcc *ATM_SD(struct socket *sock) in ATM_SD()
135 static inline struct sock *sk_atm(struct atm_vcc *vcc) in sk_atm()
186 int (*open)(struct atm_vcc *vcc);
187 void (*close)(struct atm_vcc *vcc);
193 int (*getsockopt)(struct atm_vcc *vcc,int level,int optname,
195 int (*setsockopt)(struct atm_vcc *vcc,int level,int optname,
197 int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);
198 int (*send_oam)(struct atm_vcc *vcc,void *cell,int flags);
202 int (*change_qos)(struct atm_vcc *vcc,struct atm_qos *qos,int flags);
215 struct atm_vcc *vcc; /* ATM VCC */
245 static inline void atm_account_tx(struct atm_vcc *vcc, struct sk_buff *skb) in atm_account_tx()
260 static inline void atm_force_charge(struct atm_vcc *vcc,int truesize) in atm_force_charge()
266 static inline void atm_return(struct atm_vcc *vcc,int truesize) in atm_return()
272 static inline int atm_may_send(struct atm_vcc *vcc,unsigned int size) in atm_may_send()
296 int atm_charge(struct atm_vcc *vcc,int truesize);
297 struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc,int pdu_size,
301 void vcc_release_async(struct atm_vcc *vcc, int reply);