net: consolidate NetClientState header files into one
This patch doesn't seem much useful alone, I must admit. However, it makes sense as part of the upcoming directory reorganization, where I want to have include/net/tap.h as the net<->hw interface for tap. Then having both net/tap.h and include/net/tap.h does not work. "Fixed" by moving all the init functions to a single header file net/clients.h. The patch also adopts a uniform style for including net/*.h files from net/*.c, without the net/ path. Signed-off-by:Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Stefan Hajnoczi <stefanha@gmail.com>
Showing
- net.c 4 additions, 7 deletionsnet.c
- net/clients.h 25 additions, 3 deletionsnet/clients.h
- net/dump.c 1 addition, 1 deletionnet/dump.c
- net/dump.h 0 additions, 33 deletionsnet/dump.h
- net/hub.c 1 addition, 0 deletionsnet/hub.c
- net/hub.h 0 additions, 2 deletionsnet/hub.h
- net/slirp.c 2 additions, 1 deletionnet/slirp.c
- net/slirp.h 0 additions, 3 deletionsnet/slirp.h
- net/socket.c 1 addition, 2 deletionsnet/socket.c
- net/tap-win32.c 1 addition, 1 deletionnet/tap-win32.c
- net/tap.c 2 additions, 1 deletionnet/tap.c
- net/tap.h 0 additions, 6 deletionsnet/tap.h
- net/vde.c 1 addition, 2 deletionsnet/vde.c
- net/vde.h 0 additions, 37 deletionsnet/vde.h
Loading
Please register or sign in to comment