Home
last modified time | relevance | path

Searched refs:gw_mode (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/Documentation/ABI/testing/
Dsysfs-class-net-mesh38 node if gw_mode was set to 'server'.
40 What: /sys/class/net/<mesh_iface>/mesh/gw_mode
52 to choose a gateway if gw_mode was set to 'client'.
/linux-3.4.99/net/batman-adv/
Dbat_sysfs.c294 switch (atomic_read(&bat_priv->gw_mode)) { in show_gw_mode()
338 if (atomic_read(&bat_priv->gw_mode) == gw_mode_tmp) in store_gw_mode()
341 switch (atomic_read(&bat_priv->gw_mode)) { in store_gw_mode()
357 atomic_set(&bat_priv->gw_mode, (unsigned)gw_mode_tmp); in store_gw_mode()
393 static BAT_ATTR(gw_mode, S_IRUGO | S_IWUSR, show_gw_mode, store_gw_mode);
Dsoft-interface.c604 switch (atomic_read(&bat_priv->gw_mode)) { in interface_tx()
658 if (atomic_read(&bat_priv->gw_mode) != GW_MODE_OFF) { in interface_tx()
833 atomic_set(&bat_priv->gw_mode, GW_MODE_OFF); in softif_create()
Dgateway_client.c197 if (atomic_read(&bat_priv->gw_mode) != GW_MODE_CLIENT) in gw_election()
663 switch (atomic_read(&bat_priv->gw_mode)) { in gw_out_of_range()
Dtypes.h152 atomic_t gw_mode; /* GW_MODE_* */ member
Dbat_iv_ogm.c556 (atomic_read(&bat_priv->gw_mode) == GW_MODE_SERVER)) in bat_iv_ogm_schedule()
700 (atomic_read(&bat_priv->gw_mode) == GW_MODE_CLIENT) && in bat_iv_ogm_orig_update()
/linux-3.4.99/Documentation/networking/
Dbatman-adv.txt73 # bonding gw_mode orig_interval