Lines Matching refs:elp_packet
255 struct batadv_elp_packet *elp_packet; in batadv_v_elp_periodic_work() local
281 elp_packet = (struct batadv_elp_packet *)skb->data; in batadv_v_elp_periodic_work()
282 elp_packet->seqno = htonl(atomic_read(&hard_iface->bat_v.elp_seqno)); in batadv_v_elp_periodic_work()
284 elp_packet->elp_interval = htonl(elp_interval); in batadv_v_elp_periodic_work()
344 struct batadv_elp_packet *elp_packet; in batadv_v_elp_iface_enable() local
358 elp_packet = (struct batadv_elp_packet *)elp_buff; in batadv_v_elp_iface_enable()
360 elp_packet->packet_type = BATADV_ELP; in batadv_v_elp_iface_enable()
361 elp_packet->version = BATADV_COMPAT_VERSION; in batadv_v_elp_iface_enable()
406 struct batadv_elp_packet *elp_packet; in batadv_v_elp_iface_activate() local
413 elp_packet = (struct batadv_elp_packet *)skb->data; in batadv_v_elp_iface_activate()
414 ether_addr_copy(elp_packet->orig, in batadv_v_elp_iface_activate()
451 struct batadv_elp_packet *elp_packet) in batadv_v_elp_neigh_update() argument
460 orig_neigh = batadv_v_ogm_orig_get(bat_priv, elp_packet->orig); in batadv_v_elp_neigh_update()
474 seqno_diff = ntohl(elp_packet->seqno) - elp_latest_seqno; in batadv_v_elp_neigh_update()
484 hardif_neigh->bat_v.elp_latest_seqno = ntohl(elp_packet->seqno); in batadv_v_elp_neigh_update()
485 hardif_neigh->bat_v.elp_interval = ntohl(elp_packet->elp_interval); in batadv_v_elp_neigh_update()
510 struct batadv_elp_packet *elp_packet; in batadv_v_elp_packet_recv() local
529 elp_packet = (struct batadv_elp_packet *)skb->data; in batadv_v_elp_packet_recv()
533 ethhdr->h_source, ntohl(elp_packet->seqno), in batadv_v_elp_packet_recv()
534 elp_packet->orig); in batadv_v_elp_packet_recv()
541 elp_packet); in batadv_v_elp_packet_recv()