Lines Matching defs:meshhdr
704 * @meshhdr: uninitialized mesh header
714 struct ieee80211s_hdr *meshhdr,
720 memset(meshhdr, 0, sizeof(*meshhdr));
722 meshhdr->ttl = sdata->u.mesh.mshcfg.dot11MeshTTL;
725 put_unaligned(cpu_to_le32(sdata->u.mesh.mesh_seqnum), &meshhdr->seqnum);
729 meshhdr->flags |= MESH_FLAGS_AE_A4;
730 memcpy(meshhdr->eaddr1, addr4or5, ETH_ALEN);
733 meshhdr->flags |= MESH_FLAGS_AE_A5_A6;
734 memcpy(meshhdr->eaddr1, addr4or5, ETH_ALEN);
735 memcpy(meshhdr->eaddr2, addr6, ETH_ALEN);