Lines Matching refs:subcode

135 log_notification(const struct peer *peer, uint8_t errcode, uint8_t subcode,  in log_notification()  argument
151 if (subcode >= sizeof(suberr_header_names) / sizeof(char *) || in log_notification()
152 suberr_header_names[subcode] == NULL) in log_notification()
155 suberrname = suberr_header_names[subcode]; in log_notification()
158 if (subcode >= sizeof(suberr_open_names) / sizeof(char *) || in log_notification()
159 suberr_open_names[subcode] == NULL) in log_notification()
162 suberrname = suberr_open_names[subcode]; in log_notification()
163 if (errcode == ERR_OPEN && subcode == ERR_OPEN_CAPA) { in log_notification()
177 if (subcode >= sizeof(suberr_update_names) / sizeof(char *) || in log_notification()
178 suberr_update_names[subcode] == NULL) in log_notification()
181 suberrname = suberr_update_names[subcode]; in log_notification()
184 if (subcode >= sizeof(suberr_cease_names) / sizeof(char *) || in log_notification()
185 suberr_cease_names[subcode] == NULL) in log_notification()
188 suberrname = suberr_cease_names[subcode]; in log_notification()
190 if (subcode == ERR_CEASE_ADMIN_DOWN || in log_notification()
191 subcode == ERR_CEASE_ADMIN_RESET) { in log_notification()
209 if (subcode != 0) in log_notification()
213 if (subcode >= sizeof(suberr_fsm_names) / sizeof(char *) || in log_notification()
214 suberr_fsm_names[subcode] == NULL) in log_notification()
217 suberrname = suberr_fsm_names[subcode]; in log_notification()
220 if (subcode >= sizeof(suberr_rrefresh_names) / sizeof(char *) || in log_notification()
221 suberr_rrefresh_names[subcode] == NULL) in log_notification()
224 suberrname = suberr_rrefresh_names[subcode]; in log_notification()
228 "%u, subcode %u", p, dir, errcode, subcode); in log_notification()
235 p, dir, errnames[errcode], subcode); in log_notification()