MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sppp_state_name

Function sppp_state_name

freebsd/net/if_spppsubr.c:5318–5334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5316#endif
5317
5318static const char *
5319sppp_state_name(int state)
5320{
5321 switch (state) {
5322 case STATE_INITIAL: return "initial";
5323 case STATE_STARTING: return "starting";
5324 case STATE_CLOSED: return "closed";
5325 case STATE_STOPPED: return "stopped";
5326 case STATE_CLOSING: return "closing";
5327 case STATE_STOPPING: return "stopping";
5328 case STATE_REQ_SENT: return "req-sent";
5329 case STATE_ACK_RCVD: return "ack-rcvd";
5330 case STATE_ACK_SENT: return "ack-sent";
5331 case STATE_OPENED: return "opened";
5332 }
5333 return "illegal";
5334}
5335
5336static const char *
5337sppp_phase_name(enum ppp_phase phase)

Callers 10

sppp_cp_inputFunction · 0.85
sppp_up_eventFunction · 0.85
sppp_down_eventFunction · 0.85
sppp_open_eventFunction · 0.85
sppp_close_eventFunction · 0.85
sppp_to_eventFunction · 0.85
sppp_chap_inputFunction · 0.85
sppp_chap_TOFunction · 0.85
sppp_pap_inputFunction · 0.85
sppp_pap_TOFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected