diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-05-10 20:11:18 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-05-10 20:11:18 +0000 |
commit | 602a2b6481587b7da2594db39151ec9380f276df (patch) | |
tree | cf41933a1abc3dd0a79e1d18146ceaf9ec99f5b7 /avahi-core/socket.h | |
parent | c650dc3616bd6cd55c5ebbe84cf80d7e042aac45 (diff) |
* abstract MTU stuff for packet generation
* unicast response support
* legacy unicast support
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@66 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/socket.h')
-rw-r--r-- | avahi-core/socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avahi-core/socket.h b/avahi-core/socket.h index 4f6c5a3..fe41254 100644 --- a/avahi-core/socket.h +++ b/avahi-core/socket.h @@ -31,8 +31,8 @@ gint avahi_open_socket_ipv4(void); gint avahi_open_socket_ipv6(void); -gint avahi_send_dns_packet_ipv4(gint fd, gint iface, AvahiDnsPacket *p); -gint avahi_send_dns_packet_ipv6(gint fd, gint iface, AvahiDnsPacket *p); +gint avahi_send_dns_packet_ipv4(gint fd, gint iface, AvahiDnsPacket *p, const AvahiIPv4Address *a, guint16 port); +gint avahi_send_dns_packet_ipv6(gint fd, gint iface, AvahiDnsPacket *p, const AvahiIPv6Address *a, guint16 port); AvahiDnsPacket *avahi_recv_dns_packet_ipv4(gint fd, struct sockaddr_in*ret_sa, gint *ret_iface, guint8 *ret_ttl); AvahiDnsPacket *avahi_recv_dns_packet_ipv6(gint fd, struct sockaddr_in6*ret_sa, gint *ret_iface, guint8 *ret_ttl); |