tuntap.h | tuntap.h | |||
---|---|---|---|---|
skipping to change at line 63 | skipping to change at line 63 | |||
void tuntap_destroy(struct device *); | void tuntap_destroy(struct device *); | |||
void tuntap_release(struct device *); | void tuntap_release(struct device *); | |||
int tuntap_start(struct device *, int, int); | int tuntap_start(struct device *, int, int); | |||
char *tuntap_get_ifname(struct device *); | char *tuntap_get_ifname(struct device *); | |||
char *tuntap_get_hwaddr(struct device *); | char *tuntap_get_hwaddr(struct device *); | |||
int tuntap_set_hwaddr(struct device *, const char *); | int tuntap_set_hwaddr(struct device *, const char *); | |||
int tuntap_up(struct device *); | int tuntap_up(struct device *); | |||
int tuntap_down(struct device *); | int tuntap_down(struct device *); | |||
int tuntap_get_mtu(struct device *); | int tuntap_get_mtu(struct device *); | |||
int tuntap_set_mtu(struct device *, int); | int tuntap_set_mtu(struct device *, int); | |||
int tuntap_set_ip(struct device *, const char *, const char *); | int tuntap_set_ip(struct device *, const char *, int); | |||
int tuntap_read(struct device *, void *, size_t); | int tuntap_read(struct device *, void *, size_t); | |||
int tuntap_write(struct device *, void *, size_t); | int tuntap_write(struct device *, void *, size_t); | |||
/* OS specific */ | /* OS specific */ | |||
int tuntap_sys_start(struct device *, int, int); | int tuntap_sys_start(struct device *, int, int); | |||
void tuntap_sys_destroy(struct device *); | void tuntap_sys_destroy(struct device *); | |||
int tuntap_sys_set_hwaddr(struct device *, struct ether_addr *) ; | int tuntap_sys_set_hwaddr(struct device *, struct ether_addr *) ; | |||
int tuntap_sys_set_ip(struct device *, unsigned int, unsigned i nt); | int tuntap_sys_set_ip(struct device *, unsigned int, unsigned l ong); | |||
# ifdef __cplusplus | # ifdef __cplusplus | |||
} | } | |||
# endif | # endif | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||