alloc_netdev(9)

NAME

alloc_netdev - allocate network device

SYNOPSIS

struct net_device *  alloc_netdev(int  sizeof_priv,  const
char * name, void (*setup) (struct net_device *));

ARGUMENTS

sizeof_priv
size of private data to allocate space for
name
device name format string
setup
callback to initialize device

DESCRIPTION

Allocates a struct net_device with private data area for
driver use and performs basic initialization.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout