File: iplink_team.c

package info (click to toggle)
iproute2 5.10.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,880 kB
  • sloc: ansic: 107,211; sh: 1,338; cpp: 932; makefile: 654; yacc: 421; lex: 145
file content (26 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* SPDX-License-Identifier: GPL-2.0 */
#include <stdio.h>
#include <stdlib.h>

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

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

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

struct link_util team_link_util = {
	.id		= "team",
	.print_help	= team_print_help,
}, team_slave_link_util = {
	.id		= "team_slave",
	.print_help	= team_slave_print_help,
};