Lines Matching refs:vid
44 short vid = -1; in vlan_modify() local
62 vid = atoi(*argv); in vlan_modify()
66 vid = atoi(*argv); in vlan_modify()
83 if (d == NULL || vid == -1) { in vlan_modify()
94 if (vid >= 4096) { in vlan_modify()
95 fprintf(stderr, "Invalid VLAN ID \"%hu\"\n", vid); in vlan_modify()
100 if (vid_end == -1 || vid_end >= 4096 || vid >= vid_end) { in vlan_modify()
102 vid, vid_end); in vlan_modify()
117 vinfo.vid = vid; in vlan_modify()
126 vinfo.vid = vid_end; in vlan_modify()
152 if (filter_vlan && vinfo->vid > filter_vlan && in filter_vlan_check()
156 vinfo->vid < filter_vlan) in filter_vlan_check()
239 if (filter_vlan && filter_vlan != vstats->vid) in print_one_vlan_stats()
250 fprintf(fp, "%-16s %hu", ifname, vstats->vid); in print_one_vlan_stats()
425 last_vid_start = vinfo->vid; in print_vlan_info()
443 if (last_vid_start != vinfo->vid) { in print_vlan_info()
446 vinfo->vid); in print_vlan_info()
448 fprintf(fp, "-%hu", vinfo->vid); in print_vlan_info()