Home
last modified time | relevance | path

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

/linux/net/batman-adv/
H A Dmesh-interface.c170 struct net_device *mesh_iface) in batadv_interface_tx() argument
173 struct batadv_priv *bat_priv = netdev_priv(mesh_iface); in batadv_interface_tx()
201 netif_trans_update(mesh_iface); in batadv_interface_tx()
238 client_added = batadv_tt_local_add(mesh_iface, ethhdr->h_source, in batadv_interface_tx()
404 void batadv_interface_rx(struct net_device *mesh_iface, in batadv_interface_rx() argument
409 struct batadv_priv *bat_priv = netdev_priv(mesh_iface); in batadv_interface_rx()
450 skb->protocol = eth_type_trans(skb, mesh_iface); in batadv_interface_rx()
580 batadv_tt_local_add(bat_priv->mesh_iface, in batadv_meshif_create_vlan()
581 bat_priv->mesh_iface->dev_addr, vid, in batadv_meshif_create_vlan()
601 batadv_tt_local_remove(bat_priv, bat_priv->mesh_iface->dev_addr, in batadv_meshif_destroy_vlan()
[all …]
H A Dmain.c158 int batadv_mesh_init(struct net_device *mesh_iface) in batadv_mesh_init() argument
160 struct batadv_priv *bat_priv = netdev_priv(mesh_iface); in batadv_mesh_init()
259 void batadv_mesh_free(struct net_device *mesh_iface) in batadv_mesh_free() argument
261 struct batadv_priv *bat_priv = netdev_priv(mesh_iface); in batadv_mesh_free()
312 netdev_for_each_lower_private_rcu(bat_priv->mesh_iface, hard_iface, iter) { in batadv_is_my_mac()
453 if (!hard_iface->mesh_iface) in batadv_batman_skb_recv()
456 bat_priv = netdev_priv(hard_iface->mesh_iface); in batadv_batman_skb_recv()
658 bat_kobj = &bat_priv->mesh_iface->dev.kobj; in batadv_throw_uevent()
H A Dtranslation-table.h19 bool batadv_tt_local_add(struct net_device *mesh_iface, const u8 *addr,
48 void batadv_tt_local_resize_to_mtu(struct net_device *mesh_iface);
H A Drouting.c394 struct batadv_priv *bat_priv = netdev_priv(recv_if->mesh_iface); in batadv_recv_icmp_packet()
712 struct batadv_priv *bat_priv = netdev_priv(recv_if->mesh_iface); in batadv_route_unicast_packet()
965 struct batadv_priv *bat_priv = netdev_priv(recv_if->mesh_iface); in batadv_recv_unhandled_unicast_packet()
994 struct batadv_priv *bat_priv = netdev_priv(recv_if->mesh_iface); in batadv_recv_unicast_packet()
1068 batadv_interface_rx(recv_if->mesh_iface, skb, hdr_size, in batadv_recv_unicast_packet()
1098 struct batadv_priv *bat_priv = netdev_priv(recv_if->mesh_iface); in batadv_recv_unicast_tvlv()
1154 struct batadv_priv *bat_priv = netdev_priv(recv_if->mesh_iface); in batadv_recv_frag_packet()
1215 struct batadv_priv *bat_priv = netdev_priv(recv_if->mesh_iface); in batadv_recv_bcast_packet()
1311 batadv_interface_rx(recv_if->mesh_iface, skb, hdr_size, orig_node); in batadv_recv_bcast_packet()
1342 struct batadv_priv *bat_priv = netdev_priv(recv_if->mesh_iface); in batadv_recv_mcast_packet()
[all …]
H A Dgateway_client.c509 struct net_device *mesh_iface; in batadv_gw_dump() local
513 mesh_iface = batadv_netlink_get_meshif(cb); in batadv_gw_dump()
514 if (IS_ERR(mesh_iface)) in batadv_gw_dump()
515 return PTR_ERR(mesh_iface); in batadv_gw_dump()
517 bat_priv = netdev_priv(mesh_iface); in batadv_gw_dump()
536 dev_put(mesh_iface); in batadv_gw_dump()
H A Ddistributed-arp-table.c948 struct net_device *mesh_iface; in batadv_dat_cache_dump() local
955 mesh_iface = batadv_netlink_get_meshif(cb); in batadv_dat_cache_dump()
956 if (IS_ERR(mesh_iface)) in batadv_dat_cache_dump()
957 return PTR_ERR(mesh_iface); in batadv_dat_cache_dump()
959 bat_priv = netdev_priv(mesh_iface); in batadv_dat_cache_dump()
985 dev_put(mesh_iface); in batadv_dat_cache_dump()
1114 skb = arp_create(ARPOP_REPLY, ETH_P_ARP, ip_dst, bat_priv->mesh_iface, in batadv_dat_arp_create_reply()
1147 struct net_device *mesh_iface = bat_priv->mesh_iface; in batadv_dat_snoop_outgoing_arp_request() local
1210 skb_new->protocol = eth_type_trans(skb_new, mesh_iface); in batadv_dat_snoop_outgoing_arp_request()
H A Dtrace.h37 __string(device, bat_priv->mesh_iface->name)