Lines Matching defs:req
746 char *req;
764 req = malloc(req_size);
765 if (req == NULL) {
772 ifc.ifc_buf = req;
776 free(req);
807 free(req);
2753 struct xarpreq req;
2832 BZERO(&req, sizeof (req));
2833 BCOPY(&sin, &req.xarp_pa, sizeof (sin));
2834 req.xarp_ha.sdl_family = AF_LINK;
2836 if (myioctl(s, SIOCGXARP, &req) < 0) {
2840 (void) memcpy(hwaddr, &req.xarp_ha,
2949 struct T_optmgmt_req req;
2951 } req;
2965 req.req.PRIM_type = T_OPTMGMT_REQ;
2966 req.req.OPT_offset = (caddr_t)&req.hdr - (caddr_t)&req;
2967 req.req.OPT_length = sizeof (req.hdr);
2969 req.req.MGMT_flags = T_CURRENT;
2972 req.req.MGMT_flags = T_CHECK;
2975 req.hdr.level = MIB2_IP;
2976 req.hdr.name = 0;
2977 req.hdr.len = 0;
2979 cbuf.buf = (caddr_t)&req;
2980 cbuf.len = sizeof (req);