Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_pfsync.h
Context not available. | |||||
int pfsyncr_defer; | int pfsyncr_defer; | ||||
}; | }; | ||||
kp: It looks like we're (going to be) changing the size of struct pfsyncreq here. Have you thought… | |||||
Not Done Inline ActionsI did not. Not on purpose, but because I made the change without being aware of the implications. Should we resort to having one pfsyncreq struct per AF? We would then need to find another way to figure out the AF being used, as the current code relies on the sockaddr in pfsync_sockaddr. email_luiz.eng.br: I did not. Not on purpose, but because I made the change without being aware of the… | |||||
struct pfsync_kstatus { | |||||
char syncdev[IFNAMSIZ]; | |||||
struct sockaddr_storage syncpeer; | |||||
int maxupdates; | |||||
int flags; | |||||
}; | |||||
struct pfsyncioc_nv { | |||||
void *data; | |||||
size_t len; /* The length of the nvlist data. */ | |||||
size_t size; /* The total size of the data buffer. */ | |||||
}; | |||||
#define SIOCSETPFSYNC _IOW('i', 247, struct ifreq) | #define SIOCSETPFSYNC _IOW('i', 247, struct ifreq) | ||||
#define SIOCGETPFSYNC _IOWR('i', 248, struct ifreq) | #define SIOCGETPFSYNC _IOWR('i', 248, struct ifreq) | ||||
#define SIOCSETPFSYNCNV _IOW('i', 249, struct ifreq) | |||||
#define SIOCGETPFSYNCNV _IOWR('i', 250, struct ifreq) | |||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
Context not available. |
It looks like we're (going to be) changing the size of struct pfsyncreq here. Have you thought about how to cope with the ABI breakage that entails?