Lines Matching refs:cmdl
28 struct cmdl *cmdl, void *data) in cmd_peer_rm_addr() argument
35 if ((cmdl->argc != cmdl->optind + 1) || help_flag) { in cmd_peer_rm_addr()
37 cmdl->argv[0]); in cmd_peer_rm_addr()
41 str = shift_cmdl(cmdl); in cmd_peer_rm_addr()
58 static void cmd_peer_rm_help(struct cmdl *cmdl) in cmd_peer_rm_help() argument
61 cmdl->argv[0]); in cmd_peer_rm_help()
65 struct cmdl *cmdl, void *data) in cmd_peer_rm() argument
72 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_peer_rm()
75 void cmd_peer_help(struct cmdl *cmdl) in cmd_peer_help() argument
81 cmdl->argv[0]); in cmd_peer_help()
84 int cmd_peer(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, in cmd_peer() argument
92 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_peer()