Lines Matching defs:code
41 * - Redistributions of source code must retain the above copyright
310 static const char *pf_pptp_ctrl_type_name(u_int16_t code);
646 static const char *pf_pptp_ctrl_type_name(u_int16_t code)
648 code = ntohs(code);
650 if (code < PF_PPTP_CTRL_TYPE_START_REQ ||
651 code > PF_PPTP_CTRL_TYPE_SET_LINKINFO) {
654 sprintf(&reserved[9], "%02x", code);
664 return (name[code - 1]);
2532 pf_send_icmp(struct mbuf *m, u_int8_t type, u_int8_t code, sa_family_t af,
2576 icmp_error(m0, type, code, 0, 0);
2581 icmp6_error(m0, type, code, 0);
4336 else if (r->code && r->code != icmpcode + 1)
5207 else if (r->code &&
5209 r->code != icmpcode + 1))
5400 (r->type || r->code))
6179 * This must be a little more careful than the above code
6182 * flood and so the same code can handle awkward establishment
6185 * validate the connection, go through the normal state code
7719 * Special case code for GMACE