mirror of
https://repo.or.cz/socat.git
synced 2025-07-15 15:43:24 +00:00
New option retrieve-vlan (experimental)
This commit is contained in:
parent
11d1e9e11f
commit
b5640dd707
24 changed files with 273 additions and 55 deletions
14
xio-ip.c
14
xio-ip.c
|
@ -475,11 +475,15 @@ int xiogetaddrinfo(const char *node, const char *service,
|
|||
Returns STAT_OK on success
|
||||
Returns STAT_WARNING if a buffer was too short and data truncated.
|
||||
*/
|
||||
int xiolog_ancillary_ip(struct cmsghdr *cmsg, int *num,
|
||||
char *typbuff, int typlen,
|
||||
char *nambuff, int namlen,
|
||||
char *envbuff, int envlen,
|
||||
char *valbuff, int vallen) {
|
||||
int xiolog_ancillary_ip(
|
||||
struct single *sfd,
|
||||
struct cmsghdr *cmsg,
|
||||
int *num,
|
||||
char *typbuff, int typlen,
|
||||
char *nambuff, int namlen,
|
||||
char *envbuff, int envlen,
|
||||
char *valbuff, int vallen)
|
||||
{
|
||||
int cmsgctr = 0;
|
||||
const char *cmsgtype, *cmsgname = NULL, *cmsgenvn = NULL;
|
||||
size_t msglen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue