Searched refs:name_comm (Results 1 – 4 of 4) sorted by relevance
/dports/security/yersinia/yersinia-8c0d7c5/src/ |
H A D | protocols.c | 95 const char *name_comm, u_int16_t size, init_attribs_t init, in protocol_register() argument 123 strncpy( protocols[proto].name_comm, name_comm, MAX_PROTO_NAME ); in protocol_register() 124 protocols[proto].name_comm[ MAX_PROTO_NAME ] = 0 ; in protocol_register() 299 if (!strcasecmp(protocols[i].name_comm, name)) in protocol_proto2index()
|
H A D | commands.c | 174 … fail = term_vty_tab_subst(node, warray->word[warray->indx], protocols[proto].name_comm); in command_main() 275 … snprintf(msg,sizeof(msg)," %-10s %s %s\r\n", protocols[k].name_comm,aux_comm[i].help, in command_list_help() 363 … if ( protocols[k].visible && !strncmp( protocols[k].name_comm, word, strlen( word ) ) ) in command_list_help2() 368 …snprintf(msg,sizeof(msg)," %-10s %s %s\r\n", protocols[k].name_comm,aux_comm[i].help, protocols[k… in command_list_help2() 372 if (strlen(word) == strlen(protocols[k].name_comm)) in command_list_help2() 659 … snprintf(msg,sizeof(msg)," all All %s running attacks\r\n", protocols[proto].name_comm); in command_cancel_proto() 663 …(msg,sizeof(msg)," <0-%d> %s attack id\r\n", (MAX_THREAD_ATTACK-1),protocols[proto].name_comm); in command_cancel_proto()
|
H A D | protocols.h | 179 char name_comm[MAX_PROTO_NAME + 1]; /* Protocol name for CLI interface */ member
|
H A D | parser.c | 389 printf(" %s",protocols[i].name_comm); in parser_help() 393 printf(", %s", protocols[i].name_comm); in parser_help() 1557 write_log(2,"\nUsage: %s %s [-h -M] [-attack id] ", PACKAGE,protocols[proto].name_comm); in parser_cl_proto_help()
|