![]() ![]() | ![]() |
version 1.13, 2016/08/02 12:03:56 | version 1.14, 2017/01/09 12:53:18 |
---|---|
Line 60 typedef union { | Line 60 typedef union { |
struct sockaddr_in6 sin6; | struct sockaddr_in6 sin6; |
#ifndef __linux__ | #ifndef __linux__ |
struct sockaddr_dl sdl; | struct sockaddr_dl sdl; |
#else | |
struct sockaddr_ll sll; | |
#endif | #endif |
} sockaddr_t; | } sockaddr_t; |
#define E_SOCKADDR_INIT { .ss = { 0 } } | #define E_SOCKADDR_INIT { .ss = { 0 } } |