Lines Matching defs:unit
93 if (request->client->unit != 0) {
94 memcpy(&client, request->client->unit->addr.buf,
96 request->client->unit->addr.buf));
100 if (request->server->unit != 0) {
101 memcpy(&server, request->server->unit->addr.buf,
103 request->server->unit->addr.buf));
123 if (request->client->unit != 0)
124 t_free((char *) request->client->unit, T_UNITDATA);
125 if (request->server->unit != 0)
126 t_free((char *) request->server->unit, T_UNITDATA);
141 * at the sender address of the pending protocol data unit without
164 request->client->unit = client;
180 request->server->unit = server;
239 struct t_unitdata *unit = host->unit;
242 if (config != 0 && unit != 0
243 && (uaddr = taddr2uaddr(config, &unit->addr)) != 0) {
256 struct t_unitdata *unit = host->unit;
259 if (config != 0 && unit != 0
260 && netdir_getbyaddr(config, &servlist, &unit->addr) == ND_OK) {
343 struct t_unitdata *unit;
353 if ((unit = (struct t_unitdata *) t_alloc(fd, T_UNITDATA, T_ALL)) == 0) {
357 (void) t_rcvudata(fd, unit, &flags);
358 t_free((void *) unit, T_UNITDATA);