Lines Matching defs:state
34 enum wan_states state;
67 static void illegal_state_warn( unsigned state, unsigned char firstbyte)
70 "current state %d\n",firstbyte, state );
90 tmp -> state = WAN_UNCONFIGURED;
125 tmp -> state = WAN_UNCONFIGURED;
184 pda -> state = WAN_DISCONNECTED;
195 -> state == WAN_CONNECTED ){
214 = &( ( (ix25_pdata_t*) (cprot->proto_data) ) -> state);
245 = &( ( (ix25_pdata_t*) (cprot->proto_data) ) -> state);
273 enum wan_states *state = &((ix25_pdata_t*)cprot->proto_data)->state;
275 IX25DEBUG("isdn_x25iface_xmit: %s first=%x state=%d\n",
276 MY_DEVNAME(cprot->net_dev), firstbyte, *state);
279 if( *state == WAN_CONNECTED ){
287 illegal_state_warn( *state, firstbyte );
290 if( *state == WAN_DISCONNECTED ){
291 *state = WAN_CONNECTING;
294 /* reset state and notify upper layer about
299 illegal_state_warn( *state, firstbyte );
303 switch ( *state ){
315 *state = WAN_DISCONNECTED;
319 illegal_state_warn( *state, firstbyte );