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)
251 return (self && self->lap) ? self->lap->saddr : 0;
254 static inline __u32 irlmp_get_daddr(const struct lsap_cb *self)
256 return (self && self->lap) ? self->lap->daddr : 0;
268 static inline int irlmp_lap_tx_queue_full(struct lsap_cb *self)
270 if (self == NULL)
272 if (self->lap == NULL)
274 if (self->lap->irlap == NULL)
277 return(IRLAP_GET_TX_QUEUE_LEN(self->lap->irlap) >= LAP_HIGH_THRESHOLD);
285 static inline void irlmp_listen(struct lsap_cb *self)
287 self->dlsap_sel = LSAP_ANY;
288 self->lap = NULL;
289 self->lsap_state = LSAP_DISCONNECTED;
291 del_timer(&self->watchdog_timer);