Lines Matching refs:source

84 	char source[FILENAME_MAX];  member
93 static void cmd_dump_rights(int fd, int rights, u_int8_t *cmd, const char * source);
94 static void cmd_dump_mcons(int fd, int rights, u_int8_t *cmd, const char * source);
95 static void cmd_reread_cfg(int fd, int rights, u_int8_t *cmd, const char * source);
96 static void cmd_hangup(int fd, int rights, u_int8_t *cmd, const char * source);
99 static void hangup_channel(int controller, int channel, const char *source);
512 char source[FILENAME_MAX]; in monitor_handle_input() local
514 strlcpy(source, con->source, sizeof(source)); in monitor_handle_input()
517 logit(LL_DMN, "monitor closed from %s", source ); in monitor_handle_input()
549 char source[FILENAME_MAX]; in monitor_handle_connect() local
557 strlcpy(source, "local", sizeof(source)); in monitor_handle_connect()
571 snprintf(source, sizeof source, "%s (%s)", inet_ntoa(ia.sin_addr), inet_ntoa(ia.sin_addr)); in monitor_handle_connect()
573 snprintf(source, sizeof source, "%s (%s)", hp->h_name, inet_ntoa(ia.sin_addr)); in monitor_handle_connect()
611 logit(LL_MER, "monitor access denied from %s", source); in monitor_handle_connect()
623 strlcpy(con->source, source, sizeof(con->source)); in monitor_handle_connect()
625 logit(LL_DMN, "monitor opened from %s rights 0x%x", source, r_mask); in monitor_handle_connect()
711 cmd_dump_rights(int fd, int r_mask, u_int8_t *cmd, const char *source) in cmd_dump_rights() argument
747 cmd_reread_cfg(int fd, int rights, u_int8_t *cmd, const char * source) in cmd_reread_cfg() argument
756 cmd_hangup(int fd, int rights, u_int8_t *cmd, const char * source) in cmd_hangup() argument
761 hangup_channel(ctrl, channel, source); in cmd_hangup()
768 cmd_dump_mcons(int fd, int rights, u_int8_t *cmd, const char * source) in cmd_dump_mcons() argument
821 typedef void (*cmd_func_t)(int fd, int rights, u_int8_t *cmd, const char *source); in monitor_command()
915 cmd_tab[code].call(fd, rights, cmd, con->source); in monitor_command()
942 hangup_channel(int controller, int channel, const char *source) in hangup_channel() argument
966 logit(LL_CHD, "%05d %s manual disconnect (remote from %s)", cep->cdid, cep->name, source); in hangup_channel()