Lines Matching defs:udp
37 struct udpaddr udp;
39 if (read(fd, &udp, sizeof(udp)) != sizeof(udp))
41 messagef((state->id, NiL, -1, "from: %d: udp header read error", fd));
46 addr->addr[0] = udp.host;
47 addr->addr[1] = udp.port;
50 if ((n = read(fd, buf, siz)) < 0) messagef((state->id, NiL, -1, "from: %d: udp data read error", fd));
51 else messagef((state->id, NiL, -8, "from(%d,*,%d) = %d, data = `%-.*s', addr = %s, port = %u", fd, siz, n, n, buf, csntoa(state, udp.host), udp.port));
79 messagef((state->id, NiL, -1, "from: %d: udp read not supported", fd));