File: iplink_netdevsim.c

package info (click to toggle)
iproute2 6.19.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,380 kB
  • sloc: ansic: 127,486; sh: 1,363; cpp: 946; makefile: 720; yacc: 421; lex: 145; python: 43
file content (17 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0 */
#include <stdio.h>
#include <stdlib.h>

#include "utils.h"
#include "ip_common.h"

static void netdevsim_print_help(struct link_util *lu,
				 int argc, char **argv, FILE *f)
{
	fprintf(f, "Usage: ... netdevsim\n");
}

struct link_util netdevsim_link_util = {
	.id		= "netdevsim",
	.print_help	= netdevsim_print_help,
};