• Home
  • Raw
  • Download

Lines Matching refs:hard_iface

45 static void batadv_v_iface_activate(struct batadv_hard_iface *hard_iface)  in batadv_v_iface_activate()  argument
47 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_activate()
53 batadv_v_elp_iface_activate(primary_if, hard_iface); in batadv_v_iface_activate()
61 if (hard_iface->if_status == BATADV_IF_TO_BE_ACTIVATED) in batadv_v_iface_activate()
62 hard_iface->if_status = BATADV_IF_ACTIVE; in batadv_v_iface_activate()
65 static int batadv_v_iface_enable(struct batadv_hard_iface *hard_iface) in batadv_v_iface_enable() argument
69 ret = batadv_v_elp_iface_enable(hard_iface); in batadv_v_iface_enable()
73 ret = batadv_v_ogm_iface_enable(hard_iface); in batadv_v_iface_enable()
75 batadv_v_elp_iface_disable(hard_iface); in batadv_v_iface_enable()
80 static void batadv_v_iface_disable(struct batadv_hard_iface *hard_iface) in batadv_v_iface_disable() argument
82 batadv_v_ogm_iface_disable(hard_iface); in batadv_v_iface_disable()
83 batadv_v_elp_iface_disable(hard_iface); in batadv_v_iface_disable()
86 static void batadv_v_primary_iface_set(struct batadv_hard_iface *hard_iface) in batadv_v_primary_iface_set() argument
88 batadv_v_elp_primary_iface_set(hard_iface); in batadv_v_primary_iface_set()
89 batadv_v_ogm_primary_iface_set(hard_iface); in batadv_v_primary_iface_set()
99 static void batadv_v_iface_update_mac(struct batadv_hard_iface *hard_iface) in batadv_v_iface_update_mac() argument
101 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_update_mac()
105 if (primary_if != hard_iface) in batadv_v_iface_update_mac()
108 batadv_v_primary_iface_set(hard_iface); in batadv_v_iface_update_mac()
184 struct batadv_hard_iface *hard_iface; in batadv_v_neigh_print() local
191 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) { in batadv_v_neigh_print()
192 if (hard_iface->soft_iface != net_dev) in batadv_v_neigh_print()
196 &hard_iface->neigh_list, list) { in batadv_v_neigh_print()
268 struct batadv_hard_iface *hard_iface, in batadv_v_neigh_dump_hardif() argument
275 &hard_iface->neigh_list, list) { in batadv_v_neigh_dump_hardif()
302 struct batadv_hard_iface *hard_iface; in batadv_v_neigh_dump() local
318 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) { in batadv_v_neigh_dump()
319 if (hard_iface->soft_iface != bat_priv->soft_iface) in batadv_v_neigh_dump()
327 bat_priv, hard_iface, in batadv_v_neigh_dump()
1078 void batadv_v_hardif_init(struct batadv_hard_iface *hard_iface) in batadv_v_hardif_init() argument
1083 atomic_set(&hard_iface->bat_v.throughput_override, 0); in batadv_v_hardif_init()
1084 atomic_set(&hard_iface->bat_v.elp_interval, 500); in batadv_v_hardif_init()
1086 hard_iface->bat_v.aggr_len = 0; in batadv_v_hardif_init()
1087 skb_queue_head_init(&hard_iface->bat_v.aggr_list); in batadv_v_hardif_init()
1088 INIT_DELAYED_WORK(&hard_iface->bat_v.aggr_wq, in batadv_v_hardif_init()