Lines Matching defs:unit
89 if (request->client->unit != 0) {
90 memcpy(&client, request->client->unit->addr.buf,
92 request->client->unit->addr.buf));
96 if (request->server->unit != 0) {
97 memcpy(&server, request->server->unit->addr.buf,
99 request->server->unit->addr.buf));
119 if (request->client->unit != 0)
120 t_free((char *) request->client->unit, T_UNITDATA);
121 if (request->server->unit != 0)
122 t_free((char *) request->server->unit, T_UNITDATA);
137 * at the sender address of the pending protocol data unit without
160 request->client->unit = client;
176 request->server->unit = server;
235 struct t_unitdata *unit = host->unit;
238 if (config != 0 && unit != 0
239 && (uaddr = taddr2uaddr(config, &unit->addr)) != 0) {
252 struct t_unitdata *unit = host->unit;
255 if (config != 0 && unit != 0
256 && netdir_getbyaddr(config, &servlist, &unit->addr) == ND_OK) {
335 struct t_unitdata *unit;
345 if ((unit = (struct t_unitdata *) t_alloc(fd, T_UNITDATA, T_ALL)) == 0) {
349 (void) t_rcvudata(fd, unit, &flags);
350 t_free((void *) unit, T_UNITDATA);