~ubuntu-branches/ubuntu/karmic/conntrack/karmic

« back to all changes in this revision

Viewing changes to include/mcast.h

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2009-06-18 18:27:31 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090618182731-xlunt56xusrrif92
Tags: 1:0.9.12-1ubuntu1
* Merge from debian unstable (LP: #380358), remaining changes:
  - Error on fwrite failure in src/read_config_lex.c.
  - Patch from Kees Cook to not ignore return value of chdir call.
* debian/copyright: Updated download site.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
                struct in_addr interface_addr;
19
19
                unsigned int interface_index6;
20
20
        } ifa;
21
 
        int mtu;
22
21
        int sndbuf;
23
22
        int rcvbuf;
24
 
        char iface[IFNAMSIZ];
25
23
};
26
24
 
27
25
struct mcast_stats {
46
44
struct mcast_sock *mcast_client_create(struct mcast_conf *conf);
47
45
void mcast_client_destroy(struct mcast_sock *m);
48
46
 
49
 
ssize_t mcast_send(struct mcast_sock *m, void *data, int size);
 
47
ssize_t mcast_send(struct mcast_sock *m, const void *data, int size);
50
48
ssize_t mcast_recv(struct mcast_sock *m, void *data, int size);
51
49
 
52
 
struct mcast_stats *mcast_get_stats(struct mcast_sock *m);
53
 
void mcast_dump_stats(int fd, struct mcast_sock *s, struct mcast_sock *r);
 
50
int mcast_get_fd(struct mcast_sock *m);
 
51
 
 
52
int mcast_snprintf_stats(char *buf, size_t buflen, char *ifname,
 
53
                         struct mcast_stats *s, struct mcast_stats *r);
 
54
 
 
55
int mcast_snprintf_stats2(char *buf, size_t buflen, const char *ifname,
 
56
                          const char *status, int active,
 
57
                          struct mcast_stats *s, struct mcast_stats *r);
54
58
 
55
59
#endif