Lines Matching refs:self
198 void irlmp_close_lsap( struct lsap_cb *self);
216 void irlmp_connect_indication(struct lsap_cb *self, struct sk_buff *skb);
219 struct lsap_cb *irlmp_dup(struct lsap_cb *self, void *instance);
221 void irlmp_disconnect_indication(struct lsap_cb *self, LM_REASON reason,
245 void irlmp_flow_indication(struct lap_cb *self, LOCAL_FLOW flow);
249 static inline __u32 irlmp_get_saddr(const struct lsap_cb *self) in irlmp_get_saddr() argument
251 return (self && self->lap) ? self->lap->saddr : 0; in irlmp_get_saddr()
254 static inline __u32 irlmp_get_daddr(const struct lsap_cb *self) in irlmp_get_daddr() argument
256 return (self && self->lap) ? self->lap->daddr : 0; in irlmp_get_daddr()
269 static inline int irlmp_lap_tx_queue_full(struct lsap_cb *self) in irlmp_lap_tx_queue_full() argument
271 if (self == NULL) in irlmp_lap_tx_queue_full()
273 if (self->lap == NULL) in irlmp_lap_tx_queue_full()
275 if (self->lap->irlap == NULL) in irlmp_lap_tx_queue_full()
278 return IRLAP_GET_TX_QUEUE_LEN(self->lap->irlap) >= LAP_HIGH_THRESHOLD; in irlmp_lap_tx_queue_full()
286 static inline void irlmp_listen(struct lsap_cb *self) in irlmp_listen() argument
288 self->dlsap_sel = LSAP_ANY; in irlmp_listen()
289 self->lap = NULL; in irlmp_listen()
290 self->lsap_state = LSAP_DISCONNECTED; in irlmp_listen()
292 del_timer(&self->watchdog_timer); in irlmp_listen()