added function sock_get_primary_if
FossilOrigin-Name: 093226e0d3f138f2727d4b1d1a03bd2054ac5b7ecf12d8965985d7ca4baf1782
This commit is contained in:
parent
1f06cbd432
commit
ed5d340bc6
@ -53,6 +53,9 @@ extern int sock_getbroadcastaddr(const struct sockaddr * addr,struct sockaddr *
|
||||
extern void sock_addrinit(struct sockaddr *addr,int type);
|
||||
extern int sock_set_dontfrag(int sock,int val);
|
||||
|
||||
|
||||
extern char * sock_get_primary_if(int family);
|
||||
|
||||
/*
|
||||
enum {
|
||||
SOCK_IFADDR_ADDRESS,
|
||||
|
Loading…
Reference in New Issue
Block a user