mirror of
				https://git.proxmox.com/git/mirror_iproute2
				synced 2025-11-04 06:22:48 +00:00 
			
		
		
		
	netdevsim is a new software device for testing kernel APIs without any hardware attached. Allow users to create such devices. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
		
			
				
	
	
		
			17 lines
		
	
	
		
			321 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			321 B
		
	
	
	
		
			C
		
	
	
	
	
	
#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,
 | 
						|
};
 |