Lines Matching defs:code
57 u8 code;
204 static void ppp_tx_cp(struct net_device *dev, u16 pid, u8 code,
217 if (pid == PID_LCP && (code == LCP_ECHO_REQ || code == LCP_ECHO_REPLY))
228 cp->code = code;
238 BUG_ON(code >= CP_CODES);
246 proto_name(pid), code_names[code], id, debug_buffer);
296 SCN: RCR- must supply code, id, len and data
299 static void ppp_cp_event(struct net_device *dev, u16 pid, u16 event, u8 code,
333 ppp_tx_cp(dev, pid, code, id, len, data);
475 if (cp->code < CP_CODES)
476 sprintf(debug_buffer, "[%s id 0x%X]", code_names[cp->code],
479 sprintf(debug_buffer, "[code %u id 0x%X]", cp->code, cp->id);
491 switch (cp->code) {
516 switch (cp->code) {