summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e01a769)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
- union {
- struct sockaddr_in v4;
- struct sockaddr_in6 v6;
- } bound;
} fdinfo;
static fdinfo **table;
static int tablesz;
} fdinfo;
static fdinfo **table;
static int tablesz;
table[fd]=malloc(sizeof(*table[fd]));
if (!table[fd]) goto fail;
table[fd]->af=domain;
table[fd]=malloc(sizeof(*table[fd]));
if (!table[fd]) goto fail;
table[fd]->af=domain;
- table[fd]->bound.v4.sin_family=0;