Lines Matching refs:vid
34 short vid = -1; in vlan_modify() local
59 vid = atoi(*argv); in vlan_modify()
63 vid = atoi(*argv); in vlan_modify()
81 if (d == NULL || vid == -1) { in vlan_modify()
92 if (vid >= 4096) { in vlan_modify()
93 fprintf(stderr, "Invalid VLAN ID \"%hu\"\n", vid); in vlan_modify()
98 if (vid_end == -1 || vid_end >= 4096 || vid >= vid_end) { in vlan_modify()
100 vid, vid_end); in vlan_modify()
115 vinfo.vid = vid; in vlan_modify()
124 vinfo.vid = vid_end; in vlan_modify()
186 fprintf(fp, "-%hu", vinfo->vid); in print_vlan()
188 fprintf(fp, "\t %hu", vinfo->vid); in print_vlan()