Lines Matching refs:seq

36 static int vlan_seq_show(struct seq_file *seq, void *v);
37 static void *vlan_seq_start(struct seq_file *seq, loff_t *pos);
38 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos);
39 static void vlan_seq_stop(struct seq_file *seq, void *);
40 static int vlandev_seq_show(struct seq_file *seq, void *v);
167 static void *vlan_seq_start(struct seq_file *seq, loff_t *pos) in vlan_seq_start() argument
171 struct net *net = seq_file_net(seq); in vlan_seq_start()
189 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos) in vlan_seq_next() argument
192 struct net *net = seq_file_net(seq); in vlan_seq_next()
210 static void vlan_seq_stop(struct seq_file *seq, void *v) in vlan_seq_stop() argument
216 static int vlan_seq_show(struct seq_file *seq, void *v) in vlan_seq_show() argument
218 struct net *net = seq_file_net(seq); in vlan_seq_show()
224 seq_puts(seq, "VLAN Dev name | VLAN ID\n"); in vlan_seq_show()
229 seq_printf(seq, "Name-Type: %s\n", in vlan_seq_show()
235 seq_printf(seq, "%-15s| %d | %s\n", vlandev->name, in vlan_seq_show()
241 static int vlandev_seq_show(struct seq_file *seq, void *offset) in vlandev_seq_show() argument
243 struct net_device *vlandev = (struct net_device *) seq->private; in vlandev_seq_show()
254 seq_printf(seq, in vlandev_seq_show()
259 seq_printf(seq, fmt64, "total frames received", stats->rx_packets); in vlandev_seq_show()
260 seq_printf(seq, fmt64, "total bytes received", stats->rx_bytes); in vlandev_seq_show()
261 seq_printf(seq, fmt64, "Broadcast/Multicast Rcvd", stats->multicast); in vlandev_seq_show()
262 seq_puts(seq, "\n"); in vlandev_seq_show()
263 seq_printf(seq, fmt64, "total frames transmitted", stats->tx_packets); in vlandev_seq_show()
264 seq_printf(seq, fmt64, "total bytes transmitted", stats->tx_bytes); in vlandev_seq_show()
265 seq_printf(seq, "Device: %s", vlan->real_dev->name); in vlandev_seq_show()
267 seq_printf(seq, "\nINGRESS priority mappings: " in vlandev_seq_show()
278 seq_printf(seq, " EGRESS priority mappings: "); in vlandev_seq_show()
283 seq_printf(seq, "%u:%d ", in vlandev_seq_show()
288 seq_puts(seq, "\n"); in vlandev_seq_show()