Lines Matching refs:msg
124 char msg[Maxstring]; in tcpilprobe() local
128 n = snprint(msg, sizeof msg, "connect %s", dest); in tcpilprobe()
130 n = write(cfd, msg, n); in tcpilprobe()
143 char msg[Maxstring]; in udpprobe() local
147 n = snprint(msg, sizeof msg, "connect %s", dest); in udpprobe()
148 if(write(cfd, msg, n)< 0) in udpprobe()
162 n = read(dfd, msg, sizeof(msg)-1); in udpprobe()
188 char buf[512], err[Maxstring], msg[Maxstring]; in icmpprobe() local
192 n = snprint(msg, sizeof msg, "connect %s", dest); in icmpprobe()
193 if(write(cfd, msg, n)< 0) in icmpprobe()
235 catch(void *a, char *msg) in catch() argument
238 if(strstr(msg, "alarm")) in catch()
248 char msg[Maxstring]; in call() local
266 n = read(cfd, msg, sizeof(msg)-1); in call()
269 msg[n] = 0; in call()
272 sprint(file, "%s/%s/%s/data", ds->netdir, ds->proto, msg); in call()