Lines Matching refs:code
23 struct radius_msg *radius_msg_new(u8 code, u8 identifier)
36 radius_msg_set_hdr(msg, code, identifier);
72 void radius_msg_set_hdr(struct radius_msg *msg, u8 code, u8 identifier)
74 msg->hdr->code = code;
96 static const char *radius_code_string(u8 code)
98 switch (code) {
279 printf("RADIUS message: code=%d (%s) identifier=%d length=%d\n",
280 msg->hdr->code, radius_code_string(msg->hdr->code),
340 /* ResponseAuth = MD5(Code+ID+Length+RequestAuth+Attributes+Secret) */
647 /* ResponseAuth = MD5(Code+ID+Length+RequestAuth+Attributes+Secret) */