5 #include <netinet/in.h>
9 #define PSMB_NEED_WRITE 2
10 #define PSMB_MESSAGE 4
12 #define PSMB_DEFAULT_PORT 5313
13 #define PSMB_DEFAULT_PMTU 1452
16 struct sockaddr_in6 addr;
20 struct _ucaddr peeraddr;
29 void *(*malloc)(size_t size);
30 void (*free)(void *ptr);
31 void *(*realloc)(void *ptr, size_t size);
32 void (*logf)(void *log_priv, int priority, const char *format, ...);
36 struct in6_addr prefix;
37 unsigned char prefixlen;
38 /* subscription set here */
42 #define LOG(ctx, ...) (*ctx->logf)(ctx->log_priv, __VA_ARGS__)