#include <net/if.h>
#include <netinet/in.h>
#include <libmdnsd/mdnsd.h>
#include <libmdnsd/sdtxt.h>
#include "queue.h"
Go to the source code of this file.
◆ IN_LINKLOCAL
◆ IN_LINKLOCALNETNUM
| #define IN_LINKLOCALNETNUM 0xa9fe0000 |
◆ IN_LOOPBACK
| #define IN_LOOPBACK |
( |
|
addr | ) |
((addr & IN_CLASSA_NET) == 0x7f000000) |
◆ IN_ZERONET
| #define IN_ZERONET |
( |
|
addr | ) |
((addr & IN_CLASSA_NET) == 0) |
◆ NELEMS
| #define NELEMS |
( |
|
array | ) |
(sizeof(array) / sizeof((array)[0])) |
From The Practice of Programming, by Kernighan and Pike.
Definition at line 42 of file mdnsd.h.
◆ conf_init()
| int conf_init |
( |
struct iface * |
iface, |
|
|
const char * |
path, |
|
|
const char * |
hostnm |
|
) |
| |
◆ iface_exit()
◆ iface_find()
| struct iface * iface_find |
( |
const char * |
ifname | ) |
|
◆ iface_free()
| void iface_free |
( |
struct iface * |
iface | ) |
|
◆ iface_init()
| void iface_init |
( |
char * |
ifname | ) |
|
◆ iface_iterator()
| struct iface * iface_iterator |
( |
int |
first | ) |
|
◆ mdnsd_conflict()
| void mdnsd_conflict |
( |
char * |
name, |
|
|
int |
type, |
|
|
void * |
arg |
|
) |
| |
◆ pidfile()
| int pidfile |
( |
const char * |
basename | ) |
|
replacement functions for systems that don't have them
◆ strlcpy()
| size_t strlcpy |
( |
char * |
dst, |
|
|
const char * |
src, |
|
|
size_t |
siz |
|
) |
| |