Lines Matching refs:seq

39 static int vlan_seq_show(struct seq_file *seq, void *v);
40 static void *vlan_seq_start(struct seq_file *seq, loff_t *pos);
41 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos);
42 static void vlan_seq_stop(struct seq_file *seq, void *);
43 static int vlandev_seq_show(struct seq_file *seq, void *v);
202 static void *vlan_seq_start(struct seq_file *seq, loff_t *pos) in vlan_seq_start() argument
206 struct net *net = seq_file_net(seq); in vlan_seq_start()
224 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos) in vlan_seq_next() argument
227 struct net *net = seq_file_net(seq); in vlan_seq_next()
245 static void vlan_seq_stop(struct seq_file *seq, void *v) in vlan_seq_stop() argument
251 static int vlan_seq_show(struct seq_file *seq, void *v) in vlan_seq_show() argument
253 struct net *net = seq_file_net(seq); in vlan_seq_show()
259 seq_puts(seq, "VLAN Dev name | VLAN ID\n"); in vlan_seq_show()
264 seq_printf(seq, "Name-Type: %s\n", in vlan_seq_show()
270 seq_printf(seq, "%-15s| %d | %s\n", vlandev->name, in vlan_seq_show()
276 static int vlandev_seq_show(struct seq_file *seq, void *offset) in vlandev_seq_show() argument
278 struct net_device *vlandev = (struct net_device *) seq->private; in vlandev_seq_show()
289 seq_printf(seq, in vlandev_seq_show()
294 seq_printf(seq, fmt64, "total frames received", stats->rx_packets); in vlandev_seq_show()
295 seq_printf(seq, fmt64, "total bytes received", stats->rx_bytes); in vlandev_seq_show()
296 seq_printf(seq, fmt64, "Broadcast/Multicast Rcvd", stats->multicast); in vlandev_seq_show()
297 seq_puts(seq, "\n"); in vlandev_seq_show()
298 seq_printf(seq, fmt64, "total frames transmitted", stats->tx_packets); in vlandev_seq_show()
299 seq_printf(seq, fmt64, "total bytes transmitted", stats->tx_bytes); in vlandev_seq_show()
300 seq_printf(seq, "Device: %s", vlan->real_dev->name); in vlandev_seq_show()
302 seq_printf(seq, "\nINGRESS priority mappings: " in vlandev_seq_show()
313 seq_printf(seq, " EGRESS priority mappings: "); in vlandev_seq_show()
318 seq_printf(seq, "%u:%hu ", in vlandev_seq_show()
323 seq_puts(seq, "\n"); in vlandev_seq_show()