batadv_ogm_packet 221 include/uapi/linux/batadv_packet.h #define BATADV_OGM_HLEN sizeof(struct batadv_ogm_packet) batadv_ogm_packet 194 net/batman-adv/bat_iv_ogm.c struct batadv_ogm_packet *batadv_ogm_packet; batadv_ogm_packet 213 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet = (struct batadv_ogm_packet *)ogm_buff; batadv_ogm_packet 214 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->packet_type = BATADV_IV_OGM; batadv_ogm_packet 215 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->version = BATADV_COMPAT_VERSION; batadv_ogm_packet 216 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->ttl = 2; batadv_ogm_packet 217 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->flags = BATADV_NO_FLAGS; batadv_ogm_packet 218 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->reserved = 0; batadv_ogm_packet 219 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->tq = BATADV_TQ_MAX_VALUE; batadv_ogm_packet 238 net/batman-adv/bat_iv_ogm.c struct batadv_ogm_packet *batadv_ogm_packet; batadv_ogm_packet 247 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet = ogm_buff; batadv_ogm_packet 248 net/batman-adv/bat_iv_ogm.c ether_addr_copy(batadv_ogm_packet->orig, batadv_ogm_packet 250 net/batman-adv/bat_iv_ogm.c ether_addr_copy(batadv_ogm_packet->prev_sender, batadv_ogm_packet 260 net/batman-adv/bat_iv_ogm.c struct batadv_ogm_packet *batadv_ogm_packet; batadv_ogm_packet 269 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet = ogm_buff; batadv_ogm_packet 270 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->ttl = BATADV_TTL; batadv_ogm_packet 316 net/batman-adv/bat_iv_ogm.c const struct batadv_ogm_packet *ogm_packet) batadv_ogm_packet 340 net/batman-adv/bat_iv_ogm.c struct batadv_ogm_packet *batadv_ogm_packet; batadv_ogm_packet 350 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet = (struct batadv_ogm_packet *)packet_pos; batadv_ogm_packet 354 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet)) { batadv_ogm_packet 360 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->flags |= BATADV_DIRECTLINK; batadv_ogm_packet 362 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->flags &= ~BATADV_DIRECTLINK; batadv_ogm_packet 372 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->orig, batadv_ogm_packet 373 net/batman-adv/bat_iv_ogm.c ntohl(batadv_ogm_packet->seqno), batadv_ogm_packet 374 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->tq, batadv_ogm_packet->ttl, batadv_ogm_packet 375 net/batman-adv/bat_iv_ogm.c ((batadv_ogm_packet->flags & BATADV_DIRECTLINK) ? batadv_ogm_packet 381 net/batman-adv/bat_iv_ogm.c buff_pos += ntohs(batadv_ogm_packet->tvlv_len); batadv_ogm_packet 384 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet = (struct batadv_ogm_packet *)packet_pos; batadv_ogm_packet 437 net/batman-adv/bat_iv_ogm.c batadv_iv_ogm_can_aggregate(const struct batadv_ogm_packet *new_bat_ogm_packet, batadv_ogm_packet 445 net/batman-adv/bat_iv_ogm.c struct batadv_ogm_packet *batadv_ogm_packet; batadv_ogm_packet 451 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet = (struct batadv_ogm_packet *)forw_packet->skb->data; batadv_ogm_packet 489 net/batman-adv/bat_iv_ogm.c !(batadv_ogm_packet->flags & BATADV_DIRECTLINK) && batadv_ogm_packet 490 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->ttl != 1 && batadv_ogm_packet 512 net/batman-adv/bat_iv_ogm.c (batadv_ogm_packet->flags & BATADV_DIRECTLINK || batadv_ogm_packet 630 net/batman-adv/bat_iv_ogm.c struct batadv_ogm_packet *batadv_ogm_packet; batadv_ogm_packet 634 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet = (struct batadv_ogm_packet *)packet_buff; batadv_ogm_packet 635 net/batman-adv/bat_iv_ogm.c direct_link = !!(batadv_ogm_packet->flags & BATADV_DIRECTLINK); batadv_ogm_packet 644 net/batman-adv/bat_iv_ogm.c if (batadv_iv_ogm_can_aggregate(batadv_ogm_packet, batadv_ogm_packet 683 net/batman-adv/bat_iv_ogm.c struct batadv_ogm_packet *batadv_ogm_packet, batadv_ogm_packet 692 net/batman-adv/bat_iv_ogm.c if (batadv_ogm_packet->ttl <= 1) { batadv_ogm_packet 705 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->flags |= BATADV_NOT_BEST_NEXT_HOP; batadv_ogm_packet 710 net/batman-adv/bat_iv_ogm.c tvlv_len = ntohs(batadv_ogm_packet->tvlv_len); batadv_ogm_packet 712 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->ttl--; batadv_ogm_packet 713 net/batman-adv/bat_iv_ogm.c ether_addr_copy(batadv_ogm_packet->prev_sender, ethhdr->h_source); batadv_ogm_packet 716 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->tq = batadv_hop_penalty(batadv_ogm_packet->tq, batadv_ogm_packet 721 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->tq, batadv_ogm_packet->ttl); batadv_ogm_packet 724 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->flags |= BATADV_DIRECTLINK; batadv_ogm_packet 726 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->flags &= ~BATADV_DIRECTLINK; batadv_ogm_packet 728 net/batman-adv/bat_iv_ogm.c batadv_iv_ogm_queue_add(bat_priv, (unsigned char *)batadv_ogm_packet, batadv_ogm_packet 783 net/batman-adv/bat_iv_ogm.c struct batadv_ogm_packet *batadv_ogm_packet; batadv_ogm_packet 817 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet = (struct batadv_ogm_packet *)(*ogm_buff); batadv_ogm_packet 818 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->tvlv_len = htons(tvlv_len); batadv_ogm_packet 822 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->seqno = htonl(seqno); batadv_ogm_packet 919 net/batman-adv/bat_iv_ogm.c const struct batadv_ogm_packet *batadv_ogm_packet, batadv_ogm_packet 999 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->tq); batadv_ogm_packet 1005 net/batman-adv/bat_iv_ogm.c orig_ifinfo->last_ttl = batadv_ogm_packet->ttl; batadv_ogm_packet 1006 net/batman-adv/bat_iv_ogm.c neigh_ifinfo->last_ttl = batadv_ogm_packet->ttl; batadv_ogm_packet 1069 net/batman-adv/bat_iv_ogm.c struct batadv_ogm_packet *batadv_ogm_packet, batadv_ogm_packet 1171 net/batman-adv/bat_iv_ogm.c combined_tq = batadv_ogm_packet->tq * batadv_ogm_packet 1178 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->tq = combined_tq; batadv_ogm_packet 1184 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->tq, if_incoming->net_dev->name, batadv_ogm_packet 1190 net/batman-adv/bat_iv_ogm.c if (batadv_ogm_packet->tq >= BATADV_TQ_TOTAL_BIDRECT_LIMIT) batadv_ogm_packet 1211 net/batman-adv/bat_iv_ogm.c const struct batadv_ogm_packet *batadv_ogm_packet, batadv_ogm_packet 1225 net/batman-adv/bat_iv_ogm.c u32 seqno = ntohl(batadv_ogm_packet->seqno); batadv_ogm_packet 1230 net/batman-adv/bat_iv_ogm.c orig_node = batadv_iv_ogm_orig_get(bat_priv, batadv_ogm_packet->orig); batadv_ogm_packet 1325 net/batman-adv/bat_iv_ogm.c struct batadv_ogm_packet *ogm_packet; batadv_ogm_packet 1343 net/batman-adv/bat_iv_ogm.c ogm_packet = (struct batadv_ogm_packet *)(skb_priv->data + ogm_offset); batadv_ogm_packet 1517 net/batman-adv/bat_iv_ogm.c static void batadv_iv_ogm_process_reply(struct batadv_ogm_packet *ogm_packet, batadv_ogm_packet 1565 net/batman-adv/bat_iv_ogm.c struct batadv_ogm_packet *ogm_packet; batadv_ogm_packet 1573 net/batman-adv/bat_iv_ogm.c ogm_packet = (struct batadv_ogm_packet *)(skb->data + ogm_offset); batadv_ogm_packet 1735 net/batman-adv/bat_iv_ogm.c struct batadv_ogm_packet *ogm_packet; batadv_ogm_packet 1756 net/batman-adv/bat_iv_ogm.c ogm_packet = (struct batadv_ogm_packet *)skb->data; batadv_ogm_packet 1767 net/batman-adv/bat_iv_ogm.c ogm_packet = (struct batadv_ogm_packet *)packet_pos; batadv_ogm_packet 452 net/batman-adv/main.c struct batadv_ogm_packet *batadv_ogm_packet; batadv_ogm_packet 492 net/batman-adv/main.c batadv_ogm_packet = (struct batadv_ogm_packet *)skb->data; batadv_ogm_packet 494 net/batman-adv/main.c if (batadv_ogm_packet->version != BATADV_COMPAT_VERSION) { batadv_ogm_packet 497 net/batman-adv/main.c batadv_ogm_packet->version); batadv_ogm_packet 504 net/batman-adv/main.c idx = batadv_ogm_packet->packet_type; batadv_ogm_packet 535 net/batman-adv/main.c BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24); batadv_ogm_packet 758 net/batman-adv/network-coding.c struct batadv_ogm_packet *ogm_packet) batadv_ogm_packet 900 net/batman-adv/network-coding.c struct batadv_ogm_packet *ogm_packet, batadv_ogm_packet 27 net/batman-adv/network-coding.h struct batadv_ogm_packet *ogm_packet, batadv_ogm_packet 68 net/batman-adv/network-coding.h struct batadv_ogm_packet *ogm_packet, batadv_ogm_packet 473 net/batman-adv/tvlv.c struct batadv_ogm_packet *batadv_ogm_packet, batadv_ogm_packet 479 net/batman-adv/tvlv.c if (!batadv_ogm_packet) batadv_ogm_packet 482 net/batman-adv/tvlv.c tvlv_value_len = ntohs(batadv_ogm_packet->tvlv_len); batadv_ogm_packet 486 net/batman-adv/tvlv.c tvlv_value = batadv_ogm_packet + 1; batadv_ogm_packet 22 net/batman-adv/tvlv.h struct batadv_ogm_packet *batadv_ogm_packet,