~ubuntu-branches/ubuntu/precise/network-manager/precise

« back to all changes in this revision

Viewing changes to src/nm-netlink-utils.h

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2012-02-16 16:01:07 UTC
  • mfrom: (1.1.54)
  • Revision ID: package-import@ubuntu.com-20120216160107-wdxf1ysnf4tl0iwd
Tags: 0.9.2.0+git201202161854.8572ecf-0ubuntu1
* upstream snapshot 2012-02-16 18:54:47 (GMT)
  + 8572ecfd7cc823097ff80de54ed6d7e17059c4fb
* debian/patches/nl3-default-ip6-route.patch: refreshed.
* debian/patches/manage-privacy-extensions.patch: allow NM to manage privacy
  extensions on a per-connection basis.
* debian/libnm-util2.symbols: add/update symbols:
  + nm_setting_ip6_config_get_enable_ip6_privacy@Base
  + nm_setting_802_1x_ck_format_get_type@Base
  + nm_setting_802_1x_ck_scheme_get_type@Base
  + nm_setting_bond_add_option@Base
  + nm_setting_bond_get_num_options@Base
  + nm_setting_bond_get_option@Base
  + nm_setting_bond_get_option_by_name@Base
  + nm_setting_bond_remove_option@Base
  + nm_setting_compare_flags_get_type@Base
  + nm_setting_diff_result_get_type@Base
  + nm_setting_gsm_network_band_get_type@Base
  + nm_setting_gsm_network_type_get_type@Base
  + nm_setting_hash_flags_get_type@Base
  + nm_setting_secret_flags_get_type@Base
  + nm_utils_security_type_get_type@Base
  + nm_wep_key_type_get_type@Base
* debian/libnm-glib4.symbols: add new symbols:
  + nm_client_permission_get_type@Base
  + nm_client_permission_result_get_type@Base
  + nm_secret_agent_get_secrets_flags_get_type@Base
  + nm_wimax_nsp_network_type_get_type@Base
* debian/patches/add_sendsigs_omissions.patch: move NM pid files for dhclient
  and dnsmasq (and also dhcpcd and named if they were used) to the
  /run/sendsigs.omit.d directory and with a slightly different name. This
  will let us skip over those processes as shutdown since they will be killed
  by NetworkManager when its upstart job stops. (LP: #869635)
* debian/rules: re-enable tests; run them inside dbus-test-runner.
* debian/control: Build-Depends on dbus-test-runner for tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <glib.h>
25
25
#include <netlink/route/rtnl.h>
26
26
#include <netlink/route/route.h>
 
27
#include <netinet/in.h>
27
28
 
28
29
gboolean nm_netlink_find_address (int ifindex,
29
30
                                  int family,
43
44
                                          int mss,
44
45
                                          ...) __attribute__((__sentinel__));
45
46
 
46
 
int nm_netlink_route_add (struct rtnl_route *route,
47
 
                          int family,
48
 
                          const void * dst, /* struct in_addr or struct in6_addr */
 
47
int nm_netlink_route4_add (struct rtnl_route *route,
 
48
                           guint32 *dst,
 
49
                           int prefix,
 
50
                           guint32 *gw,
 
51
                           int flags);
 
52
 
 
53
int nm_netlink_route6_add (struct rtnl_route *route,
 
54
                          const struct in6_addr *dst,
49
55
                          int prefix,
50
 
                          const void * gw, /* struct in_addr or struct in6_addr */
 
56
                          const struct in6_addr *gw,
51
57
                          int flags);
52
58
 
53
59
gboolean nm_netlink_route_delete (struct rtnl_route *route);