Lines Matching defs:vreq
69 getvlan(int s, struct ifreq *ifr, struct vlanreq *vreq)
71 bzero((char *)vreq, sizeof(*vreq));
72 ifr->ifr_data = (caddr_t)vreq;
80 struct vlanreq vreq;
82 if (getvlan(s, &ifr, &vreq) != -1)
84 vreq.vlr_tag, vreq.vlr_parent[0] == '\0' ?
85 "<none>" : vreq.vlr_parent);
125 struct vlanreq vreq;
137 if (getvlan(s, &ifr, &vreq) != -1)
144 struct vlanreq vreq;
148 if (getvlan(s, &ifr, &vreq) != -1)
155 struct vlanreq vreq;
157 bzero((char *)&vreq, sizeof(struct vlanreq));
158 ifr.ifr_data = (caddr_t)&vreq;
163 bzero((char *)&vreq.vlr_parent, sizeof(vreq.vlr_parent));
164 vreq.vlr_tag = 0;