"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dnsmasq.h" between
dnsmasq-2.81.tar.xz and dnsmasq-2.82.tar.xz

About: Dnsmasq is a lightweight caching DNS forwarder and DHCP server.

dnsmasq.h  (dnsmasq-2.81.tar.xz):dnsmasq.h  (dnsmasq-2.82.tar.xz)
skipping to change at line 572 skipping to change at line 572
struct irec { struct irec {
union mysockaddr addr; union mysockaddr addr;
struct in_addr netmask; /* only valid for IPv4 */ struct in_addr netmask; /* only valid for IPv4 */
int tftp_ok, dhcp_ok, mtu, done, warned, dad, dns_auth, index, multicast_done, found, label; int tftp_ok, dhcp_ok, mtu, done, warned, dad, dns_auth, index, multicast_done, found, label;
char *name; char *name;
struct irec *next; struct irec *next;
}; };
struct listener { struct listener {
int fd, tcpfd, tftpfd, family; int fd, tcpfd, tftpfd, used;
union mysockaddr addr;
struct irec *iface; /* only sometimes valid for non-wildcard */ struct irec *iface; /* only sometimes valid for non-wildcard */
struct listener *next; struct listener *next;
}; };
/* interface and address parms from command line. */ /* interface and address parms from command line. */
struct iname { struct iname {
char *name; char *name;
union mysockaddr addr; union mysockaddr addr;
int used; int used;
struct iname *next; struct iname *next;
skipping to change at line 940 skipping to change at line 941
#define CONTEXT_DEPRECATE (1u<<9) #define CONTEXT_DEPRECATE (1u<<9)
#define CONTEXT_TEMPLATE (1u<<10) /* create contexts using addresses */ #define CONTEXT_TEMPLATE (1u<<10) /* create contexts using addresses */
#define CONTEXT_CONSTRUCTED (1u<<11) #define CONTEXT_CONSTRUCTED (1u<<11)
#define CONTEXT_GC (1u<<12) #define CONTEXT_GC (1u<<12)
#define CONTEXT_RA (1u<<13) #define CONTEXT_RA (1u<<13)
#define CONTEXT_CONF_USED (1u<<14) #define CONTEXT_CONF_USED (1u<<14)
#define CONTEXT_USED (1u<<15) #define CONTEXT_USED (1u<<15)
#define CONTEXT_OLD (1u<<16) #define CONTEXT_OLD (1u<<16)
#define CONTEXT_V6 (1u<<17) #define CONTEXT_V6 (1u<<17)
#define CONTEXT_RA_OFF_LINK (1u<<18) #define CONTEXT_RA_OFF_LINK (1u<<18)
#define CONTEXT_SETLEASE (1u<<19)
struct ping_result { struct ping_result {
struct in_addr addr; struct in_addr addr;
time_t time; time_t time;
unsigned int hash; unsigned int hash;
struct ping_result *next; struct ping_result *next;
}; };
struct tftp_file { struct tftp_file {
int refcount, fd; int refcount, fd;
skipping to change at line 1448 skipping to change at line 1450
int icmp_ping(struct in_addr addr); int icmp_ping(struct in_addr addr);
int delay_dhcp(time_t start, int sec, int fd, uint32_t addr, unsigned short id); int delay_dhcp(time_t start, int sec, int fd, uint32_t addr, unsigned short id);
#endif #endif
void queue_event(int event); void queue_event(int event);
void send_alarm(time_t event, time_t now); void send_alarm(time_t event, time_t now);
void send_event(int fd, int event, int data, char *msg); void send_event(int fd, int event, int data, char *msg);
void clear_cache_and_reload(time_t now); void clear_cache_and_reload(time_t now);
/* netlink.c */ /* netlink.c */
#ifdef HAVE_LINUX_NETWORK #ifdef HAVE_LINUX_NETWORK
void netlink_init(void); char *netlink_init(void);
void netlink_multicast(void); void netlink_multicast(void);
#endif #endif
/* bpf.c */ /* bpf.c */
#ifdef HAVE_BSD_NETWORK #ifdef HAVE_BSD_NETWORK
void init_bpf(void); void init_bpf(void);
void send_via_bpf(struct dhcp_packet *mess, size_t len, void send_via_bpf(struct dhcp_packet *mess, size_t len,
struct in_addr iface_addr, struct ifreq *ifr); struct in_addr iface_addr, struct ifreq *ifr);
void route_init(void); void route_init(void);
void route_sock(void); void route_sock(void);
 End of changes. 3 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)