blob: f16bb8264c9e4b5c86b249203e8f21b55297c5a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef H_LOADER_NET
#define H_LOADER_NET
#include "pump/pump.h"
struct networkDeviceConfig {
struct pumpNetIntf dev;
int isDynamic;
};
int readNetConfig(char * device, struct networkDeviceConfig * dev,
int flags);
int configureNetwork(struct networkDeviceConfig * dev);
int nfsGetSetup(char ** hostptr, char ** dirptr);
int writeNetInfo(const char * fn, struct networkDeviceConfig * dev);
int findHostAndDomain(struct networkDeviceConfig * dev, int flags);
int writeResolvConf(struct networkDeviceConfig * net);
int kickstartNetwork(char * device, struct networkDeviceConfig * netDev,
int flags);
void initLoopback(void);
#endif
|