~ubuntu-branches/ubuntu/lucid/quagga/lucid-security

« back to all changes in this revision

Viewing changes to lib/sockopt.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-05-05 19:21:02 UTC
  • mfrom: (17.1.15 sid)
  • Revision ID: package-import@ubuntu.com-20120505192102-vhdjnud7ast901mj
Tags: 0.99.20.1-0ubuntu0.10.04.2
* SECURITY UPDATE: Update to 0.99.20.1 to fix multiple security issues.
  (LP: #994169)
  - Denial of service via short Link State Update packet
  - Denial of service via short network-LSA link-state advertisement
  - Denial of service via malformed Four-octet AS Number Capability
  - CVE-2012-0249
  - CVE-2012-0250
  - CVE-2012-0255
* debian/control, debian/rules: Remove quagga-dbg package for Lucid.
* debian/rules: don't use autotools_dev for Lucid.
* debian/patches/99_bgpd-fix-memory-leak-for-extra-attributes.diff:
  added fix for a bgpd memory leak related to extra attributes. Thanks to
  Debian for the regression fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
  (((af) == AF_INET) : SOPT_SIZE_CMSG_IFINDEX_IPV4() \
83
83
                    ? SOPT_SIZE_CMSG_PKTINFO_IPV6())
84
84
 
85
 
extern int setsockopt_multicast_ipv4(int sock, int optname, 
86
 
                                     struct in_addr if_addr
87
 
                                         /* required: interface to join on */,
 
85
extern int setsockopt_ipv4_multicast_if(int sock,
 
86
                                     unsigned int ifindex);
 
87
extern int setsockopt_ipv4_multicast(int sock, int optname,
88
88
                                     unsigned int mcast_addr,
89
 
                                     unsigned int ifindex
90
 
                                         /* optional: if non-zero, may be used
91
 
                                                instead of if_addr */);
 
89
                                     unsigned int ifindex);
92
90
extern int setsockopt_ipv4_tos(int sock, int tos);
93
91
 
94
92
/* Ask for, and get, ifindex, by whatever method is supported. */