Lines Matching defs:resp
1952 struct tr_resp *resp;
2096 resp = (struct tr_resp *)p - 1;
2097 resp->tr_rflags = TR_NO_SPACE;
2105 resp = (struct tr_resp *)p;
2106 bzero(resp, sizeof(struct tr_resp));
2109 resp->tr_qarr = htonl((tp.tv_sec + JAN_1970) << 16) +
2112 resp->tr_rproto = PROTO_DVMRP;
2114 resp->tr_rflags = errcode;
2118 resp->tr_outaddr = uvifs[vifi].uv_lcl_addr;
2119 resp->tr_fttl = uvifs[vifi].uv_threshold;
2120 resp->tr_rflags = TR_NO_ERR;
2127 resp->tr_vifout = htonl(v_req.ocount);
2144 resp->tr_pktcnt = htonl(sg_req.pktcnt);
2147 resp->tr_rflags = TR_SCOPED;
2149 resp->tr_rflags = TR_PRUNED;
2153 resp->tr_rflags = TR_OPRUNED;
2155 resp->tr_rflags = TR_NO_FWD;
2159 resp->tr_rflags = TR_SCOPED;
2161 resp->tr_rflags = TR_NO_FWD;
2168 src = dst; /* the dst address of resp. pkt */
2169 resp->tr_inaddr = 0;
2170 resp->tr_rflags = TR_NO_RTE;
2171 resp->tr_rmtaddr = 0;
2176 resp->tr_vifin = htonl(v_req.icount);
2178 MASK_TO_VAL(rt->rt_originmask, resp->tr_smask);
2180 resp->tr_inaddr = src;
2181 resp->tr_rmtaddr = rt->rt_gateway;
2187 resp->tr_rflags = TR_WRONG_IF;
2190 resp->tr_rflags = TR_NO_RTE;
2210 resp->tr_rflags = TR_OLD_ROUTER;